GitPedia

Dba multitool

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

From lowlydba·Updated June 3, 2026·View on GitHub·

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. The project is written primarily in PLpgSQL, distributed under the MIT License license, first published in 2018. Key topics include: azure-sql, data-dictionary, database-documentation, dba, documentation-generator.

Latest release: v2.0.1
June 3, 2026View Changelog →

DBA MultiTool

License
Code Coverage

Unit Test (Win SQL Server)
Unit Test (AzureSQL)
Lint Code

<img src="assets/dba-multitool-logo.png" align="left">

</br>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.

Scripts

To install/update all the scripts, use install_dba-multitool.sql.

Looking for ways to automate the scripts? Try Install-DbaMultiTool from dbatools :rocket:,
or the Ansible collection lowlydba.sqlserver.

For detailed instructions and documentation, see dba-multitool.org

NameDescription
sp_docAlways have current documentation by generating it on the fly in markdown.
sp_estindexEstimate a new index's size and statistics without having to create it.
sp_help_revloginStored procedures that will help generate necessary scripts to transfer logins and their passwords.
sp_helpmeA drop-in modern alternative to sp_help.
sp_sizeoptimiserRecommends space saving measures for data footprints, with special checks for SQL Server Express.

Compatibility

Only support for versions that are still in mainstream support is guaranteed.

VersionTested
Azure SQL:heavy_check_mark:
AWS RDS SQL Server *:question:
SQL Server 2022:heavy_check_mark:
SQL Server 2019:heavy_check_mark:
SQL Server 2014-2017:shrug:
<= SQL Server 2012:x:

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

Contributing

  • Want to help :construction_worker:? Check out the contributing doc
  • Missing a feature? Found a :bug:? Open an issue to get some :heart:
  • Something else? Say hi in the SQL Server Community Slack #multitool channel

<sub>Icon made by mangsaabguru
from www.flaticon.com
</sub>

Contributors

Showing top 5 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from lowlydba/dba-multitool via the GitHub API.Last fetched: 6/28/2026