msdb data file size reading at 88% full

Posted on 2007-03-29
Medium Priority
Last Modified: 2008-02-01
Using Sql 2000: my msdb data file size is 88% full , and one of my other databases data file size is 85% full.  I've read that shrink database may help.  Any suggestions on how to reduce the size?  How do I see if it is set to automatically grow?  If the size is at this size will there be a lot of performance issues?


Question by:yanci1179
  • 4
  • 3
LVL 16

Accepted Solution

rboyd56 earned 2000 total points
ID: 18817383
IF the databases are 88% and 85% full then I am not shrinking them is the best thing to do. Depending on the actual sizes then any data modification could cause them to autogrow which is definitely could cause a performance issue.

The size of the database usually does not have a hugh bearing on performance. It really depends on the number of records in the tables and how well the data is indexed.

You can chack to see if the database files are set to auto grow by looking at the properties of the database in Enterprise Manager. Or you can run sp_helpdb database name. The output will give you this information.
LVL 10

Expert Comment

ID: 18817398
Are you currently experiencing performance issues?  What are the actual database sizes?
In SQL 2000 you can use the Data Files tab in the Database Properties window in Enterprise Manager to see whether the "Automatically grow file" checkbox is checked for a particular file - not sure how to review this in SQl 2005.

Author Comment

ID: 18817662
they are not set to auto grow.  Decided that it would be better to add disk space or re-allocate space from another database,.  new at this, any suggestions?
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.


Author Comment

ID: 18817669
Here's the stats on the databases

Database: msdb
Number of tables: 114
Data file size: 4541 MB (88% full)
Data size: 3674.62 MB
Index size: 560.45 MB
Log File: 3.99MB

Number of Tables: 2570
Date File Size: 26,382 MB (86% full)
Data Size:14,724.33 MB
Index Size:8,058.27 MB
Log File: 12,681.2 MB
LVL 16

Expert Comment

ID: 18817987
My thinking is that you should your databases to a size that is appropriate for them and then monitor them closely to make sure they do not get full. However, it is a good idea to have auto grow enabled for that one time when a large transaction might cause the databse to get full.

If you are backing up your databases regularly you can run the sp_delete_backuphistory in msdb. This will free up space in that database by deleteing old backup history.

Author Comment

ID: 18818835
i thought that i should add more disk space.
LVL 16

Expert Comment

ID: 18818940
That is always an option if you are going to need more space.

Author Comment

ID: 18819871
how do i determine if space is the issue.  what other things can i look at before i suggest to get more space?

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
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.

600 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