Skip to content

🛠️ T-SQL scripts for the long haul: optimizing storage, on-the-fly documentation, and general administrative needs.

License

Notifications You must be signed in to change notification settings

mattcargile/dba-multitool

 
 

Repository files navigation

DBA MultiTool

License SQL Server Azure SQL

Build status GitHub Super-Linter Actions Status codecov


The DBA MultiTool is a suite of scripts for the long haul: optimizing storage, on-the-fly documentation, general administrative needs, and more. Each script relies solely on T-SQL to ensure it is secure, requires no third-party software, and can be installed in seconds.

All open source, all free to use under the MIT license.

Check the below list for technical documentation on each script.

Scripts

To quickly install/update all the scripts, use install_dba-multitool.sql or Install-DbaMultiTool from dbatools 🚀

Name Description
sp_doc Always have current documentation by generating it on the fly in markdown.
sp_estindex Estimate a new index's size and statistics without having to create it.
sp_helpme A drop-in modern alternative to sp_help.
sp_sizeoptimiser Recommends space saving measures for data footprints, with special checks for SQL Server Express.

Compatibility

Version Tested
Azure SQL ✔️
AWS RDS SQL Server *
SQL Server 2019 ✔️
SQL Server 2017 ✔️
SQL Server 2016 ✔️
SQL Server 2014 ✔️
SQL Server 2012 SP1 ✔️
<= SQL Server 2008R2

* AWS RDS SQL Server is not tested, but should work in theory. YMMV.

Contributing

  • Want to help 👷? Check out the contributing doc
  • Missing a feature? Found a 🐛? Open an issue to get some ❤️
  • Something else? Say hi in the SQL Server Community Slack #multitool channel

Icon made by mangsaabguru from www.flaticon.com

About

🛠️ T-SQL scripts for the long haul: optimizing storage, on-the-fly documentation, and general administrative needs.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TSQL 96.2%
  • PowerShell 3.6%
  • Other 0.2%