|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 2:31 AM
Points: 228,
Visits: 495
|
|
Comments posted to this topic are about the item The FILL FACTOR
Regards Brian Ellul ---------------------------------------------------------------------------------- Computers are incredibly fast, accurate, and stupid. Human beings are incredibly slow, inaccurate, and brilliant. Together they are powerful beyond imagination. - Albert Einstein -
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, December 16, 2010 6:47 PM
Points: 2,
Visits: 7
|
|
| What's the consequences if wrong fill factor has been set. So called poor performance will cause something like deadlock or query timeout?
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Today @ 2:53 PM
Points: 12,
Visits: 375
|
|
Brian - Just wanted to mention how much I enjoyed the article. It's very well written and is a thorough introduction to the not-so-simple concept of how to set a FF to best impact your individual environment.
Keep up the great work...Troy (The Grateful DBA)
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 6:12 PM
Points: 1,060,
Visits: 4,169
|
|
Great article - I've always worried about Fill Factor as it does seem to be an area shrouded in confusion and contrasting views.
For example, if you're always adding to the end of a table/index, e.g. an increasing Order Number, I was told fill factor should be set to zero; this makes sense to me, but wondered if anyone agreed / disagreed, or had any other useful nuggets to do with Fill Factor? Perhaps we could start a Fill Factor FAQ?
Does anyone have any examples of where they have made changes to Fill Factor for a large table and seen noticeable performance improvements?
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 1:23 PM
Points: 6,
Visits: 196
|
|
Good article. Nice explanation of how to evaluate read operations vs write operations to determine a good fillfactor.
I have typically used this method to set index fillfactor on a per case basis.
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Yesterday @ 12:28 PM
Points: 675,
Visits: 2,031
|
|
I strongly suggest doing some tests with the following cases: A) More than 10,000 pages of data! B) A couple indexes, to watch behavior differences when SELECT, INSERT, UPDATE, and DELETE happens B1) An index on a field whose INSERTs and UPDATEs tend to be sequential (say, current date/time) B2) An index on a field whose INSERTs and UPDATEs tend to be arbitrary (say, date of birth, though SSN is an even better example C) A third fillfactor example; between 85 and 95 D) Extra credit: Unique and non-unique
One not uncommon case for indexes in many systems is: Millions of rows Index on SSN-like field DML operations are effectively on random SSN's, usually one at a time Single row SELECTs on the SSN-like field are common Bulk data SELECTs are perhaps uncommon, but certainly not rare (select SSN, col1, col2 order by SSN-like field)
Very, very quickly you'll find that a fillfactor in the high 90's results in a much smaller index than 100 would; likewise, it needs to be rebuilt/reorganized less often (also important if one has a small maintenance window).
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 2:31 AM
Points: 228,
Visits: 495
|
|
faelconn1ck (12/15/2010) What's the consequences if wrong fill factor has been set. So called poor performance will cause something like deadlock or query timeout?
With poor performance i understand slow Selects or DML statements, which eventually may also cause timeouts. I doubt that these may cause deadlock errors although indirectly they will since transactions will be open for a longer duration!
Regards Brian Ellul ---------------------------------------------------------------------------------- Computers are incredibly fast, accurate, and stupid. Human beings are incredibly slow, inaccurate, and brilliant. Together they are powerful beyond imagination. - Albert Einstein -
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Yesterday @ 6:47 AM
Points: 581,
Visits: 694
|
|
Brian, thank you for the great article. It has shed some light on a very interesting topic.
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Today @ 6:14 PM
Points: 31,421,
Visits: 13,734
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 2:11 PM
Points: 1,409,
Visits: 4,506
|
|
faelconn1ck (12/15/2010) What's the consequences if wrong fill factor has been set. So called poor performance will cause something like deadlock or query timeout?
depending on the size of the table and the amount of data selected an index seek can turn into a scan because you have to search through more pages
https://plus.google.com/100125998302068852885/posts?hl=en http://twitter.com/alent1234 x-box live gamertag: i am null [url=http://live.xbox.com/en-US/MyXbox/Profile[/url]
|
|
|
|