Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.


Recent releases of YourSqlDba - Lastest release here

  • - Many improvements related to security and very large databases handling (1TB and more).
    1. Support of backup encryption (and a minor bug correction related to getting backup information to allow it)
    2. Instead of full checkdb, spreading checktables across the week
    3. Increase of fragmentation thresold for database reorganizaton and rebuild
    4. Adjusting of backup parameters for increased performance.
  • - Minor bug fix synchronizing local windows user login
  • - Improvement about Sync logins
  • - Optimization of database index defrag
  • - Exclude case sensitive database from YourSqlDba maintenace with reporting an error
  • - Take into account possible invalid dbownership on some databases (handled properly in YourSqlDba)
  • - Improved parameter validation of parameters starting by "@Replace..." in mirroring feature
  • - At failover Restore database ownership after database recovery on mirror server
  • - Correction to improper test of database status
  • - Correction to error message for SetYourSqlDbaAccount

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.

An alternate, always up-to-date documentation is available through this YourSqlDba One Note Online documentation.

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.


Sources for YourSqlDba : Database maintenance solution as a single SQL script





No releases published


No packages published

Contributors 4

You can’t perform that action at this time.