Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
Is It Necessary to Update Statistics?
Is It Necessary to Update Statistics?
Rate Topic
Display Mode
Topic Options
Author
Message
dbaforever
dbaforever
Posted Wednesday, November 07, 2012 8:45 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, December 11, 2012 3:02 PM
Points: 135,
Visits: 460
My 2008 R2 database has Auto Create Statistics and Auto Update Statistics both set to TRUE.
Is it necessary to also perform UPDATE STATISTICS on every table in my Maint Plan?
Thanks, Bill
Post #1382244
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Thursday, November 08, 2012 12:08 AM
Hall of Fame
Group: General Forum Members
Last Login: Monday, May 20, 2013 3:48 AM
Points: 3,125,
Visits: 4,311
Usually, SQL takes care of the UPDATE Statistics automatically.
However, there may be situations where this does not occur, e.g. when the number of UPDATEd / INSERTed / DELETEd rows does not reach or exceed the specified threshold (default 20%, changable from SQL2008R2 SP1 using trace flag 2371) for auto-updates (especially on large tables)
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1382287
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Thursday, November 08, 2012 12:14 AM
Hall of Fame
Group: General Forum Members
Last Login: Monday, May 20, 2013 3:48 AM
Points: 3,125,
Visits: 4,311
for ease of reference:
http://www.microsoft.com/casestudies/Microsoft-SQL-Server-2012-Enterprise/Microsoft-IT/Microsoft-Ensures-Smooth-Operation-of-ERP-System-and-Cuts-Disaster-Recovery-Time/710000000493
http://blogs.msdn.com/b/saponsqlserver/archive/2011/09/07/changes-to-automatic-update-statistics-in-sql-server-traceflag-2371.aspx
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1382288
dbaforever
dbaforever
Posted Thursday, November 08, 2012 8:39 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, December 11, 2012 3:02 PM
Points: 135,
Visits: 460
Stewart. thanks for your ideas and for the post about SS 2012 and its' new features for updating stats.
My instance is 2008 so I'll probably leave the UPDATE STATISTICS in my maint. plan, just to be sure they are nice and tidy.
Bill in the USA
Post #1382803
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.