Configuring Fill Factor
Fill factor determines the
percentage of space on each leaf-level page that is filled with data when an index
is created or rebuilt. The remaining space is used for future growth.
Fill
factor is configured
as a percentage value between 1 and 100. The server-wide default is 0. Fill
factor can be
configured at the individual index level and at the server level.
You can set the
instance-wide fill factor value by using the sp_configure stored procedure.
You can change the fill factor only on an instance-wide basis when the advanced options
value is set to 1. For example, to set the instance-wide fill factor configuration option to 90,
use the following code:
You can change the fill factor only on an instance-wide basis when the advanced options
value is set to 1. For example, to set the instance-wide fill factor configuration option to 90,
use the following code:
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'fill factor', 90;
GO
RECONFIGURE;
GO
No comments:
Post a Comment