olahallengren / sql-server-maintenance-solution

SQL Server Maintenance Solution
https://ola.hallengren.com
MIT License
2.87k stars 737 forks source link

IndexOptimize by fragmentation importance #460

Open mpriori opened 3 years ago

mpriori commented 3 years ago

As we can use @TimeLimit, it would be nice to order index optimisation by 1 : needs = index fragmentation 2 : importance = index fragmentation & index size 3 : user choose = given property name in index extended properties

As a result the next run cope optimization in attended fashion

EitanBlumin commented 1 year ago

+1 on this. Same need here. It would be great having various sorting options available for tables or indexes:

Not sure about the extended property thing, though. I think that one is a stretch.

Also, similar issues: #704 and #364