SlideShare a Scribd company logo
SQLintersection
The Ultimate Free SQL Server Toolkit
Kevin Kline
kkline@sqlsentry.com
SQL123
Overview
 Relational Engine Tools
 Security
 Administration
 Transact-SQL
 Testing
 Performance
 DTS/SSIS/SQLAgent
 Analysis Services Tools
 Non-SQL Server Tools too good to miss
Freebies!
 Free new ebooks (regularly $10) to all requests to sales@sqlsentry.com:
© SQLintersection. All rights reserved.
http://www.SQLintersection.com
Query Tuning
 Free Plan Explorer download: http://www.sqlsentry.com/plan-explorer/
4
General Security –
Because there is no patch for stupid
 Bookmark it! http://www.sqlsecurity.com
 SQLPing 3.0: discover all SQL Servers.
 Lockdown.sql: locks down rarely used functionality/security holes, while not
breaking common features.
 Microsoft Baseline Security Analyzer:
 Perform a security assessment of your Windows Servers.
 Latest version, Jan 2015, is at http://bit.ly/1IJ6bkg.
 Resource Center, with lots of sample scripts, available at http://bit.ly/1PTBiIT.
 Don’t let security be an afterthought
Ultimate Free SQL Server Toolkit
SQL Injection – ever heard of locking the door?
 URL Scan v3.1: http://bit.ly/1Pv4uL6
 Can filter requests based on query strings to help mitigate SQL injection and
other attacks which use a query string payload.
 The ability to created custom rules that scan parts of your HTTP requests.
 Code Analysis Tool for .NET: http://bit.ly/1cMPUNg
 A command-line that tool helps you identify security flaws within a managed
