Sources for YourSqlDba : Database maintenance solution as a single SQL script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

YourSqlDba

YourSqlDb is just a very big T-SQL script that helps a lot in automating database maintenance.

YourSqlDba Online Documentation gives excellent overview of what YourSqlDba is all about.

YourSqlDba script creates a database named YourSqlDba packed with T-SQL modules (function, stored procedures, and views) on the server where it is run. You don't need to be concerned by all of them, albeit some of them are interesting tools for exceptional day-to-day DBA tasks, out of regular maintenance tasks.

YourSqlDba Quick start introduction explains how it works.

YourSqlDba builds on SQL Agent and database mail, to schedule maintenance and reports how it goes everyday. The stored procedure Install.InitialSetupOfYourSQLDba provides the necessary parameters to set up database mail, backup directories, and some default behaviors.

Mail parameters go to Database mail YourSQLDba_EmailProfile and other maintenance parameters appears as parameters of in two SQL Agent Jobs which call two T-SQL mainteance steps. In each of this maintenance step there is a call to Maint.YourSQLDba_DoMaint stored procedure. Its parameters reflect some of the Install.InitialSetupOfYourSQLDba parameters value, and many are by default. Maint.YourSQLDba_DoMaint parameters are explained in detail in YourSqlDba online documentation.