[Database] Standardization of database settings

The settings mentioned here refer to the settings when the SQL database is installed. If you only need to manage three to five databases, setting standardization may not be so important, but if you want to manage 500 to 1000 databases in a data center, standardization can make life easier for the DBA. For example, when installing the SQL server database, use the following setting standards:

SQL binary: D:\

MDFs: G:\MSSQL\data

LDFs: L:\MSSQL\logs

Tempdb: T:\MSSQL\

When you receive an on-call call, telling you that there is no space on the G drive, you immediately know that you need to call Storage Admin to add the hard disk immediately. If the L drive is out of space, you may need to check whether there is a problem with the backup immediately. It is necessary to perform a backup as soon as possible, and then force the reduction of LDFs.

If there is no space on the T drive, there must be something wrong with Tempdb. It is speculated that there may be inappropriate SQL commands that eat up all the space on the T drive.

So, when you standardize the installation settings of all databases, when you need to troubleshoot problems. It will definitely make your troubleshooting more efficient.

Guess you like

Origin blog.csdn.net/wlcs_6305/article/details/114922234