Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

System DBs Maintenance Plan

Posted on 2008-10-06
6
Medium Priority
?
290 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
  • 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 70

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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 70

Accepted Solution

by:
Scott Pletcher earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

927 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