SQL Server emergency? Email pinal@sqlauthority.com with URGENT in the subject line.

Slow Database Creation in SQL Server: Causes and Fixes

Slow database creation in SQL Server comes down to its files: how big they are, and whether SQL Server must zero every byte. This post checks the three usual suspects, the size of the model database, instant file initialization and the log file, and times each one with a script. It also shows the wait type to look for while a large CREATE DATABASE runs.

Continue Reading