We recently applied index compression to one of our critical tables that contains a substantial amount of data using the following query:
ALTER INDEX IX_OrderItem_ProductId ON dbo.[OrderItem] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = PAGE, MAXDOP = 8); However, after enabling compression, we observed a noticeable decline in performance. To mitigate this, we reverted the compression using the following command:
ALTER INDEX IX_OrderItem_ProductId ON dbo.[OrderItem] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = NONE, MAXDOP = 8); While this did offer some improvement, we are still experiencing higher-than-normal CPU usage, and many queries that previously ran smoothly are now timing out.
Has anyone encountered a similar issue or have insights on why CPU usage remains elevated even after compression has been disabled? Any guidance or potential troubleshooting steps would be greatly appreciated.
Thank you!