Solved

System DBs Maintenance Plan

Posted on 2008-10-06
6
279 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
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.

734 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