Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Shrink log file in re index job running state.... Expand / Collapse
Posted Monday, October 7, 2013 12:20 AM


Group: General Forum Members
Last Login: Wednesday, June 15, 2016 11:01 PM
Points: 120, Visits: 470
As i am running re-index job, While running the re-indexing job on a server, log file size is growing ..can we shrink it directly ? what safety measures to do take ?... Please help me out any one...
Post #1501996
Posted Monday, October 7, 2013 6:35 AM


Group: General Forum Members
Last Login: Thursday, October 20, 2016 2:00 PM
Points: 6,147, Visits: 13,677
don't shrink it, it will just grow again on the next reindex. Either back the log up more frequently, put the database in bulk logged mode during the reindex or simply ensure you have enough disk space to handle the reindex load.


Post #1502106
Posted Monday, October 7, 2013 7:29 AM



Group: General Forum Members
Last Login: Yesterday @ 10:06 PM
Points: 45,436, Visits: 43,788
Don't shrink the log.

Take a read through this:

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1502119
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse