Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Replication question

Author  Topic 

itsonlyme4
Posting Yak Master

109 Posts

Posted - 2008-02-20 : 05:42:00

I have two sql server 2000 servers and one of the databases is being replicated.

Both the publishing and subscribing databases are in Full Recovery Mode and the database is not that big.. about 4 GB

My problem is that the Brain Surgeon that set this up put the subscriber (destination) DB on the C:\ drive and the DB log on the subscribing Server grows and grows and fills up the drive. I shrink the log and logfile about once a week to manage it.. but is there anyway to fix it permanently? Eventually I will get a window to move the database to anyother server or to a different drive on the same server.. but it seems to me that I should be able to manage the log growth.. can I change the subscribing database from Full to Simple recovery mode without breaking replication?

RickD
Slow But Sure Yak Herding Master

3608 Posts

Posted - 2008-02-20 : 07:15:57
How often do you perform a full backup? It sounds like you are not check-pointing the database at all.
Go to Top of Page

itsonlyme4
Posting Yak Master

109 Posts

Posted - 2008-02-20 : 07:58:28
the subscribing DB has a full backup scheduled once a week
Go to Top of Page

CShaw
Yak Posting Veteran

65 Posts

Posted - 2008-02-21 : 01:15:54
Depending on the amount of data I would do a Backup more often.

Chris Shaw
www.SQLonCall.com
Go to Top of Page

itsonlyme4
Posting Yak Master

109 Posts

Posted - 2008-02-21 : 07:36:27
Can I put the subscribing DB in simple recovery mode or is it better just o schedule frequent TLOG backups?
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-02-21 : 15:18:56
You have to do log backup if keep the db in full recovery mode.
Go to Top of Page

jpotucek
Constraint Violating Yak Guru

273 Posts

Posted - 2008-02-21 : 15:47:00
Thanks. but I'm just trying to figure out what is recommended or best practice for a subscriber Database.. Full recovery with Full and TLog backups or plain old simple recovery mode with full DB backups.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-02-21 : 15:51:33
We have our subscribing database in SIMPLE recovery model since all of the objects and data are in the publishing database. If you have any objects or data that is not in the publishing database, then I would recommend keeping FULL recovery model and scheduling more frequent tlog backups. But if you can recreate the entire subscriber database from the publisher, then SIMPLE would be fine.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -