Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
SQL Server Newbies
»
Help Re Indexing
Help Re Indexing
Rate Topic
Display Mode
Topic Options
Author
Message
Vertigo44
Vertigo44
Posted Friday, February 01, 2013 1:15 AM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, April 17, 2013 10:44 AM
Points: 209,
Visits: 655
Hi, I have a 28 GB SQL 2000 Database that is in need of a re index. I am currently running DBCC DBREINDEX on all tables within My_DB and was wondering if there was a way to tell when the process would complete.
Also, should I run DBCC INDEXDEFRAG after DBCC DBREINDEX completes?
Post #1414475
GilaMonster
GilaMonster
Posted Friday, February 01, 2013 1:45 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 38,099,
Visits: 30,392
Vertigo44 (2/1/2013)
Also, should I run DBCC INDEXDEFRAG after DBCC DBREINDEX completes?
Not unless you like doing your index maintenance twice.
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 #1414497
Jeff Moden
Jeff Moden
Posted Saturday, February 02, 2013 8:09 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 7:18 AM
Points: 33,112,
Visits: 27,038
Vertigo44 (2/1/2013)
Hi, I have a 28 GB SQL 2000 Database that is in need of a re index. I am currently running DBCC DBREINDEX on all tables within My_DB and was wondering if there was a way to tell when the process would complete.
Also, should I run DBCC INDEXDEFRAG after DBCC DBREINDEX completes?
No real way to tell when it will complete. Even estimates based on previous rebuilds can be way off.
To clarify what Gail said, DBCC DBREINDEX will do everything including defragging and rebuilding statistics so there's no need to do a DBCC INDEXDEFRAG after DBCC DBREINDEX.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1414942
Vertigo44
Vertigo44
Posted Tuesday, February 05, 2013 6:18 AM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, April 17, 2013 10:44 AM
Points: 209,
Visits: 655
Thank you! I was able to Reindex all the user tables that were above 30% fragmentation successfully within the maintenance window. This server is in high demand since it runs our Emergency Room application 24/7. It is very difficult for us to get a downtime window with the Physicians. That being said I have noticed a few issues...
Even after rebuilding all the indexes, each time the nightly online index reorg job kicks on, the users experience issues with the application. It's not a rebuild but a reorg. Also, the mdf files and the ldf files are located on the same drive. This drive is highly fragmented. I tried to defrag it once I finished the index rebuild but ran out of time as the users needed it. Im still trying to figure out if that could be what is causing their issues with the online reorg job kicking in.
Quick facts: SQL Server 2000, Windows Server 2003 32bit with 3.5 GB Ram. I have set SQL Server Memory Min = 1024 and Max 2.5 GB. Any ideas?
Post #1415790
mmartin1
mmartin1
Posted Wednesday, April 24, 2013 12:11 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Today @ 6:25 PM
Points: 198,
Visits: 657
What RAID type are you using? Maybe a hardware based 0+1 is needed. This is recommended for mission critical 24/7 systems.
Post #1446166
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.