code (C#, Visual Basic .NET, J#) application you are developing
 Scans the binary and/or assembly of the application, and tracing the data flow
among its statements, methods, and assemblies.
 Two cool tools (HP Scrawlr and Microsoft Source Code Analyzer for SQL
Injection) have gone extinct.
Ultimate Free SQL Server Toolkit
Monitoring
– WHASSUP?!?
Monitoring & Troubleshooting
 SP_WhoIsActive, http://bit.ly/1zgEZpT:
 My favorite for finding out user activity. And it now supports Azure!
 Brent’s Blitz, http://www.brentozar.com/blitz/:
 My favorite for SQL Server health check.
 Performance Analysis of Logs (PAL), https://pal.codeplex.com/:
 A rich set of collectors and GUIs to assess performance across many servers.
Good for Windows, SQL Server, and other products like Exchange.
 Internals Viewer, http://internalsviewer.codeplex.com :
 see how data is written at the 8k page level
Monitoring & Troubleshooting
 SP_WHOISACTIVE,
http://sqlblog.com/files/folders/beta/entry42453.aspx:
 My favorite for finding out user activity. And it now supports Azure!
 Brent’s Blitz, http://www.brentozar.com/blitz/:
 My favorite for SQL Server health check.
 Performance Analysis of Logs (PAL), https://pal.codeplex.com/:
 A rich set of collectors and GUIs to assess performance across many servers.
Good for Windows, SQL Server, and other products like Exchange.
 Internals Viewer: see how data is written at the 8k page level,
http://internalsviewer.codeplex.com
Administration – Suite! Er, sweet!
 SSMS Tools Pack: http://www.ssmstoolspack.com/
 a snap-in that enhances SSMS with CRUD procedure generation, T-SQL
formatted, generated CRUD stored procedures, and much more,
 SQLPSX: http://sqlpsx.codeplex.com
 A boatload of security management PowerShell scripts for SQL Server
 Finebuild: https://sqlserverfinebuild.codeplex.com/
 Makes it easy for anyone to produce a best-practice installation and
configuration of SQL Server.
 SQL Server Migration Assistants:
 Ready to move off of Oracle, Sybase, or Access? http://tinyurl.com/yht5yon
 The 80/20 principle in action.
Administration – mo betta
 Microsoft Assessment & Planning Toolkit (MAP):
http://www.microsoft.com/MAP
 Discovers SQL Servers and takes a full inventory of your estate.
 Great for migration planning and consolidation projects.
 Infrastructure Planning and Design Guide: a Microsoft checklist and decision
tree, http://www.microsoft.com/IPD
 Best Practice Analyser: http://bit.ly/1FxcvdS
 Checks your SQL2012 database for potential performance and configuration
issues.
 Determines if the configurations are set according to the recommended best
practices. Reports when they’re different from Microsoft’s recommendation.
 Recommends some solutions. SOME!
Administration – mo betta
 Microsoft Assessment & Planning Toolkit (MAP):
http://www.microsoft.com/MAP
 Discovers SQL Servers and takes a full inventory of your estate.
 Great for migration planning and consolidation projects.
 Infrastructure Planning and Design Guide: a Microsoft checklist and decision
tree, http://www.microsoft.com/IPD
 Best Practice Analyser: http://bit.ly/1FxcvdS
 Checks your SQL2012 database for potential performance and configuration
issues.
 Determines if the configurations are set according to the recommended best
practices. Reports when they’re different from Microsoft’s recommendation.
 Recommends some solutions. SOME!
Admin Preventative Maintenance Scripting – Joke:
How do you eat an elephant? Punchline…
 AbaPerls, http://tinyurl.com/yez6sq7:
 Automate and manage configurations & schema objects and builds,
 OlaHallengren, http://tinyurl.com/ya72ll6:
 A great collection of PM scripts from Ola Hallengren.
 Microsoft Product Sample Scripts:
 Great scripts for alerts and event notification from Microsoft,
http://tinyurl.com/y8aktck
 DBMinion, http://www.midnightsql.com/minion/:
 Similar features to Ola Hallengren’s script, but more flexible (and complex).
 Best preventative maintenance solution in very large estates.
Testing
Testing
 tSQLt, http://tsqlt.ogr/:
 a unit testing tool for Transact-SQL code
 Diskspd, https://github.com/microsoft/diskspd:
 An IO workload simulator to test disk IO capabilities.
 Successor to SQLIO and SQLIOSim.
 SQLQueryStress, http://tinyurl.com/ydm55yl:
 Stress test your queries to see how far they can scale
 HammerDB, http://hammerdb.com/:
 Run highly scalable TPC-C and TPC-H against your database servers.
Testing
 tSQLt, http://tsqlt.ogr/:
 a unit testing tool for Transact-SQL code
 Diskspd, https://github.com/microsoft/diskspd:
 An IO workload simulator to test disk IO capabilities.
 Successor to SQLIO and SQLIOSim.
 SQLQueryStress, http://tinyurl.com/ydm55yl:
 Stress test your queries to see how far they can scale
 HammerDB, http://hammerdb.com/:
 Run highly scalable TPC-C and TPC-H against your database servers.
SSIS and SQLAgent – let automation do the heavy
lifting
 DTLoggedExec:
 Makes logging SSIS inside packages fast & easy while providing lots of
performance info, http://dtloggedexec.codeplex.com/
 SSISUnit:
 A declarative testing tool based on Xunit tailored to SSIS environments,
http://ssisunit.codeplex.com/
 cspJobMonitor:
 Track the activity of all your SQLAgent, http://tinyurl.com/ybvupzg
 BIDS Helper and BIML:
 Visual Studio add-in with oodles of extra features to augment BIDS, IS, and RS,
http://www.codeplex.com/bidshelper/
Analysis Services – because we really needed yet one
more way to write SQL queries
 Reporting Services Scripter:
 move reports easily between servers, http://tinyurl.com/ylshp44
 RSBuild:
 executes scripts, publish reports RS & data sources,
http://rsbuild.codeplex.com
 Analysis Services Product Samples:
 loads of cool tools including backup & recovery, activity viewer, tracing, AMO
browser, and Data Mining WebControls,
http://msftasprodsamples.codeplex.com/
 Also available, IS, RS samples
 MDX Performance Analyser:
 collects metrics on your MDX queries,
http://www.codeplex.com/mdxscriptperf
Non-SQL Server Tools
Non-SQL Server Tools
 PowerGUI: http://www.powergui.org
 Don’t want to learn PowerShell? Use this free GUI tool and it’s huge library of
pre-built scripts.
 Scriptomatic:
 Don’t want to learn WMI? Use this free tool instead,
http://tinyurl.com/yguku2y
 Log Parser:
 Read just about any data source from XML to the Event Log to the Registry,
http://tinyurl.com/58uxe
 mRemote:
 manage all your remote connections from one GUI, http://www.mremote.org/
Summary
 Don’t reinvent the wheel! Reuse what’s available.
 Free script-based tools are usually better maintained than Free GUI
tools.
 Microsoft’s versions and release cycle are the biggest issue with free tools
 Remember – you get what you pay for; free tools are free after all
Resources
 http://tinyurl.com/ylauses
 My long-running SQLMag Tool Time column.
 http://www.codeplex.com
 A fantastic collection of Microsoft-centric tools, including many for SQL Server
tools, free to registered members
 http://www.sourceforge.com
 Free tools from a large, independent open source community
 http://thisindexed.com
 Great images by Jessica Hagy
Don’t forget to complete an online evaluation on EventBoard!
Your evaluation helps organizers build better conferences
and helps speakers improve their sessions.
Questions?
Thank you!
The Ultimate Free SQL Server Toolkit
Kevin Kline, @KEKline, kkline@sqlsentry.com

More Related Content

What's hot (20)

PDF
operating system structure
Waseem Ud Din Farooqui
 
PDF
MS-SQL SERVER ARCHITECTURE
Douglas Bernardini
 
PPTX
DBMS Bascis
Venkata Ramireddy Chirra
 
PPTX
Resource Monitoring
Preethamms
 
PPTX
DBaaS - The Next generation of database infrastructure
Emiliano Fusaglia
 
PPTX
Understanding the Windows Server Administration Fundamentals (Part-2)
Tuan Yang
 
PPT
Database systems
Dhani Ahmad
 
PPTX
SQL Server Database Backup and Restore Plan
Hamid J. Fard
 
PPT
Oracle backup and recovery
Yogiji Creations
 
PPTX
Oracle database performance tuning
Yogiji Creations
 
PDF
Microsoft SQL Server Query Tuning
Mark Ginnebaugh
 
PPTX
Oracle Tablespace - Basic
Eryk Budi Pratama
 
PPTX
Presentación cmd
Fredy Sarmesi
 
PDF
SQLServer Database Structures
Antonios Chatzipavlis
 
PPTX
Mapping Data Flows Training deck Q1 CY22
Mark Kromer
 
PPT
Tutorial on Parallel Computing and Message Passing Model - C1
Marcirio Chaves
 
PPTX
file system in operating system
tittuajay
 
PPTX
Structure of operating system
GayathriS578276
 
PPTX
Introduction to database & sql
zahid6
 
ODP
Introduction to Structured Streaming
Knoldus Inc.
 
operating system structure
Waseem Ud Din Farooqui
 
MS-SQL SERVER ARCHITECTURE
Douglas Bernardini
 
Resource Monitoring
Preethamms
 
DBaaS - The Next generation of database infrastructure
Emiliano Fusaglia
 
Understanding the Windows Server Administration Fundamentals (Part-2)
Tuan Yang
 
Database systems
Dhani Ahmad
 
SQL Server Database Backup and Restore Plan
Hamid J. Fard
 
Oracle backup and recovery
Yogiji Creations
 
Oracle database performance tuning
Yogiji Creations
 
Microsoft SQL Server Query Tuning
Mark Ginnebaugh
 
Oracle Tablespace - Basic
Eryk Budi Pratama
 
Presentación cmd
Fredy Sarmesi
 
SQLServer Database Structures
Antonios Chatzipavlis
 
Mapping Data Flows Training deck Q1 CY22
Mark Kromer
 
Tutorial on Parallel Computing and Message Passing Model - C1
Marcirio Chaves
 
file system in operating system
tittuajay
 
Structure of operating system
GayathriS578276
 
Introduction to database & sql
zahid6
 
Introduction to Structured Streaming
Knoldus Inc.
 

Viewers also liked (12)

PPTX
Top 10 DBA Mistakes on Microsoft SQL Server
Kevin Kline
 
PPTX
Reduce latency and boost sql server io performance
Kevin Kline
 
PPTX
Understanding and preventing sql injection attacks
Kevin Kline
 
PPTX
Convince me – persuasion techniques that get things done
Kevin Kline
 
PPTX
Who wants to be a DBA? Roles and Responsibilities
Kevin Kline
 
PPTX
The Great American Novel? TL;DR Writing for Web and Social in the Age of Brevity
Jeffrey Stevens
 
PDF
The Presentation Come-Back Kid
Ethos3
 
PPTX
The Art of the Presentation
Jeffrey Stevens
 
PDF
10 Ways Your Boss Kills Employee Motivation
Officevibe
 
PDF
10 Things your Audience Hates About your Presentation
Stinson
 
PDF
The Physical Interface
Josh Clark
 
PDF
Build Features, Not Apps
Natasha Murashev
 
Top 10 DBA Mistakes on Microsoft SQL Server
Kevin Kline
 
Reduce latency and boost sql server io performance
Kevin Kline
 
Understanding and preventing sql injection attacks
Kevin Kline
 
Convince me – persuasion techniques that get things done
Kevin Kline
 
Who wants to be a DBA? Roles and Responsibilities
Kevin Kline
 
The Great American Novel? TL;DR Writing for Web and Social in the Age of Brevity
Jeffrey Stevens
 
The Presentation Come-Back Kid
Ethos3
 
The Art of the Presentation
Jeffrey Stevens
 
10 Ways Your Boss Kills Employee Motivation
Officevibe
 
10 Things your Audience Hates About your Presentation
Stinson
 
The Physical Interface
Josh Clark
 
Build Features, Not Apps
Natasha Murashev
 
Ad

Similar to Ultimate Free SQL Server Toolkit (20)

PPTX
SQL Explore 2012: P&T Part 1
sqlserver.co.il
 
PDF
SQL Server Integration Services – Enterprise Manageability
Dan English
 
PPTX
SQL Server Tips & Tricks
Ike Ellis
 
PPTX
Demo first slide
James Wang
 
DOCX
Sql server 2008 r2 performance and scale
Klaudiia Jacome
 
PPT
Sql Server Performance Tuning
Bala Subra
 
PDF
Back2 Basic Tools
sqlserver.co.il
 
PDF
Back 2 basics - SSMS Tips (IDf)
sqlserver.co.il
 
PDF
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
PPTX
6232 b 01
stamal
 
PDF
Remote DBA Experts SQL Server 2008 New Features
Remote DBA Experts
 
PPTX
Tips & Tricks SQL in the City Seattle 2014
Ike Ellis
 
PDF
How to manage and monitor large sql server estates
Red Gate Software
 
PPTX
Geek Sync I CSI for SQL: Learn to be a SQL Sleuth
IDERA Software
 
PPTX
Business Intelligence Portfolio
pleeloy
 
PPTX
Swiss pass chapter deck - zurich - april 2011
Charley Hanania
 
PPTX
Sql server-performance-hafi
zabi-babi
 
PPTX
Infrastructure Planning and Design
Sergi Duró
 
PPT
Saying goodbye to SQL Server 2000
ukdpe
 
PPT
Sql server performance tuning
ngupt28
 
SQL Explore 2012: P&T Part 1
sqlserver.co.il
 
SQL Server Integration Services – Enterprise Manageability
Dan English
 
SQL Server Tips & Tricks
Ike Ellis
 
Demo first slide
James Wang
 
Sql server 2008 r2 performance and scale
Klaudiia Jacome
 
Sql Server Performance Tuning
Bala Subra
 
Back2 Basic Tools
sqlserver.co.il
 
Back 2 basics - SSMS Tips (IDf)
sqlserver.co.il
 
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
6232 b 01
stamal
 
Remote DBA Experts SQL Server 2008 New Features
Remote DBA Experts
 
Tips & Tricks SQL in the City Seattle 2014
Ike Ellis
 
How to manage and monitor large sql server estates
Red Gate Software
 
Geek Sync I CSI for SQL: Learn to be a SQL Sleuth
IDERA Software
 
Business Intelligence Portfolio
pleeloy
 
Swiss pass chapter deck - zurich - april 2011
Charley Hanania
 
Sql server-performance-hafi
zabi-babi
 
Infrastructure Planning and Design
Sergi Duró
 
Saying goodbye to SQL Server 2000
ukdpe
 
Sql server performance tuning
ngupt28
 
Ad

Recently uploaded (20)

PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
Kubernetes - Architecture & Components.pdf
geethak285
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
Practical Applications of AI in Local Government
OnBoard
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 

Ultimate Free SQL Server Toolkit

  • 1. SQLintersection The Ultimate Free SQL Server Toolkit Kevin Kline [email protected] SQL123
  • 2. Overview  Relational Engine Tools  Security  Administration  Transact-SQL  Testing  Performance  DTS/SSIS/SQLAgent  Analysis Services Tools  Non-SQL Server Tools too good to miss
  • 3. Freebies!  Free new ebooks (regularly $10) to all requests to [email protected]:
  • 4. © SQLintersection. All rights reserved. http://www.SQLintersection.com Query Tuning  Free Plan Explorer download: http://www.sqlsentry.com/plan-explorer/ 4
  • 5. General Security – Because there is no patch for stupid  Bookmark it! http://www.sqlsecurity.com  SQLPing 3.0: discover all SQL Servers.  Lockdown.sql: locks down rarely used functionality/security holes, while not breaking common features.  Microsoft Baseline Security Analyzer:  Perform a security assessment of your Windows Servers.  Latest version, Jan 2015, is at http://bit.ly/1IJ6bkg.  Resource Center, with lots of sample scripts, available at http://bit.ly/1PTBiIT.  Don’t let security be an afterthought
  • 7. SQL Injection – ever heard of locking the door?  URL Scan v3.1: http://bit.ly/1Pv4uL6  Can filter requests based on query strings to help mitigate SQL injection and other attacks which use a query string payload.  The ability to created custom rules that scan parts of your HTTP requests.  Code Analysis Tool for .NET: http://bit.ly/1cMPUNg  A command-line that tool helps you identify security flaws within a managed code (C#, Visual Basic .NET, J#) application you are developing  Scans the binary and/or assembly of the application, and tracing the data flow among its statements, methods, and assemblies.  Two cool tools (HP Scrawlr and Microsoft Source Code Analyzer for SQL Injection) have gone extinct.
  • 10. Monitoring & Troubleshooting  SP_WhoIsActive, http://bit.ly/1zgEZpT:  My favorite for finding out user activity. And it now supports Azure!  Brent’s Blitz, http://www.brentozar.com/blitz/:  My favorite for SQL Server health check.  Performance Analysis of Logs (PAL), https://pal.codeplex.com/:  A rich set of collectors and GUIs to assess performance across many servers. Good for Windows, SQL Server, and other products like Exchange.  Internals Viewer, http://internalsviewer.codeplex.com :  see how data is written at the 8k page level
  • 11. Monitoring & Troubleshooting  SP_WHOISACTIVE, http://sqlblog.com/files/folders/beta/entry42453.aspx:  My favorite for finding out user activity. And it now supports Azure!  Brent’s Blitz, http://www.brentozar.com/blitz/:  My favorite for SQL Server health check.  Performance Analysis of Logs (PAL), https://pal.codeplex.com/:  A rich set of collectors and GUIs to assess performance across many servers. Good for Windows, SQL Server, and other products like Exchange.  Internals Viewer: see how data is written at the 8k page level, http://internalsviewer.codeplex.com
  • 12. Administration – Suite! Er, sweet!  SSMS Tools Pack: http://www.ssmstoolspack.com/  a snap-in that enhances SSMS with CRUD procedure generation, T-SQL formatted, generated CRUD stored procedures, and much more,  SQLPSX: http://sqlpsx.codeplex.com  A boatload of security management PowerShell scripts for SQL Server  Finebuild: https://sqlserverfinebuild.codeplex.com/  Makes it easy for anyone to produce a best-practice installation and configuration of SQL Server.  SQL Server Migration Assistants:  Ready to move off of Oracle, Sybase, or Access? http://tinyurl.com/yht5yon  The 80/20 principle in action.
  • 13. Administration – mo betta  Microsoft Assessment & Planning Toolkit (MAP): http://www.microsoft.com/MAP  Discovers SQL Servers and takes a full inventory of your estate.  Great for migration planning and consolidation projects.  Infrastructure Planning and Design Guide: a Microsoft checklist and decision tree, http://www.microsoft.com/IPD  Best Practice Analyser: http://bit.ly/1FxcvdS  Checks your SQL2012 database for potential performance and configuration issues.  Determines if the configurations are set according to the recommended best practices. Reports when they’re different from Microsoft’s recommendation.  Recommends some solutions. SOME!
  • 14. Administration – mo betta  Microsoft Assessment & Planning Toolkit (MAP): http://www.microsoft.com/MAP  Discovers SQL Servers and takes a full inventory of your estate.  Great for migration planning and consolidation projects.  Infrastructure Planning and Design Guide: a Microsoft checklist and decision tree, http://www.microsoft.com/IPD  Best Practice Analyser: http://bit.ly/1FxcvdS  Checks your SQL2012 database for potential performance and configuration issues.  Determines if the configurations are set according to the recommended best practices. Reports when they’re different from Microsoft’s recommendation.  Recommends some solutions. SOME!
  • 15. Admin Preventative Maintenance Scripting – Joke: How do you eat an elephant? Punchline…  AbaPerls, http://tinyurl.com/yez6sq7:  Automate and manage configurations & schema objects and builds,  OlaHallengren, http://tinyurl.com/ya72ll6:  A great collection of PM scripts from Ola Hallengren.  Microsoft Product Sample Scripts:  Great scripts for alerts and event notification from Microsoft, http://tinyurl.com/y8aktck  DBMinion, http://www.midnightsql.com/minion/:  Similar features to Ola Hallengren’s script, but more flexible (and complex).  Best preventative maintenance solution in very large estates.
  • 17. Testing  tSQLt, http://tsqlt.ogr/:  a unit testing tool for Transact-SQL code  Diskspd, https://github.com/microsoft/diskspd:  An IO workload simulator to test disk IO capabilities.  Successor to SQLIO and SQLIOSim.  SQLQueryStress, http://tinyurl.com/ydm55yl:  Stress test your queries to see how far they can scale  HammerDB, http://hammerdb.com/:  Run highly scalable TPC-C and TPC-H against your database servers.
  • 18. Testing  tSQLt, http://tsqlt.ogr/:  a unit testing tool for Transact-SQL code  Diskspd, https://github.com/microsoft/diskspd:  An IO workload simulator to test disk IO capabilities.  Successor to SQLIO and SQLIOSim.  SQLQueryStress, http://tinyurl.com/ydm55yl:  Stress test your queries to see how far they can scale  HammerDB, http://hammerdb.com/:  Run highly scalable TPC-C and TPC-H against your database servers.
  • 19. SSIS and SQLAgent – let automation do the heavy lifting  DTLoggedExec:  Makes logging SSIS inside packages fast & easy while providing lots of performance info, http://dtloggedexec.codeplex.com/  SSISUnit:  A declarative testing tool based on Xunit tailored to SSIS environments, http://ssisunit.codeplex.com/  cspJobMonitor:  Track the activity of all your SQLAgent, http://tinyurl.com/ybvupzg  BIDS Helper and BIML:  Visual Studio add-in with oodles of extra features to augment BIDS, IS, and RS, http://www.codeplex.com/bidshelper/
  • 20. Analysis Services – because we really needed yet one more way to write SQL queries  Reporting Services Scripter:  move reports easily between servers, http://tinyurl.com/ylshp44  RSBuild:  executes scripts, publish reports RS & data sources, http://rsbuild.codeplex.com  Analysis Services Product Samples:  loads of cool tools including backup & recovery, activity viewer, tracing, AMO browser, and Data Mining WebControls, http://msftasprodsamples.codeplex.com/  Also available, IS, RS samples  MDX Performance Analyser:  collects metrics on your MDX queries, http://www.codeplex.com/mdxscriptperf
  • 22. Non-SQL Server Tools  PowerGUI: http://www.powergui.org  Don’t want to learn PowerShell? Use this free GUI tool and it’s huge library of pre-built scripts.  Scriptomatic:  Don’t want to learn WMI? Use this free tool instead, http://tinyurl.com/yguku2y  Log Parser:  Read just about any data source from XML to the Event Log to the Registry, http://tinyurl.com/58uxe  mRemote:  manage all your remote connections from one GUI, http://www.mremote.org/
  • 23. Summary  Don’t reinvent the wheel! Reuse what’s available.  Free script-based tools are usually better maintained than Free GUI tools.  Microsoft’s versions and release cycle are the biggest issue with free tools  Remember – you get what you pay for; free tools are free after all
  • 24. Resources  http://tinyurl.com/ylauses  My long-running SQLMag Tool Time column.  http://www.codeplex.com  A fantastic collection of Microsoft-centric tools, including many for SQL Server tools, free to registered members  http://www.sourceforge.com  Free tools from a large, independent open source community  http://thisindexed.com  Great images by Jessica Hagy
  • 25. Don’t forget to complete an online evaluation on EventBoard! Your evaluation helps organizers build better conferences and helps speakers improve their sessions. Questions? Thank you! The Ultimate Free SQL Server Toolkit Kevin Kline, @KEKline, [email protected]