Follow sqlserver-dba.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

SQLServer-DBA.com Links

Dba_db2_button

dba-ninja.com

SQL Server DBA Jobs

How to monitor progress of Online Index Rebuild

23 March,2016 by Tom Collins

After posting How to monitor progress of Offline Index Rebuild , I received an email asking how to monitor an Online Index Rebuild.

If I need to monitor the progress of an Online Index Rebuild it is usually to estimate how much time may be left. One of the benefits of an Online Index Rebuild is the capacity to maintain access to the Index , but one of the costs is the maintenance of two index trees simultaneously . This can cause some resource contention

The Progress Report: Online Index Operation event class is exposed through Profiler and will supply the online index build operation progress

A few things I like about the Progress Report: Online Index Operation event class are:

1) The BigData1 column actually presents the amount of rows inserted. If you know the amount of rows , then you can estimate on the basis of the rows already inserted how long the job will take

2)PartitionID and PartitionNumber columns

3)Start Time

 

Read More on Index Maintenance

Manage Transaction Logs during Index Rebuild - SQL Server DBA

SQL Index Fragmentation and sys.dm_db_index_physical_stats ...

SQL Script - How to get the table size, index size and last user update

 

 

 


Author: Tom Collins (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to monitor progress of Online Index Rebuild


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer