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
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
PPTX
Sql server performance tuning
Jugal Shah
 
PPTX
Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder
 
PPTX
Oracle sql high performance tuning
Guy Harrison
 
PPT
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
John Kanagaraj
 
PDF
Standard Edition High Availability (SEHA) - The Why, What & How
Markus Michalewicz
 
PPTX
Part3 Explain the Explain Plan
Maria Colgan
 
PPTX
Scylla Summit 2022: Making Schema Changes Safe with Raft
ScyllaDB
 
PPTX
Install Redis on Oracle Linux
Johan Louwers
 
PDF
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
PDF
Tanel Poder - Scripts and Tools short
Tanel Poder
 
PDF
Oracle database performance tuning
Abishek V S
 
PDF
How to Use EXAchk Effectively to Manage Exadata Environments
Sandesh Rao
 
PDF
Performance tuning a quick intoduction
Riyaj Shamsudeen
 
PDF
Understanding oracle rac internals part 2 - slides
Mohamed Farouk
 
PDF
Oracle statistics by example
Mauro Pagano
 
PPTX
Beginners guide to_optimizer
Maria Colgan
 
PDF
Oracle AHF Insights 23c
Sandesh Rao
 
PDF
SQL Server Tuning to Improve Database Performance
Mark Ginnebaugh
 
PPTX
What to Expect From Oracle database 19c
Maria Colgan
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
Sql server performance tuning
Jugal Shah
 
Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder
 
Oracle sql high performance tuning
Guy Harrison
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
John Kanagaraj
 
Standard Edition High Availability (SEHA) - The Why, What & How
Markus Michalewicz
 
Part3 Explain the Explain Plan
Maria Colgan
 
Scylla Summit 2022: Making Schema Changes Safe with Raft
ScyllaDB
 
Install Redis on Oracle Linux
Johan Louwers
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
Tanel Poder - Scripts and Tools short
Tanel Poder
 
Oracle database performance tuning
Abishek V S
 
How to Use EXAchk Effectively to Manage Exadata Environments
Sandesh Rao
 
Performance tuning a quick intoduction
Riyaj Shamsudeen
 
Understanding oracle rac internals part 2 - slides
Mohamed Farouk
 
Oracle statistics by example
Mauro Pagano
 
Beginners guide to_optimizer
Maria Colgan
 
Oracle AHF Insights 23c
Sandesh Rao
 
SQL Server Tuning to Improve Database Performance
Mark Ginnebaugh
 
What to Expect From Oracle database 19c
Maria Colgan
 

Viewers also liked (13)

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
Ten query tuning techniques every SQL Server programmer should know
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
 
Ten query tuning techniques every SQL Server programmer should know
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
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 

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]