Solved

MSDB Too Big

Posted on 2012-12-31
1
911 Views
Last Modified: 2013-01-04
Hi,

We have an msdb database on sql 2008 r2 which is over 3 GB in size;
The culprit is a tbale called DTA_tuninglog which has over 500,000 rows;
How is this table populated ? - do i need this information
or is it just some background SQL process that uses this info ?
Can i truncate it and stop it being populated ?

thanks
H
0
Comment
Question by:hraja77
1 Comment
 
LVL 22

Accepted Solution

by:
Steve Wales earned 500 total points
ID: 38732706
The DTA_ tables are there because someone at some stage has used the Database Tuning Advisor

There was a question on cleanup of the DTA_tuninglog last year:

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL_Server_2008/Q_27456967.html

The documentation on the DTA is here:
http://msdn.microsoft.com/en-us/library/ms173494%28v=sql.105%29.aspx
http://msdn.microsoft.com/en-us/library/ms166575%28v=sql.105%29.aspx

Microsoft also provided a DTA cleanup script to use under certain circumstances (or, I suppose, if you don't want the DTA data anymore)

http://support.microsoft.com/kb/899634
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
push and Pull replication 31 46
SQL Pivot table 2 42
SQL 2014 missing dll from Bin? 3 31
SQL Server Compression Decision 5 37
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

685 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