Site icon Technology and Trends

What is the Fill factor in SQL Server?

The fill factor in the Microsoft SQL server is the setting that specifies the percentage of space on each leaf-level page to be filled with data when the index is created or rebuilt. It controls the amount of free space left on the pages to reduce fragmentation and improve performance in the database.

Important Points of Fill Factor in Database

Changing the Fill Factor

We can adjust the fill factor using the ALTER Index statement.

ALTER INDEX [IndexName] ON [TableName] REBUILD WITH (FILLFACTOR = 70);

This statement rebuilds the index with a fill factor of 70%.

Exit mobile version