Hi @Arunkumar Janakiraman ,
Starting from SQL Server 2008, there is a DMV view sys.dm_exec_requests. There is a field percent_complete representing the percentage of work done by some commands. This includes index reorganization (ALTER INDEX REORGANIZE), which does not include ALTER INDEX REBUILD, which can be viewed The percentage of index reorganization (ALTER INDEX ORGANIZE) completed. In other words, the progress of index reorganization cannot be obtained before SQL Server 2008.
There is a similar case for your reference:
Check progress of alter index reorganize / rebuild
If you have any question, please feel free to let me know.
If the response is helpful, please click "Accept Answer" and upvote it.
Regards
Echo
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues November--What can I do if my transaction log is full?
Hot issues November--How to convert Profiler trace into a SQL Server table