Solved

System DBs Maintenance Plan

Posted on 2008-10-06
6
275 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 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql server insert 12 30
SQL Querying data from 3 tables, all with 1 common column 4 36
insert wont work in SQL 14 22
SQL - Copy data from one database to another 6 19
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…
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

777 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