Solved

System DBs Maintenance Plan

Posted on 2008-10-06
6
280 Views
Last Modified: 2009-01-06
Is there a best practice approach to this?
I mean what is standard across the option when creating a system db plan.
Obviously back up the DBs but what about the other tabs (SQL 2000). Which are illogical when dealing with system dbs?
0
Comment
Question by:QPR
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:tempter
ID: 22655420
Hey mate

Check this site out, its a maintenance plan via scripts.
http://blog.ola.hallengren.com/blog/_archives/2008/1/1/3440068.html

I think its great and im going to implement this myself.

GoodLuck
Morci
0
 
LVL 29

Author Comment

by:QPR
ID: 22655487
thanks but that is for user DBs I'm talking system DBs.
It's also 2005/8
0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 22661092
You should definitely back up master and msdb, at least a few times per day.  You can use a standard maintenance job for that; create a separate plan that just does the system dbs and does not include t-log backups, only full db backups.

Also, do a test restore of your system, starting with master (on a test server, of course :-) ).  Restoring master is different than other dbs, and it is best to have practice with it and know how to do it before a real emergency occurs.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 29

Author Comment

by:QPR
ID: 22663566
Thanks Scott. For me the backing up of the db and logs are a definate.
I've got many MPs running already but I've usually accepted the defaults and stepped through the wizard.
I just wondered whether the steps were necessary for system DBs.... optimise? free space? integrity? rebuild indexes?

I can make these decisions for user dbs but what is the "norm" when it comes to system DBs?
0
 
LVL 29

Author Comment

by:QPR
ID: 23299242
Any offers so I can close this Q?
I back up all system DBs nightly. If using a maintenance plan should I include options such as optimise? free space? integrity? rebuild indexes? or are these things irrelevant on system DBs?
0
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 500 total points
ID: 23305310
Sorry for the delay.

Yes, you can do optimization, integrity checks and rebuild inexes; they are relevant to all dbs.

However, be sure to specify the option that says roughly: "Use original amount of free space" rather than the default "Force/Set free space to 10%".  In fact, the force/set option should NEVER be used, particularly for user dbs, because it could undo tuning done on a table by table basis.  ALWAYS set to use the original amount of fs.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question