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 2005 Forums
 Transact-SQL (2005)
 Shrinking DB in GoDaddy.com

Author  Topic 

mrsqlserver
Starting Member

6 Posts

Posted - 2013-04-12 : 06:21:19
Hi

I have database on GoDaddy.com (which i do NOT have admin roles), they just allow databases to grow till 200MB.

my database size is 112MB now. to avoid any problems i had to stop inserting in AuditLog Table and truncate its 350K records.

after doing that I got 85MB as unallocated space.
I dont have permission to use DBCC SHRINKDATABASE(0)

is there any other way to claim that space back?
will MS SQL Server re-use it for other tables ? ( the AuditLog Table is no longer usable )
what options do i have?

Thanks

bandi
Master Smack Fu Yak Hacker

2242 Posts

Posted - 2013-04-12 : 06:53:31
Check this link
http://support.microsoft.com/kb/913399

--
Chandu
Go to Top of Page

mrsqlserver
Starting Member

6 Posts

Posted - 2013-04-12 : 07:05:22
well, i used truncate as they mentioned, yet space still unallocated!!

what to do now?!

quote:
Originally posted by bandi

Check this link
http://support.microsoft.com/kb/913399

--
Chandu

Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2013-04-12 : 07:14:03
Unallocated means unused, so that space will be available for any new data you insert. As long as you regularly purge data you should be fine.

Other options are to create additional databases for extra data, and find another host besides GoDaddy.
Go to Top of Page
   

- Advertisement -