SlideShare une entreprise Scribd logo
1  sur  25
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
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.
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

Contenu connexe

Tendances

Tendances (20)

PostgreSQL Database Slides
PostgreSQL Database SlidesPostgreSQL Database Slides
PostgreSQL Database Slides
 
PostgreSQL.pptx
PostgreSQL.pptxPostgreSQL.pptx
PostgreSQL.pptx
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
MySQL Audit using Percona audit plugin and ELK
MySQL Audit using Percona audit plugin and ELKMySQL Audit using Percona audit plugin and ELK
MySQL Audit using Percona audit plugin and ELK
 
MySQL Performance Schema in Action
MySQL Performance Schema in ActionMySQL Performance Schema in Action
MySQL Performance Schema in Action
 
SQL Server Performance Tuning Baseline
SQL Server Performance Tuning BaselineSQL Server Performance Tuning Baseline
SQL Server Performance Tuning Baseline
 
MYSQL
MYSQLMYSQL
MYSQL
 
Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!
 
Oracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12c
 
Optimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performanceOptimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performance
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
Postgresql
PostgresqlPostgresql
Postgresql
 
Sql Server Basics
Sql Server BasicsSql Server Basics
Sql Server Basics
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
 
A must Sql notes for beginners
A must Sql notes for beginnersA must Sql notes for beginners
A must Sql notes for beginners
 
My first 90 days with ClickHouse.pdf
My first 90 days with ClickHouse.pdfMy first 90 days with ClickHouse.pdf
My first 90 days with ClickHouse.pdf
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
 
MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바
 
Troubleshooting sql server
Troubleshooting sql serverTroubleshooting sql server
Troubleshooting sql server
 

En vedette

En vedette (13)

Top 10 DBA Mistakes on Microsoft SQL Server
Top 10 DBA Mistakes on Microsoft SQL ServerTop 10 DBA Mistakes on Microsoft SQL Server
Top 10 DBA Mistakes on Microsoft SQL Server
 
Reduce latency and boost sql server io performance
Reduce latency and boost sql server io performanceReduce latency and boost sql server io performance
Reduce latency and boost sql server io performance
 
Understanding and preventing sql injection attacks
Understanding and preventing sql injection attacksUnderstanding and preventing sql injection attacks
Understanding and preventing sql injection attacks
 
Ten query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should knowTen query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should know
 
Convince me – persuasion techniques that get things done
Convince me – persuasion techniques that get things doneConvince me – persuasion techniques that get things done
Convince me – persuasion techniques that get things done
 
Who wants to be a DBA? Roles and Responsibilities
Who wants to be a DBA? Roles and ResponsibilitiesWho wants to be a DBA? Roles and Responsibilities
Who wants to be a DBA? Roles and Responsibilities
 
The Great American Novel? TL;DR Writing for Web and Social in the Age of Brevity
The Great American Novel? TL;DR Writing for Web and Social in the Age of BrevityThe Great American Novel? TL;DR Writing for Web and Social in the Age of Brevity
The Great American Novel? TL;DR Writing for Web and Social in the Age of Brevity
 
The Presentation Come-Back Kid
The Presentation Come-Back KidThe Presentation Come-Back Kid
The Presentation Come-Back Kid
 
The Art of the Presentation
The Art of the PresentationThe Art of the Presentation
The Art of the Presentation
 
10 Ways Your Boss Kills Employee Motivation
10 Ways Your Boss Kills Employee Motivation10 Ways Your Boss Kills Employee Motivation
10 Ways Your Boss Kills Employee Motivation
 
10 Things your Audience Hates About your Presentation
10 Things your Audience Hates About your Presentation10 Things your Audience Hates About your Presentation
10 Things your Audience Hates About your Presentation
 
The Physical Interface
The Physical InterfaceThe Physical Interface
The Physical Interface
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Similaire à Ultimate Free SQL Server Toolkit

Data Handning with Sqlite for Android
Data Handning with Sqlite for AndroidData Handning with Sqlite for Android
Data Handning with Sqlite for Android
Jakir Hossain
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
Bryan Cafferky
 
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 EditionEnter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Mark Broadbent
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part i
sqlserver.co.il
 

Similaire à Ultimate Free SQL Server Toolkit (20)

.NET Recommended Resources
.NET Recommended Resources.NET Recommended Resources
.NET Recommended Resources
 
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginnersSQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
 
The Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET EcosystemThe Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET Ecosystem
 
(WEB301) Operational Web Log Analysis | AWS re:Invent 2014
(WEB301) Operational Web Log Analysis | AWS re:Invent 2014(WEB301) Operational Web Log Analysis | AWS re:Invent 2014
(WEB301) Operational Web Log Analysis | AWS re:Invent 2014
 
Great IDEs for SQL Query Performance Tuning and Practice.pdf
Great IDEs for SQL Query Performance Tuning and Practice.pdfGreat IDEs for SQL Query Performance Tuning and Practice.pdf
Great IDEs for SQL Query Performance Tuning and Practice.pdf
 
SQL Server 2008 Integration Services
SQL Server 2008 Integration ServicesSQL Server 2008 Integration Services
SQL Server 2008 Integration Services
 
SQL Injection
SQL InjectionSQL Injection
SQL Injection
 
PowerUpSQL - 2018 Blackhat USA Arsenal Presentation
PowerUpSQL - 2018 Blackhat USA Arsenal PresentationPowerUpSQL - 2018 Blackhat USA Arsenal Presentation
PowerUpSQL - 2018 Blackhat USA Arsenal Presentation
 
My Saminar On Php
My Saminar On PhpMy Saminar On Php
My Saminar On Php
 
Data Handning with Sqlite for Android
Data Handning with Sqlite for AndroidData Handning with Sqlite for Android
Data Handning with Sqlite for Android
 
Vs2005p
Vs2005pVs2005p
Vs2005p
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
 
Os Owens
Os OwensOs Owens
Os Owens
 
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 EditionEnter the Dragon -  SQL 2014 on Server Core PASS Summit 2014 Edition
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
 
Sql saturday oc 2019
Sql saturday oc 2019Sql saturday oc 2019
Sql saturday oc 2019
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part i
 
Sps Boston The Share Point Beast
Sps Boston   The Share Point BeastSps Boston   The Share Point Beast
Sps Boston The Share Point Beast
 
SQL Operations Studio - new multi-platform tool for SQL Server database devel...
SQL Operations Studio - new multi-platform tool for SQL Server database devel...SQL Operations Studio - new multi-platform tool for SQL Server database devel...
SQL Operations Studio - new multi-platform tool for SQL Server database devel...
 
SharePoint for the .NET Developer
SharePoint for the .NET DeveloperSharePoint for the .NET Developer
SharePoint for the .NET Developer
 
2019 Blackhat Booth Presentation - PowerUpSQL
2019 Blackhat Booth Presentation - PowerUpSQL2019 Blackhat Booth Presentation - PowerUpSQL
2019 Blackhat Booth Presentation - PowerUpSQL
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Ultimate Free SQL Server Toolkit

  • 1. SQLintersection The Ultimate Free SQL Server Toolkit Kevin Kline kkline@sqlsentry.com 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 sales@sqlsentry.com:
  • 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
  • 6.
  • 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.
  • 8.
  • 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, kkline@sqlsentry.com