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
 General SQL Server Forums
 New to SQL Server Administration
 Log file growing in Simple recovery model
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ahmeds08
Aged Yak Warrior

India
693 Posts

Posted - 12/24/2012 :  04:02:50  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
Dear Experts,
I have set my database to SIMPLE recovery model,but the log file still grows to huge size 80 gb.
i have inserts and updates occurring on the database thrugh SSIS.
please help.

Thanks,
Javeed.

prett
Posting Yak Master

USA
205 Posts

Posted - 12/24/2012 :  06:22:07  Show Profile  Visit prett's Homepage  Reply with Quote
Log size is depend on the transaction. If you are running huge transaction, it may cause big log file. Are you running any INDEX REBUILD or INDEXDEFRAG commands? If so then it may be the effect of huge log file.

Run the DBCC OPENTRAN and see if there are any open transactions?
Run the profiler and see who is doing what which is causing such issue.
Go to Top of Page

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/24/2012 :  10:29:28  Show Profile  Reply with Quote
Log truncation occurs at checkpoint. You need to insert/updates in batches.
Go to Top of Page

jeffw8713
Aged Yak Warrior

USA
808 Posts

Posted - 12/24/2012 :  11:04:14  Show Profile  Reply with Quote
In each OLE DB Destination - there are 2 options that you can set that will control how large the batch size and commit size are. Setting those options will 'batch' your inserts and commit the data, allowing the transaction log to be reused.
Go to Top of Page

xingchent
Starting Member

3 Posts

Posted - 12/27/2012 :  03:59:34  Show Profile  Reply with Quote
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work.
[url=http://www.uggbootssoutlet.com]Ugg Boots Outlet[/url]
[url=http://www.uggbootssoutlet.com/ugg-boots-ugg-classic-c-4_6.html]Ugg Classic Boots[/url]
[url=http://www.belstaffsgroup.com]Belstaff Jackets[/url]
[url=http://www.belstaffoutletonline.co.uk/menswear-belstaff-jackets-c-1_2.html]Belstaff Mens Jackets[/url]
[url=http://www.karenmillenstyles.com]Karen Millen Dress[/url]

xingchent xingchent
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.05 seconds. Powered By: Snitz Forums 2000