We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Above one by Scott should be sufficient if you are quick starter..
If your metrics_crs table is huge and if your index size is also huge, then you would need to look into few more options listed below depending upon your SQL Server version, table whether it is compressed or not..
1. REBUILD WITH ONLINE = ON
2. ONLINE = ON
3. SORT_IN_TEMPDB = ON
4. PARTITION = partition_number
If your metrics_crs table is huge and if your index size is also huge, then you would need to look into few more options listed below depending upon your SQL Server version, table whether it is compressed or not..
1. REBUILD WITH ONLINE = ON
2. ONLINE = ON
3. SORT_IN_TEMPDB = ON
4. PARTITION = partition_number
Complete info about the above parameters here..
https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-index-transact-sql?view=sql-server-ver15