Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Database file Growth

Author  Topic 

vdavid70
Yak Posting Veteran

67 Posts

Posted - 2005-05-31 : 10:56:29
Hi all,
The size of one of my databases is about 95%. Which means it is almost full. Although i have lots of space on the hard drive where it reside, therefore can add another .ndf file. I have already shrunk the size of the file, but it has made no difference. Is there any other way to reduce the size without creating a secondary file.

Regards
Victord

nr
SQLTeam MVY

12543 Posts

Posted - 2005-05-31 : 12:04:04
Why not let it autogrow?


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

vdavid70
Yak Posting Veteran

67 Posts

Posted - 2005-05-31 : 12:07:39
It is already set to autogrow.

if it is set to autogrow does this mean that the size of the database files will reduce itself when it reaches its maximum?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2005-05-31 : 15:31:03
No. It means that the MDF file will expand to accomodate the extra growth. The default is for it to grow by 10%. Be warned though that you will receive a big performance hit when the autogrow feature is executed. If you know that you are going to surpass the current file size, schedule the expansion to occur during a maintenance window.

Tara
Go to Top of Page

tomy74
Starting Member

32 Posts

Posted - 2005-06-03 : 04:53:12
Hi,

I think your problem not only from you mdf file , check the log size also , try to shrink the log file too.
DBCC SHRINKFILE
http://msdn.microsoft.com/library/en-us/tsqlref/ts_dbcc_8b51.asp?frame=true

Thanks,
Tarek Ghazali
Go to Top of Page
   

- Advertisement -