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

will shrink log file or database file cause log file\backup chain to break?? Expand / Collapse
Author
Message
Posted Saturday, December 21, 2013 11:36 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 17, 2014 6:40 AM
Points: 2,567, Visits: 3,799
Hi Experts,

Can anyone please let me know whether shrinking log file or database file cause log file\backup chain to break??


Thanks in Advance.
Post #1525283
Posted Saturday, December 21, 2013 1:58 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 2:18 PM
Points: 42,449, Visits: 35,504
No


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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 #1525293
Posted Saturday, December 21, 2013 7:57 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 1:55 PM
Points: 36,749, Visits: 31,197
Ratheesh.K.Nair (12/21/2013)
Hi Experts,

Can anyone please let me know whether shrinking log file or database file cause log file\backup chain to break??


Thanks in Advance.


What will break the log chain is setting the database to the SIMPLE recovery mode, which is what a lot of people do when shrinking either type of file. I'll also say that it's generally a very bad idea to shrink either type of file unless there has been some extraordinary accidental growth the cause of which has been clearly identified and repaired prior to the shrink. If you can afford the disk space, you might just want to leave the gobs of freespace alone. The exception to that rule is if you know that you'll be restoring the databases to smaller servers that might not have such amounts of freespace and that also includes any Disaster Recovery machines.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1525309
Posted Monday, December 23, 2013 7:27 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 17, 2014 6:40 AM
Points: 2,567, Visits: 3,799
Thanks a lot Gail & Jeff.
Post #1525535
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse