Hi everyone,
It’s been a while since I used out Test system and upon trying to log in today I got the error “The transaction log for database ‘impresario’ is full”.
I can see allot of conversation in the forums about transaction logs but seems I know very little about this topic I don’t really know where to start. Can someone point me in the right direction or have any documentation on how to solve this? I don’t know what kind of backup our Test database even has, or where to find this.
I downloaded the free trial of RedGate SQL Script Manager that I saw recommended by a few but not sure where to go from there.
Thanks for any help!
Natasha
Hi Natasha,
We do not back up our test database. We refresh it every other week from live (soon to be every week), so our focus on backups is on the live database. Likewise, I set the recovery mode on our test database to simple during each refresh. My opinion is there is no reason for transaction logging on the test side – we have no reason to ever need to recover at a point in time on the test side. (That may not be true of every organization, but is the case for us.) Doing that keeps it simple (no pun intended) and eliminates issues, like transaction logs filling up.
The key thing is you really only need Full recovery model on databases that you need to have the ability to restore to a specific point in time and/or where database backups are not adequate. For example, we do transaction backups every 30 minutes on our live database as it is unacceptable to us to have to lose a partial day of transactions if there is a major failure. For databases, like test databases, it’s often best to use Simple recovery model. Likewise, if you use the Full recovery model, you need to implement transaction backups of some sort. It is not really a best practice to use methods, like shifting to simple then back to full, on a routine basis to truncate the transaction log.
I hope this helps.
Thanks,
David
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Natasha Purkiss Sent: Wednesday, August 29, 2012 8:56 AM To: David Frederick Subject: Re: [Tessitura Technical Forum] Transaction log is full - how to fix this?
Just to add to this:
Under Properties > Options the Recovery model is set to Full
Under General the last database backup is 12/2/2011 (last time we refreshed). Under Transaction Log shipping everything is greyed out so I guess that means it’s not actually doing anything.
On a side note, how do others manage their Test database in terms of backups, if at all?
From: Natasha Purkiss <bounce-natashapurkiss5883@tessituranetwork.com> Sent: 8/29/2012 10:26:47 AM
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
Thanks for the advice everyone. I definitely understand this process allot more now and will endeavor to set something up. Thanks again.