|
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, June 11, 2010 1:04 AM
Points: 1,
Visits: 12
|
|
Hello friends,
My self Kaushik Mistry.
I want to perform certain job in sql server 2000 to enhance performance.
DBCC UPDATEUSAGE for all tables of a database
DBCC DBREINDEX for all tables of a database
UPDATE STATISTICS for all tables of a database (With full scan)
EXEC SP_RECOMPILE for all tables of a database
EXEC SP_REFRESHVIEW for all tables of a database
How do i perform above all activities, please suggest and guide how to do and when to do above all activities.
Regards,
Kaushik Mistry
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 12:35 PM
Points: 37,650,
Visits: 29,901
|
|
May I suggest that you start by looking in Books Online for info on the various commands that you want to run.
There's no need to do SP_RECOMPILE and SP_REFRESHVIEW on a regular basis.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|