Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 sql server 2000 - db size issues
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

weeweeslap
Senior Member

USA
1077 Posts

Posted - 18 December 2007 :  23:42:51  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I have a sql db for my website www.weeweeslap.com the datebase (mdf) file is closing in on 800 MB where the logfile (ldf) is closing on on 10 gigs. Is there a way to make it more convenient size wise? Make it smaller? Not that size is a problem on my computer but it takes an hour to rar them two files if I want to rar them. I do use the auto backs ups and that too turns out to 756+ mb. Well, any help on reducing the size of these files will be appreciated. Thanks.

coaster crazy

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 19 December 2007 :  02:12:22  Show Profile  Visit HuwR's Homepage
a 10Gig log file means your db is setup wrong, in the properties for the db you should set the recovery level to simple. then do a backup and perform a shrink operation on the logfile.
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 19 December 2007 :  02:59:00  Show Profile  Visit SiSL's Homepage
quote:
Originally posted by HuwR

in the properties for the db you should set the recovery level to simple. then do a backup and perform a shrink operation on the logfile.



He is right on the spot. Had me few days to understand what those means when I first work with SQL server.

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 19 December 2007 :  12:11:03  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
Right on. Thanks Huwr! I did what you said and logfile went down to just 500 kb and the database went down to a little over 700 MB. uch better than the grand total of 11 gigs that it was before
Thanks Huwr!

coaster crazy
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 19 December 2007 :  13:55:55  Show Profile  Visit HuwR's Homepage
no problem
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07