olahallengren / sql-server-maintenance-solution

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

New Feature for Index Maintenance #772

Open JSpence44202 opened 1 year ago

JSpence44202 commented 1 year ago

Hello, It would be great to add a feature to filter which partitions we want to operate on. I have databases that have decades of history partitioned by month. I only want to defrag the current data.

mdaniou commented 1 year ago

Hi @JSpence44202 ,

I find your suggestion interesting.

Do you agree that you would define the partitions to defrag with its number ?

mvendramin commented 11 months ago

OPS, I opened a similar request today, I didn't read inside this one because request title was not self-explaining.

I am glad to see that I am not the only one asking for this feature