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

why weekly translog backup is so large Expand / Collapse
Author
Message
Posted Tuesday, November 13, 2012 4:30 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, June 30, 2013 9:59 PM
Points: 8, Visits: 61
I've got a sql 2000 DB with a .mdf size just under 3GB. the log file is about 2GB at this time. Most of the hourly/daily log backups are very small, between 2.5MB down to as small as 140K when there's little to no activity. However, just after my data backup maintenance plan runs the translog backup file is closer to 2.5GB. This plan runs sunday evenings only and backs up the DB and also runs the 'Reorganize data...' step under Optimizations.

I also run a translog plan daily that backs up the Trans log only, once each business hour.

Occasionally this server runs a bit low on disk space, so I'd like to know if there's any adjustment I could make to either maintenance plan that might result in a smaller translog backup after the Reorg Data operation.

Thanks for any feedback!

Post #1384341
Posted Tuesday, November 13, 2012 6:12 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Yesterday @ 7:22 PM
Points: 20,680, Visits: 32,279
Sounds like you are rebuilding indexes in your maintenance plan. Index rebuilds are a fully logged operation. Even if you switched to bulk logged recovery model the t-log backup would be large even though the t-log itself would be smaller.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1384356
Posted Tuesday, November 13, 2012 6:54 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, June 30, 2013 9:59 PM
Points: 8, Visits: 61
Lynn Pettis (11/13/2012)
Sounds like you are rebuilding indexes in your maintenance plan. Index rebuilds are a fully logged operation. Even if you switched to bulk logged recovery model the t-log backup would be large even though the t-log itself would be smaller.

Thanks, Lynn. Yes, I've got 'Reorganize data and index pages' checked in the plan that runs weekly. Sounds like there's no way to reduce the size of this log backup when it's created just after the reindex. I guess I could move/save it off to another drive after it gets created (to free up the drive space).

Thanks again.
Post #1384365
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse