Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MS SQL Server 2005 Reindex Software

Posted on 2007-12-04
4
Medium Priority
?
2,104 Views
Last Modified: 2012-08-14
Hello,

Instead of using the DBCC command to do an internal defrag or reindex of the database. Does anyone know of any specific or good software that does this and is easy to manage? I am curerntly running Diskeeper to do an external defragmentation, now I am looking for something to allow me to do an internal reindex of the databses.

Thanks
Dr Ego

Open in new window

0
Comment
Question by:Dr_Ego
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
Steven_W earned 500 total points
ID: 20493674
DBCC REINDEX is the only proper (and recommended) way to re-index a table or view within SQL

What do you hope to achieve by running a re-index ... ?

DBCC REINDEXdoes exatly what you say that you are looking for
0
 
LVL 1

Author Comment

by:Dr_Ego
ID: 20495237
I was looking for a way to run the reindex faster or a software that allows for scheduling or other beneficial tools.

Also, to manage 5 or more database servers without doing it manually..
0
 
LVL 13

Assisted Solution

by:Steven_W
Steven_W earned 500 total points
ID: 20496134
The reindex can only be run "faster" using the "Keep-online" option (I think this is only Enterprise edition that allows it"

As for scheduling, there are various ways of doing this
  1- SQL Agent
  2 - Database meintenance plans (which internally use SQL Integration services)
  3 - a "SQLCMD" script.

Whichever method you choose, it is almost certainly going to use the database's own DBCC DBREINDEX command.

--

If you're using SQL 2005 (as opposed to SQL 2000), take a look at the following command ("ALTER INDEX)

This is the successor to  DBCC DBREINDEX and DBCC INDEXDEFRAG.

http://msdn2.microsoft.com/en-us/library/ms188388.aspx
0
 
LVL 1

Author Closing Comment

by:Dr_Ego
ID: 31412611
Thank you the help!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question