-
Notifications
You must be signed in to change notification settings - Fork 10
Setup No Drive Indexing
Previous Setup Volume Shares | Manual Install | Setup SQL Folder Structure Next |
---|
FineBuild can disable indexing of drive contents.
The indexing of drive contents can speed up the process of finding a file. However, it is very rare that files will need to be searched on a database server, and the processing time taken by Windows to maintain the drive index would be better used to process end-user database queries.
It is therefore recommended that drive contents indexing is disabled for database servers.
Processing of No Drive Indexing relates to Process Id 1FA in the FineBuild1Preparation script, and is controlled by the parameter below:
SQL Version | Parameter | FULL Build | WORKSTATION Build | CLIENT Build |
---|---|---|---|---|
SQL2019 | /SetupNoDriveIndex: | Yes | No | No |
SQL2017 | /SetupNoDriveIndex: | Yes | No | No |
SQL2016 | /SetupNoDriveIndex: | Yes | No | No |
SQL2014 | /SetupNoDriveIndex: | Yes | No | No |
SQL2012 | /SetupNoDriveIndex: | Yes | No | No |
SQL2008R2 | /SetupShares: | Yes | Yes | Yes |
SQL2008 | /SetupNoDriveIndex: | Yes | No | No |
SQL2005 | /SetupNoDriveIndex: | Yes | No | No |
SQL FineBuild will start a CMD window to apply the attribute changes needed to disable drive indexing. This process may take a few minutes to complete. If you open the CMD window you will see each file name as it is processed, and some files may not have their index attribute changed due to lack of permissions. This behaviour is normal, and the disable drive indexing process will eventually complete.
The following steps show what you would have to do to setup No Drive Indexing manually. FineBuild does all of this work for you automatically.
-
Right-click on each drive letter and select Properties
-
Unless you are installing Express Edition, clear the checkbox Allow Indexing Service… and click on Apply
-
Click on OK to confirm disabling content indexing
-
If you get a message similar to that shown below, click Ignore All
A CMD window will open showing the progress of changing the attributes. A number of files will show as Access Denied but these can be ignored
Copyright FineBuild Team © 2014 - 2019. License and Acknowledgements
Previous Setup Volume Shares | Top | Setup SQL Folder Structure Next |
---|
Key SQL FineBuild Links:
SQL FineBuild supports:
- All SQL Server versions from SQL 2019 through to SQL 2005
- Clustered, Non-Clustered and Core implementations of server operating systems
- Availability and Distributed Availability Groups
- 64-bit and (where relevant) 32-bit versions of Windows
The following Windows versions are supported:
- Windows 2022
- Windows 11
- Windows 2019
- Windows 2016
- Windows 10
- Windows 2012 R2
- Windows 8.1
- Windows 2012
- Windows 8
- Windows 2008 R2
- Windows 7
- Windows 2008
- Windows Vista
- Windows 2003
- Windows XP