Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Configure the fill factor Server Configuration Option

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

This topic describes how to configure the fill factor server configuration option in SQL Server 2016 by using SQL Server Management Studio or Transact-SQL. Fill factor is provided for fine-tuning index data storage and performance. When an index is created or rebuilt, the fill-factor value determines the percentage of space on each leaf-level page to be filled with data, reserving the rest as free space for future growth. For more information, see Specify Fill Factor for an Index.

In This Topic


  • This option is an advanced option and should be changed only by an experienced database administrator or certified SQL Server technician.



Execute permissions on sp_configure with no parameters or with only the first parameter are granted to all users by default. To execute sp_configure with both parameters to change a configuration option or to run the RECONFIGURE statement, a user must be granted the ALTER SETTINGS server-level permission. The ALTER SETTINGS permission is implicitly held by the sysadmin and serveradmin fixed server roles.

Arrow icon used with Back to Top link [Top]

To configure the fill factor option

  1. In Object Explorer, right-click a server and select Properties.

  2. Click the Database Settings node.

  3. In the Default index fill factor box, type or select the index fill factor that you want.

Arrow icon used with Back to Top link [Top]

To configure the fill factor option

  1. Connect to the Database Engine.

  2. From the Standard bar, click New Query.

  3. Copy and paste the following example into the query window and click Execute. This example shows how to use sp_configure to set the value of the fill factor option to 100.

Use AdventureWorks2012;
sp_configure 'show advanced options', 1;
sp_configure 'fill factor', 100;

For more information, see Server Configuration Options (SQL Server).

Arrow icon used with Back to Top link[Top]

The server must be restarted before the setting can take effect.

Arrow icon used with Back to Top link [Top]

Community Additions

© 2015 Microsoft