Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

how to deincre logfile Expand / Collapse
Author
Message
Posted Wednesday, February 9, 2011 7:11 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, February 17, 2011 9:47 PM
Points: 4, Visits: 31
i used DBCC SHRINKFILE to truncate logfile
but the logfile is big after insert,...

i want to deincrease size of logfile when use insert, update,..
please help me

Hai Thanh
Post #1061657
Posted Wednesday, February 9, 2011 8:39 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Today @ 3:10 AM
Points: 880, Visits: 4,092
if you asking for decreasing the log file then the only thing you can do is more frequent log backup and execute small chunk of update/insert/delete statement.

Also Shrinking is never the solution for reducing the size....for more understanding of log file have a read of article from Gail:- http://www.sqlservercentral.com/articles/64582/.

Also familiarise yourself about :-
Dbcc sqlperf(logspace)
DBCC loginfo()
select name, log_reuse_wait_desc from sys.databases


----------
Ashish
Post #1061675
Posted Wednesday, February 9, 2011 11:46 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, February 17, 2011 9:47 PM
Points: 4, Visits: 31
thank you for supports, i will think about it more then
Post #1061711
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse