TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft SQL Server

Notices

SQL 2005 - Database size

Microsoft SQL Server


Reply
 
Thread Tools Display Modes
Old 16-11-2007, 01:57 AM   #1
Mike
Guest
 
Posts: n/a
SQL 2005 - Database size

One of our db is assigned with 30 GB and set to autogrow. The issue we have
lately is that the db grow to 100 GB in a day thru a process in the
application.The purge process with in the application doesn't release the
space back to the server. This is causing space issue in that box which is
only 105 GB.

Curently we ran manually DBCC shrinkfile to get that db back into the
correct size.

Any thoughts/ideas for handling this issue without manually running DBCC
shrinkfile.

Thanks for your time.
  Reply With Quote
Old 16-11-2007, 02:58 AM   #2
TheSQLGuru
Guest
 
Posts: n/a
Re: SQL 2005 - Database size

1) don't shrink the database size!
www.karaszi.com/SQLServer/info_dont_shrink.asp

2) make a cleanup process that purges unnecessary data on a regular basis
throughout the day, then the database won't increase much in size in the
first place.



--
Kevin G. Boles
TheSQLGuru
Indicium Resources, Inc.


"Mike" <Mike@discussions.microsoft.com> wrote in message
news:879D88A8-DC61-4150-B69D-32F387450193@microsoft.com...
> One of our db is assigned with 30 GB and set to autogrow. The issue we
> have
> lately is that the db grow to 100 GB in a day thru a process in the
> application.The purge process with in the application doesn't release the
> space back to the server. This is causing space issue in that box which is
> only 105 GB.
>
> Curently we ran manually DBCC shrinkfile to get that db back into the
> correct size.
>
> Any thoughts/ideas for handling this issue without manually running DBCC
> shrinkfile.
>
> Thanks for your time.



  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 10:10 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional