<p>Usually when I'm creating indexes on tables, I generally guess what the <code>Fill Factor</code> should be based on an educated guess of how the table will be used (many reads or many writes).</p>

<p>Is there a more scientific way to determine a more accurate <code>Fill Factor</code> value?</p>

[{'answer_id': 10922, 'author': 'Keith', 'author_id': 905, 'author_profile': 'https://Stackoverflow.com/users/905', 'pm_score': 5, 'selected': True, 'text': '<p>You could try running a big list of realistic operations and looking at IO queues for the different actions.</p>\n\n<p>There are a lot of variables that govern it, such as the size of each row and the number of writes vs reads.</p>\n\n<p>Basically: high fill factor = quicker read, low = quicker write.</p>\n\n<p>However it\'s not quite that simple, as almost all writes will be to a subset of rows that need to be looked up first.</p>\n\n<p>For instance: set a fill factor to 10% and each single-row update will take 10 times as long to find the row it\'s changing, even though a page split would then be very unlikely.</p>\n\n<p>Generally you see fill factors 70% (very high write) to 95% (very high read).</p>\n\n<p>It\'s a bit of an art form.</p>\n\n<p>I find that a good way of thinking of fill factors is as pages in an address book - the more tightly you pack the addresses the harder it is to change them, but the slimmer the book. I think I explained it better on <a href="http://bizvprog.blogspot.com/2008/02/expensive-database-server-1980s-filofax.html" rel="nofollow noreferrer">my blog</a>. </p>\n'}, {'answer_id': 10951, 'author': 'ninesided', 'author_id': 1030, 'author_profile': 'https://Stackoverflow.com/users/1030', 'pm_score': 2, 'selected': False, 'text': "<p>I would tend to be of the opinion that if you're after performance improvements, your time is much better spent elsewhere, tweaking your schema, optimising your queries and ensuring good index coverage. Fill factor is one of those things that you only need to worry about when you <em>know</em> that everything else in your system is optimal. I don't know anyone that can say that.</p>\n"}]
['https://Stackoverflow.com/questions/10919', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/383/']