How can we reindex a SQL Server 2000 database?

Tags:
SQL Server 2000
SQL Server database design and modeling
We have a SQL Server 2000 database that has never been reindexed. Do you have any suggestions? Is there a link to a step-by-step process for SQL Server database reindexeing you can share?

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is a good article I have read on reindexing a sql 2000 DB. It has some basic steps you can take as well as some more in-depth steps that will work better on large databases.

<a href=”http://www.sql-server-performance.com/articles/per/automatic_reindexing_sql2000_p1.aspx”>http://www.sql-server-performance.com/articles/per/automatic_reindexing_sql2000_p1.aspx</a>

The easiest way is to setup a SQL Server maintenance plan. These plans can be configured to rebuild the indexes of your database. Do keep in mind that when reindexing the database users will not be able to access the database so the reindex should be done off hours. You also have the option of defragging the indexes. After you do the initial rebuild of the indexes you should look into defraging them weekly or so to keep them healthy.

The end result between defragging the indexes and rebuilding them is the same. The difference is that lightly indexes will defrag faster than they will rebuild. The command to defrag an index is “DBCC INDEXDEFRAG” and the command to rebuild an index is “DBCC DBREINDEX”.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Buddyfarr
    doesn't the article that I pointed to say that?
    6,850 pointsBadges:
    report
  • Denny Cherry
    Yeah it does. Did I pull your info out? I didn't mean to wipe it out. Sorry about that.
    66,070 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following