Question

  Asked: May 20 2008   7:36 AM GMT
  Asked by: Fartman


Sql server 2005 database filesize auto grow


SQL Server 2005, SQL Server performance tuning

Hi i'm running sql server 2005 sp2 on a w2k cluster; i'm expericing this issue whereby the file size of a particular database will auto increase even though no one is even accessing it.
Is there anyway to findout the cause of this issue or how can i stop the database from auto increasing the file size

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



There is probably a job scheduled to run which is causing the auto grow. Check the SQL Agent and see what jobs are scheduled. You can also fire up SQL Profiler and see what's running on the SQL Server and when the autogrow event occurs.

If the autogrow is happening at night it's probable that the maintenance plan is causing the autogrow. Normal database maintenance requires that the database have enough free space to contain the largest index being worked on twice, so if there is not enough free space the server will grow the database to make enough room.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on SQL Server.

Looking for relevant SQL Server Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Alessandro.panzetta  |   May 20 2008  1:02PM GMT

Hello,
I suggest you checking if perhaps the backup is causing the issue; I has the same problem with a wrongly setup of backups that brought the db at 800mb while it was simply 140Mb.
Bye

 

Mrdenny  |   May 20 2008  3:26PM GMT

Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.