Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 29th, 2006, 08:10 PM
lcloteria lcloteria is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 1 lcloteria User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 31 sec
Reputation Power: 0
Abundantly growing log (ldf) file!!! Need Help!

Hi! I'm a MS SQL Server 2000 user and I just need everyone's help on my abundantly growing database log file! I have a 2GB worth of database (mdf) and its log file grows up to 17GB and occupies my harddisk space! Hope someone could help me in determining how I could possibly resolve this file growth without making any impact on my DB's performance. Thanks!

Reply With Quote
  #2  
Old April 24th, 2006, 09:48 AM
eralpery eralpery is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 19 eralpery User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 37 m 49 sec
Reputation Power: 0
Hi,
If you keep your databases recovery mode as simple then sql server will create less log data.

If you have to keep the recovery mode as full, then after full database backups clear the transaction logs.

Eralper
http://www.kodyaz.com

Reply With Quote
  #3  
Old March 6th, 2008, 09:48 AM
ashwin.bajoria ashwin.bajoria is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 1 ashwin.bajoria User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 28 sec
Reputation Power: 0
Many other things you can try as well....

1 change the Recovery model to Simple (If you back up your logs daily you wont need that feature much often)

2. Backup the database with truncate_only option

3. Have auto-shrink option checked under properties of the databases.

4. shrink the file size : If you have access to Enterprise manager on select the database >> Right click on your Database >> Shrink Database >> Files button >> Select log file >> Specify minimum available size

5. There are these undocumented commands
DBCC SHRINKFILE and SHRINKDATABASE commands
You can use the Microsoft Technet site to search for these commande or Google them

Reply With Quote
  #4  
Old March 10th, 2011, 01:23 AM
jetsan jetsan is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Location: USA
Posts: 1 jetsan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 52 sec
Reputation Power: 0
Send a message via ICQ to jetsan
The first post

I am new,wish you a happy day!

Reply With Quote
Closed Thread

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Abundantly growing log (ldf) file!!! Need Help!


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap