Are you scheduling IndexOptimize now or are you looking to schedule it? If you already have a scheduler you would change the time there. If you are looking for a scheduler, you could use a Windows Task Scheduler. (Control Panel > Administrative Tools > Task Scheduler)
I wanted to only configure index reorganize using the olla hallengren. considering my database size is 10 TB should I keep the sort in tempdb option yes? Is there a way to reorganize the index without hampering the performance? How Can I configure olla hallengren scripts only for index reorganize even if the fragmentation level is above 30 %?
Thanks for your questions! I will try and follow up with a video, but here are some quick answers should I keep the sort in tempdb option yes? Depends on how much tempdp space you have available and how big your largest index is Is there a way to reorganize the index without hampering the performance? There is no free lunch, but you can use strategy to run index maint during off hours, split the work up, and use time limits! How Can I configure olla hallengren scripts only for index reorganize even if the fragmentation level is above 30 %? You can specify the same action for all thresholds. There is no rule that says you have to have a different action. @FragmentationMedium = 'INDEX_REORGANIZE', @FragmentationHigh = 'INDEX_REORGANIZE'
Hi - Index Maintenance does use a lot of log space because they generate a lot of changes to the index structures. Each index structure is modified as a single transaction, so depending on the indexes that were rebuilt that could require significant transaction log space. Transaction log space cannot be released to be reused until transactions are completed.
This is a better update, thanks SQL
I use SQL Express so I dont have SQL Agent but I want to change the time when the IndexOptimize executes. Where do I change it?
Are you scheduling IndexOptimize now or are you looking to schedule it? If you already have a scheduler you would change the time there. If you are looking for a scheduler, you could use a Windows Task Scheduler. (Control Panel > Administrative Tools > Task Scheduler)
@@sqlanswers Thank you so much you saved me with this.
Glad I could help!
I wanted to only configure index reorganize using the olla hallengren. considering my database size is 10 TB should I keep the sort in tempdb option yes? Is there a way to reorganize the index without hampering the performance? How Can I configure olla hallengren scripts only for index reorganize even if the fragmentation level is above 30 %?
Thanks for your questions! I will try and follow up with a video, but here are some quick answers
should I keep the sort in tempdb option yes?
Depends on how much tempdp space you have available and how big your largest index is
Is there a way to reorganize the index without hampering the performance?
There is no free lunch, but you can use strategy to run index maint during off hours, split the work up, and use time limits!
How Can I configure olla hallengren scripts only for index reorganize even if the fragmentation level is above 30 %?
You can specify the same action for all thresholds. There is no rule that says you have to have a different action.
@FragmentationMedium = 'INDEX_REORGANIZE',
@FragmentationHigh = 'INDEX_REORGANIZE'
Hi ,
why Ola Hollagren index optimization job is filling up log space??
Hi - Index Maintenance does use a lot of log space because they generate a lot of changes to the index structures. Each index structure is modified as a single transaction, so depending on the indexes that were rebuilt that could require significant transaction log space. Transaction log space cannot be released to be reused until transactions are completed.