Did you know that there are some greats repos on github with awesome SQL scripts that you can use or even contribute to?
I decided to make you aware of some of these.
Tigertoolbox
The Microsoft SQL Server Tiger team has a GitHub repository where they host a bunch of SQL Server scripts
It is called the tigertoolbox. In the image below, you can see what is in this repository
GitHub Repo is here: https://github.com/Microsoft/tigertoolbox
Also make sure to follow the @mssqltiger twitter account to stay up to date with any news from the MS Tiger Team.
The SQL Server Maintenance Solution
This is a GitHub repo by Ola HallengrenThe SQL Server Maintenance Solution comprises scripts for running backups, integrity checks, and index and statistics maintenance on all editions of Microsoft SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, and SQL Server 2016. The solution is based on stored procedures, the sqlcmd utility, and SQL Server Agent jobs
GitHub Repo is here: https://github.com/olahallengren/sql-server-maintenance-solution
Also make sure to visit the Ola's website for more info here: https://ola.hallengren.com/
dbatools
dbatools is a free PowerShell module with over 200 SQL Server administration, best practice and migration commands included.GitHub Repo is here: https://github.com/sqlcollaborative/dbatools
Also make sure to visit their website: https://dbatools.io/
Microsoft SQL Server Samples Repository
This GitHub repository contains code samples that demonstrate how to use Microsoft's SQL products including SQL Server, Azure SQL Database, and Azure SQL Data Warehouse. Each sample includes a README file that explains how to run and use the sample.
Repo is here: https://github.com/Microsoft/sql-server-samples
SQL-Server-First-Responder-Kit
This repo by the nice folks from Brent Ozar Unlimited®.has a collection of procs to help you with health checks, maintenance and performance checks. Procs like sp_Blitz, sp_BlitzCache, sp_BlitzFirst, sp_BlitzIndex, and other SQL Server scripts.
GitHub Repo is here: https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit
Make sure to bookmark this page on the BrentOzar.com site to learn how to use these scripts/procs and to keep up to date on any additions/changes: https://www.brentozar.com/first-aid/
But first, I want you to go to this page: Learn to Use sp_Blitz, sp_BlitzCache, sp_BlitzFirst, and sp_BlitzIndex with These Tutorial Videos
No comments:
Post a Comment