Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

DATABASE PERFORMANCE ISSUE Expand / Collapse
HOW DO I PERFORM THESE AS DESCRIBE IN MESSAGE?
Poll ResultsVotes
N/A
0%
0
Member Votes: 0, Anonymous Votes: 0. You don't have permission to vote within this poll.
Author
Message
Posted Thursday, January 07, 2010 2:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #843381
Posted Thursday, January 07, 2010 2:29 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-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

Post #843383
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse