MauroMan
asked on
MS SQL Server 2012 - How to reduce MSDBData.mdf file
Hello from Italy,
we're running MS SQL Server 2012 under 2008 R2
(under VMware ESXi 5.1)
The unique database is the ERP database
(the size of ERP database is 28 GB)
We make the database backup two times at day
(The VM is fully backed-up every night)
We found MSDBData.mdf file is 32 GB !!!
Two questions:
1) MSDBData.mdf size may be correct?
2) How can we limit the MSDBData.mdf size?
(Can we modify some standard settings?)
Thank you very much for your worldwide help!
Mauro
we're running MS SQL Server 2012 under 2008 R2
(under VMware ESXi 5.1)
The unique database is the ERP database
(the size of ERP database is 28 GB)
We make the database backup two times at day
(The VM is fully backed-up every night)
We found MSDBData.mdf file is 32 GB !!!
Two questions:
1) MSDBData.mdf size may be correct?
2) How can we limit the MSDBData.mdf size?
(Can we modify some standard settings?)
Thank you very much for your worldwide help!
Mauro
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Typically what "bloats" msdb is SSIS packages. If you store packages in SQL Server, they are saved in msdb.
Look at the sysssis* tables, specifically sysssispackages, to determine if this is the case in your SQL instance.
Look at the sysssis* tables, specifically sysssispackages, to determine if this is the case in your SQL instance.
ASKER
To free space is important to create a SQL Server Maintenance Plan with Shrink Database and Clean Up History tasks!
The reason why your MDF file is so large, can be one of the below
From the given information, I think the case is the first one, your data itself is so huge so you have a huge MDF file.