SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Reindex and update stats
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

john.burns
Posting Yak Master

USA
100 Posts

Posted - 10/12/2006 :  10:09:47  Show Profile  Reply with Quote
I've acquired a server that is running Reindex and update stats
every night.

This seems excessive.. can this actually hurt performance?
thanks

harsh_athalye
Flowing Fount of Yak Knowledge

India
5515 Posts

Posted - 10/12/2006 :  10:14:37  Show Profile  Visit harsh_athalye's Homepage  Click to see harsh_athalye's MSN Messenger address  Send harsh_athalye a Yahoo! Message  Reply with Quote
Why do you need to reindex and update stats every night? Is your database go through heavy volume of changes everyday?

I think these operations are more appropriate to do on weekly basis.

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page

nr
SQLTeam MVY

United Kingdom
12543 Posts

Posted - 10/12/2006 :  10:16:25  Show Profile  Visit nr's Homepage  Reply with Quote
It'll hurt performance while it's running but shouldn't otherwise.
It may cause an execution plan to change for the worse but that would probably happen eventually anyway.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

john.burns
Posting Yak Master

USA
100 Posts

Posted - 10/12/2006 :  11:16:34  Show Profile  Reply with Quote
thanks much
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
36922 Posts

Posted - 10/12/2006 :  15:05:08  Show Profile  Visit tkizer's Homepage  Reply with Quote
http://weblogs.sqlteam.com/tarad/archive/2006/04/11/9585.aspx

Tara Kizer
Go to Top of Page

Kristen
Test

United Kingdom
22403 Posts

Posted - 10/13/2006 :  05:47:09  Show Profile  Reply with Quote
"I think these operations are more appropriate to do on weekly basis."

I don't agree - if you have a quiet slot overnight why way a further 6 days, potentially, before you reinstate decent performance?

Having said that we use DEFRAG and only on tables that show as sufficiently fragmented to warrant it.

But we do update stats on all tables every night.

Kristen
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000