olahallengren / sql-server-maintenance-solution

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

TableOrder parameter #704

Open pnauta-capgemini opened 1 year ago

pnauta-capgemini commented 1 year ago

For IndexOptimize, the databaseorder parameter is nice to have, when you have multiple databases. But with one large database, it would also be nice to have a TableOrder parameter, to sort through tables ascending or descending. Sometimes our job runs out of time, so next time, I would like it to start in descending order, so at least we have a chance of rebuilding all tables at least 50% of the time.

EitanBlumin commented 1 year ago

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

Also, similar issues: #460 and #364