February 1, 2013 at 1:15 am
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?
February 1, 2013 at 1:45 am
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, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 2, 2013 at 8:09 am
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
Change is inevitable... Change for the better is not.
February 5, 2013 at 6:18 am
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?
April 24, 2013 at 12:11 pm
What RAID type are you using? Maybe a hardware based 0+1 is needed. This is recommended for mission critical 24/7 systems.
----------------------------------------------------
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply