Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
vitoco
Starting Member
22 Posts |
Posted - 2008-04-18 : 11:54:35
|
| My production database has a maintenance plan that rebuilds all indexes and it's scheduled to run every day at 5 AM.I disabled some nonclustered indexes that were not used by any execution plan I found, and run a Profiler session to catch any negative impact in performance.But I found that the indexes were re-enabled the next day by the Rebuild Index task from the maintenance plan.Is there a way to keep those index disabled? I don't want to drop them as I could have to re-enable some of them by users' request.Thanks! |
|
|
dinakar
Master Smack Fu Yak Hacker
2507 Posts |
Posted - 2008-04-18 : 12:51:42
|
| if you have the script to disable the scripts, (1) you can either comment out your scripts to NOT index those disabled indexes or (2) after your job re-indexes them, run the script to disable them again..Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/ |
 |
|
|
|
|
|