June 4, 2003 at 9:16 am
I was reading through the docs because I was having trouble with a couple of my databases with huge transaction logs. I see most of my databases are set to simple and the ones that are set to full have problems with their transaction log. I read through the docs and don't quite understand what they mean by:
All data modifications made since last backup are expendable, or can be redone. Lowest logging overhead, but cannot recover past the end of the last backup.
So that means, I can only restore data from the tape from my last backup and not to worry about the transaction log?
Matt
June 4, 2003 at 10:10 am
With simple recovery you can recover to the point of the last backup. You cannot restore the database to the point in time. Since most of your database set to Simple you donโt have to worry abt the Transaction log backups. But for the Full Recovery or Bulk-Logged Recovery model you must take frequent log backup to restore point in time and also to keep your Tlog file smaller
Shas3
June 4, 2003 at 6:40 pm
Hi,
Is there a specific way to set SQL server to use simple mode in SQL7 ?. I cant seem to find doco on this and have looked almost everywhere. Its easy to do on 2000 but i cant find it in SQL7. I would like to not have such a huge tlog for my non critical dbs that dont require it !
Thanks in advance
Adam
"If the war could be over tommorrow isnt that worth fighting for? isnt that worth dying for? " Morpheus - Matrix Reloaded
------------------------------
Life is far too important to be taken seriously
June 4, 2003 at 9:47 pm
Check out the Truncatte the log on Chkpoint, havent worked then also give a try
June 5, 2003 at 6:45 am
Yes, jaybmehta's post is correct. In SQL7 EM, click the database's properties and on the options tab, check the truncate log on checkpoint box.
I advise that you make sure you do full and possibly differential backups regularly though.
June 5, 2003 at 8:21 am
If the log file still grows after the Truncate log on check point ON, you might want to schedule a hourly job with the following commands
use <Database_Name>
go
dbcc shrinkfile (Log_Filename, 300)
go
backup log Database_Name with no_log
go
As Randy suggested make sure you have full backup
Shas3
June 10, 2003 at 6:52 pm
Thanks for the info on this guys. ๐
------------------------------
Life is far too important to be taken seriously
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply