December 14, 2012 at 2:09 am
Hello all,
this is something that really annoys me: when I want to check my Maintenance Plan for backup history, it takes ages (i.e. > 10 min:-D) for all logs to get initialized.
Can you tell me a handy way to get the entries faster without changing log file retention or else?
Thank you very much
December 14, 2012 at 2:28 am
Have you ever cleaned backup history?
http://technet.microsoft.com/en-us/library/ms188328.aspx
exec msdb.dbo.sp_delete_backuphistory 'oldest_date'
December 14, 2012 at 2:35 am
Thank you for the fast reply,
no, I didn't, because I don't want to touch the history, if it is possible.
I know, it sounds like wanting to eat the cake and keeping it.
December 14, 2012 at 5:07 am
Hmm, maybe that was a misunderstanding: I want to reduce the time it takes to see the History Log of the Maintenance Plan, has nothing to do with backups or anything.
December 14, 2012 at 7:09 am
Arthur Kirchner (12/14/2012)
Hmm, maybe that was a misunderstanding: I want to reduce the time it takes to see the History Log of the Maintenance Plan, has nothing to do with backups or anything.
In that case, I hope you're doing "Point-in-Time" log backups on the MSDB database. 😉
The GUI for these things is notoriously slow. You can help that a bit by using "filters" on the screen but I still find it slow if you never truncate the history.
One thing you could do is write a proc to copy the history each night and then truncate the real history. That way you can eat the cake and keep it. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply