﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by bitbucket  / Statistics - 3 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 16:40:52 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>learn somethinggood answer by pure chance !</description><pubDate>Wed, 09 Jan 2013 01:40:29 GMT</pubDate><dc:creator>jfgoude</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Good question. Thanks for submitting.</description><pubDate>Wed, 24 Oct 2012 20:25:57 GMT</pubDate><dc:creator>Britt Cluff</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>I answered with hope there was such a thing and won.  Excellent!</description><pubDate>Wed, 10 Oct 2012 15:51:24 GMT</pubDate><dc:creator>Miles Neale</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>[quote][b]saurabh.x.sinha (10/9/2012)[/b][hr][u][b]Summary !![/b][/u]By default, SQL Server updates index statistics automatically. Frequency of automatic updates depends on number of rows in the table. If you allow SQL Server to update statistics automatically it will use the following rules: 1. If a table has 6 or fewer rows, statistics will be updated after 6 changes 2. If a table has 500 or fewer rows, statistics will be updated after 500 changes 3. If a table has more than 500 rows, statistics will be updated after 20% of the total rows plus 500 rows are changed (INSERTED, UPDATED or DELETED) 4. SQL Server uses the rowmodctr column of the sysindexes table to determine the number of changes since the last update of statistics[/quote]FWIW - In SQL 2008 and up it uses colmodctr to track those changes.</description><pubDate>Tue, 09 Oct 2012 12:38:44 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Thanks For good Question, its allow reading to different Article before you are going to attempt. but at the end +1</description><pubDate>Tue, 09 Oct 2012 10:46:23 GMT</pubDate><dc:creator>asifkareem</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Thanks for posting this! I'd been hoping that there was a secret way of forcing SQL to automatically update stats more frequently. Our usual solution has always been to create a SQL job that runs update stats frequently... but this trace flag may be just the trick. I'll try it out on a test server....</description><pubDate>Tue, 09 Oct 2012 09:03:25 GMT</pubDate><dc:creator>LadyRuna</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>[u][b]Summary !![/b][/u]By default, SQL Server updates index statistics automatically. Frequency of automatic updates depends on number of rows in the table. If you allow SQL Server to update statistics automatically it will use the following rules: 1. If a table has 6 or fewer rows, statistics will be updated after 6 changes 2. If a table has 500 or fewer rows, statistics will be updated after 500 changes 3. If a table has more than 500 rows, statistics will be updated after 20% of the total rows plus 500 rows are changed (INSERTED, UPDATED or DELETED) 4. SQL Server uses the rowmodctr column of the sysindexes table to determine the number of changes since the last update of statistics</description><pubDate>Tue, 09 Oct 2012 08:59:28 GMT</pubDate><dc:creator>saurabh.x.sinha</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Thanks for the question!</description><pubDate>Tue, 09 Oct 2012 08:40:31 GMT</pubDate><dc:creator>KWymore</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Nice, learnt something new today. Thanks.</description><pubDate>Tue, 09 Oct 2012 07:23:22 GMT</pubDate><dc:creator>arthurolcot</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Very interesting, thanks for the question!</description><pubDate>Tue, 09 Oct 2012 07:21:19 GMT</pubDate><dc:creator>sestell1</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Thanks.</description><pubDate>Tue, 09 Oct 2012 07:05:48 GMT</pubDate><dc:creator>(Bob Brown)  </dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>A very good question. I learn something new..Thanks Ron!!:-)</description><pubDate>Tue, 09 Oct 2012 07:03:49 GMT</pubDate><dc:creator>Erav</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Hmm... I sort of still think I´m right on this one (and that the answer is no). "Is there a method / setting that will alter the fixed rate of change threshold" I assumed to be no since there is no way to alter the fixed rate. You can however set sql server to instead use a dynamic rate but you can´t change it to another fixed rate such as 40%... Or have I misunderstood something?Cheers!</description><pubDate>Tue, 09 Oct 2012 06:45:14 GMT</pubDate><dc:creator>sql 15918</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>[quote][b]Koen Verbeeck (10/9/2012)[/b][hr]Thanks for another great question Ron.I choose Yes as I thought it would be sad if there wasn't such an option :-D[/quote]Same here. I thought that it wouldn't be worth posting if there wasn't a solution. Thanks for the question Ron.</description><pubDate>Tue, 09 Oct 2012 05:25:03 GMT</pubDate><dc:creator>Thomas Abraham</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Very informative Ron! Thanks :-)</description><pubDate>Tue, 09 Oct 2012 04:01:46 GMT</pubDate><dc:creator>Divine Flame</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>That is very interesting.This question really got the grey matter working, thanks, Ron</description><pubDate>Tue, 09 Oct 2012 03:58:46 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Thanks, good question. Actually guessed at the answer (hoped the specific versions mentioned was a clue), but it's taught me something I didn't know!It is interesting that it's been implemented as a trace flag rather than say through sp_configure.Maybe it will make it there in a future version or SP.Definitely a setting you only want to change if you know what you're doing!</description><pubDate>Tue, 09 Oct 2012 02:51:44 GMT</pubDate><dc:creator>Gazareth</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>After extensive search of MSDN and BOL, I (incorrectly) came to the conclusion that the only way to change the frequency was by scheduling a job to update stats.Some obscure traceflag does not strike me as a bone fide way of acheiving this.  Hurrumph! ;-)Aren't traceflags things left behind by the Microsoft developers for their own purposes, and shouldn't be relied upon.</description><pubDate>Tue, 09 Oct 2012 02:00:44 GMT</pubDate><dc:creator>t.brown 89142</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Thanks for another great question Ron.I choose Yes as I thought it would be sad if there wasn't such an option :-D</description><pubDate>Tue, 09 Oct 2012 00:18:32 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Thanks Ron for this great question today as well. It required a little bit of reading before attempting it. Happy that I got it correct in the end :-)</description><pubDate>Mon, 08 Oct 2012 22:52:02 GMT</pubDate><dc:creator>Lokesh Vij</dc:creator></item><item><title>Statistics - 3</title><link>http://www.sqlservercentral.com/Forums/Topic1370137-1222-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/statistics/93359/"&gt;Statistics - 3&lt;/A&gt;[/B]</description><pubDate>Mon, 08 Oct 2012 20:46:48 GMT</pubDate><dc:creator>bitbucket-25253</dc:creator></item></channel></rss>