olahallengren / sql-server-maintenance-solution

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

Change recovery model during index maintenance #715

Open dkumar2001 opened 1 year ago

dkumar2001 commented 1 year ago

Hello, It would be great to have a new parameter that would allow us to change the recovery model to "BULK_LOGGED" before index maintenance and then revert it back to FULL recovery after index maintenance. This would reduce the tlog space used as well as potentially the time it takes for the reindex.

This would obviously be an optional parameter with default of no change in recovery model.

Additionally the documentation would need to provide "caveats" of doing this.