Thursday, 7 December 2006

SQL Server Fill Factor Recommendations

SQL Server Query performance can be improved by creating indexes with the appropriate Fill Factor values. The following steps should be done

Step 1:

The tables should be classified into one of the following categories
• Low Update tables
• High Update tables
• Everything In-Between

Step 2:

Modify the Index creation scripts to hold the fill factor values as given below

Low Update Tables (100-1 read to write ratio): 100% fillfactor
High Update Tables (where writes exceed reads): 50%-70% fillfactor
Everything In-Between: 80%-90% fillfactor.

5 comments:

  1. I think it's not just high/low updates, but also if the updates have varying data. What if the updates are high but only of the same data length for most part? Then I'd imagine there isn't much issue. But if you've a varchar data type then if that column gets a lot more data in the middle of the table, then there's a cause for page split too!

    Plus Inserts also play a major role. How often and how much data gets inserted!

    ReplyDelete
  2. Hi Paul,

    Agreed with ur comments

    The "High Update" is not not meant for the update statements. Tables with frequent data modifications insert /update / delete. Mainly tables which are having transactional data.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete