IndexOptimize = not working? #639
Replies: 5 comments 1 reply
|
I noticed this is an old post, but I am trying to figure out this as well. Did you ever figure out why it didn't seem to be working? |
|
Rebuild-Online is not a feature available in SQL Standard. Only Enterprise (Maybe Developer as well?) |
|
I have seen issue with IndexOptimize where if a table has column store index, it skips all indexes on that table. We fixed it in our local copy. |
|
Any news on this? I'm trying to use the most simple way and it's keeping a LOT of indexes with high fragmentation. Most of the indexes are type 2 (Nonclustered), few are 1 (clustered), but none Column Store. |
|
Error when execute [master].[dbo].[IndexOptimize] witha parameter SYSTEM_DATABASES an instance in Azure SQL Managed Instance Ola Hallengren EXECUTE [master].[dbo].[IndexOptimize] Give this error: When object_id exist in database master USE [master] Result: Best Regards Version: 12.0.2000.8 Date and time: 2024-12-17 00:42:25 Msg 50000, Level 16, State 1, Procedure master.dbo.IndexOptimize, Line 1912 [Batch Start Line 1] Date and time: 2024-12-17 00:42:25 Date and time: 2024-12-17 00:42:25 Msg 50000, Level 16, State 1, Procedure master.dbo.IndexOptimize, Line 1912 [Batch Start Line 1] Msg 50000, Level 16, State 1, Procedure master.dbo.IndexOptimize, Line 1912 [Batch Start Line 1] Msg 50000, Level 16, State 1, Procedure master.dbo.IndexOptimize, Line 1912 [Batch Start Line 1] Date and time: 2024-12-17 00:42:25 Date and time: 2024-12-17 00:42:25 Date and time: 2024-12-17 00:42:25 |
Uh oh!
There was an error while loading. Please reload this page.
I'm stumped as to why the IndexOptimize is running "successfully" but not actually updating the index. Looking for help from the community.
Is it because of the mirroring?
If so, how can I work around that?
The index is 99% fragmented over 1200+ pages and has over 277,000 rows.
The command I'm running is very specific and targeted as this single table and index.
The output from the IndexOptimize makes it look like things ran just fine.
All reactions