Registered member login:
Register Now
Altirigos » Altiris Administrators » SQL » Reclaim Space on SQL Server

» Current Poll
Vista?
Staying on XP until Windows 7 - 67.44%
29 Votes
Already on Vista - 6.98%
3 Votes
Planning an upgrade to Vista soon - 18.60%
8 Votes
Other (please explain) - 6.98%
3 Votes
Total Votes: 43
You may not vote on this poll.
» Stats
Members: 6,597
Threads: 9,558
Posts: 46,998
Top Poster: Nick (4,763)
Welcome our newest member, bhill
» Online Users: 23
0 members and 23 guests
No Members online
Most users online at once 294, 06-30-2007 at 01:24 PM.
» November 2008
S M T W T F S
262728293031 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 123456
Reply
Old 08-20-2008, 09:05 PM   #1 (permalink)
 
Status: Super Altiris Admin
Join Date: 04-19-2005
Location: Arizona
Age: 32
Posts: 186


Reclaim Space on SQL Server

Hey all,

I have been trying to free up some space on my SQL server and have been unsuccessful. Basically, I have changed all my purging rules, etc., but still need to reclaim the actual drive space previously consumed. I am out of drive space (200Gb drive and 2Gb left free). I have been using the shrink db and shrink file options, but to no avail. Can someone tell me if I need to have more free space available in order to shrink and reclaim all the unused space in the db? Or, is there something else I need to do to get the unused space reclaimed for the OS....???

Thanks,
Kevin

Last edited by knwilson; 08-20-2008 at 09:50 PM..
knwilson is offline   Reply With Quote
Old 08-21-2008, 11:29 AM   #2 (permalink)
 
TRYDL's Avatar
 
Status: Super Altiris Admin
Join Date: 03-08-2006
Location: Baltimore, MD
Age: 28
Posts: 305


Quote:
Can someone tell me if I need to have more free space available in order to shrink and reclaim all the unused space in the db? Or, is there something else I need to do to get the unused space reclaimed for the OS....???
Have you had a chance to review this listing of options?

How do I reclaim space in SQL Server?
TRYDL is offline   Reply With Quote
Old 08-26-2008, 12:19 AM   #3 (permalink)
 
Status: Super Altiris Admin
Join Date: 04-19-2005
Location: Arizona
Age: 32
Posts: 186


Thanks for the response. After many hours of hunting and digging, I found the problem with my Db size was related to the purge maintenance plans timing out when attempting to run. The NSMessageQueue was the largest table and the scheduled task to purge this was not working and simply timing out. I ended up running the stored procedure used by the purge task to get rid of all the "closed" events without dealing with the timeouts. Now that the table is under control, the purge maintenance works properly and the database size is once again where it should be..

Thanks again,
Kevin
knwilson is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 07:14 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos