SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Shrinking DB in GoDaddy.com
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mrsqlserver
Starting Member

6 Posts

Posted - 04/12/2013 :  06:21:19  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

India
2215 Posts

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

--
Chandu
Go to Top of Page

mrsqlserver
Starting Member

6 Posts

Posted - 04/12/2013 :  07:05:22  Show Profile  Reply with Quote
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

USA
15675 Posts

Posted - 04/12/2013 :  07:14:03  Show Profile  Visit robvolk's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000