Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Backups
»
Database backup
Database backup
Rate Topic
Display Mode
Topic Options
Author
Message
Ryan007
Ryan007
Posted Friday, April 24, 2009 7:09 AM
SSCommitted
Group: General Forum Members
Last Login: Wednesday, May 01, 2013 2:43 AM
Points: 1,564,
Visits: 1,488
Hi,
I have some issue regarding database backup.
I am taking backup of full backup of my database every 2 hour.
Differential backup every 1 hour.
Transaction log backup every 15 min.
If I dont do anything in my database, then backup file should remain condtant each time. But each time transaction log backup is growing. In the maintenance plan I have mentioned as the transaction log file as overwrite. Can anyone tell me what is the problem?
Ryan
//All our dreams can come true, if we have the courage to pursue them//
Post #703919
GilaMonster
GilaMonster
Posted Friday, April 24, 2009 7:14 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:58 AM
Points: 37,665,
Visits: 29,918
Hang on.
You're backing the transaction log up every 15 min, writing to the same file and specifying overwrite? Is that correct?
Why full backups ever 2 hours? That's awfully frequent, especially with a diff every hour.
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 #703923
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Friday, April 24, 2009 8:49 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 11:02 AM
Points: 31,410,
Visits: 13,725
You transaction log backup should not be growing if you are not changing data. If it is, I can only assume that transactions are being added to the database, inserts, updates, deletes, something.
How are you specifying the backups?
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #704027
Ryan007
Ryan007
Posted Friday, April 24, 2009 8:55 AM
SSCommitted
Group: General Forum Members
Last Login: Wednesday, May 01, 2013 2:43 AM
Points: 1,564,
Visits: 1,488
This is testing purpose in testing region. But actually it wiil be one full back up per day, differential back every 4 hour and transaction log every 1 hour. Actual problem is to the growing size of the transaction log though there is no transaction is performed. Two options are available in back up 1. Append and 2. overwrite to the file.
So my question is why the transaction log is growing with any of the option? Full backup file and differential back up file is not grwing for the same option overwrite when no transaction is performed.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
Post #704036
GilaMonster
GilaMonster
Posted Friday, April 24, 2009 9:40 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:58 AM
Points: 37,665,
Visits: 29,918
One thing I would like to get clear.
Are you backing up the transaction log to the same file every time?
Do you have the overwrite option specified?
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 #704085
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Friday, April 24, 2009 9:55 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Friday, May 17, 2013 11:21 AM
Points: 4,317,
Visits: 9,216
Are you backing up to a device - or a file? How is this being selected?
What Gail was trying to get at is that overwriting an existing file destroys any maintenance plan you setup. What good is a transaction log backup if it only contains the currently backed up transaction log? You won't be able to restore the system because you are now missing the previous transaction log backup.
If you are also overwriting the differential backup - you have the same problem. As well as overwriting the full. To understand better, what is going to happen if you have to restore the system to 10:50am, but your differential backup ran at 11:00am and overwrote the previous differential backup that was run at 10:00am? Add in the fact that you have overwritten the transaction log backups and you don't have a method of restoring to that point in time. The best you can do is restore to the latest differential.
Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.
How to post questions to get better answers faster
Managing Transaction Logs
Post #704102
GilaMonster
GilaMonster
Posted Friday, April 24, 2009 10:07 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:58 AM
Points: 37,665,
Visits: 29,918
Jeffrey Williams (4/24/2009)
What Gail was trying to get at is that overwriting an existing file destroys any maintenance plan you setup.
Note to self. Get to the point...,
The best you can do is restore to the latest differential.
Providing that the full backup that was the base for that diff is still available.
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 #704111
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.