Database File Initialization Disabled
When SQL Server data and log files are initialized, they overwrite any existing data left on the disk from previously deleted files. This is done by zeroing out the files (filling with zeros) during the following operations:
- Creating a database.
- Adding an extra data or log file to an existing database.
- Increasing the size of an existing file, either manually or via autogrow operations.
- Restoring a database or filegroup.
The zeroing out operation causes these tasks to take longer, which could potentially impact the performance of the SQL Server. Enable instant file initialization to bypass this operation, but be mindful of the possible security implications that are detailed in the further reading section.
Note that some SAN devices may address this through features like zero-detection, where the data isn't written to disk if a zeroing operation is detected. Therefore, the gains from implementing Database File Initialization will vary depending on the underlying hardware.
Consider granting the SQL Server service account permission to perform volume maintenance tasks, which will enable database file initialization.
Any suggestion from Aireforge should be thoroughly tested before being implemented into production.
Database File Initialization | Microsoft Docs