Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ahmeds08
Aged Yak Warrior
737 Posts |
Posted - 2012-12-24 : 04:02:50
|
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
212 Posts |
Posted - 2012-12-24 : 06:22:07
|
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. |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2012-12-24 : 10:29:28
|
Log truncation occurs at checkpoint. You need to insert/updates in batches. |
|
|
jeffw8713
Aged Yak Warrior
819 Posts |
Posted - 2012-12-24 : 11:04:14
|
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. |
|
|
xingchent
Starting Member
3 Posts |
Posted - 2012-12-27 : 03:59:34
|
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 |
|
|
|
|
|