Can SQL 2000 with Simple recovery model Can SQL 2000 with Simple recovery model participant in Backup and Recovery of Snapshot transaction replication

  • Hello room,

    Can SQL 2000 with Simple recovery model participant in Backup and Recovery of Snapshot transaction replication?

    Thanks,

    TJ

  • Edwin-376531 (11/18/2009)


    Hello room,

    Can SQL 2000 with Simple recovery model participant in Backup and Recovery of Snapshot transaction replication?

    Thanks,

    TJ

    Actually your single line question does not convey the complete sense of your question / doubt.

    So I am answering based on what I understood from it.

    A database in Simple recovery model can participate in Snapshot replication and also transactional replication.

    I am not sure what do you mean by "Backup and Recovery of Snapshot transaction replication?"

    Replication does not have backup and recovery, a database has backup and recovery.

    Moreover there is nothing like Snapshot transaction replication, it is Snapshot replication and transaction replication.

    Correct me if I did not understand your question.


    Bru Medishetty

    Blog -- LearnSQLWithBru

    Join on Facebook Page Facebook.comLearnSQLWithBru

    Twitter -- BruMedishetty

  • I wanted to replicate a 100 GB database over WAN.

    The database instance is setup with simple recovery model and it run on SQL Server 2000.

    I research some articles on web sites and it explained how to setup a transaction replication use a backup database.

    During my testing, I run into some issues that indicated the publisher database is in Simple recovery model.

  • Edwin-376531 (11/18/2009)


    I wanted to replicate a 100 GB database over WAN.

    The database instance is setup with simple recovery model and it run on SQL Server 2000.

    This is understood....

    I research some articles on web sites and it explained how to setup a transaction replication use a backup database.

    During my testing, I run into some issues that indicated the publisher database is in Simple recovery model.

    This is confusing.....

    Let me explain my confusion.. In the very first sentence itself you have mentioned that your database is in simple recovery model, and in the last sentence you reiterate that during testing some issues indicated the publisher is in simple recover model.

    Please explain

    What testing you have done?

    Your replication topology (which system is the publisher, distributor and the subscriber)

    What issues you ran into?

    It is highly unlikely to know what trouble you are facing without any technical information.


    Bru Medishetty

    Blog -- LearnSQLWithBru

    Join on Facebook Page Facebook.comLearnSQLWithBru

    Twitter -- BruMedishetty

  • Edwin-376531 (11/18/2009)


    During my testing, I run into some issues that indicated the publisher database is in Simple recovery model.

    Transactional replication does not depend on recovery model. http://sqlinthewild.co.za/index.php/2008/12/05/a-new-sql-myth/

    What issues did you run into?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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
  • I execute the following db script on publisher:

    EXEC sp_replicationdboption @dbname = 'TestDB', @optname = N'Sync with backup', @value = N'true';

    Errors on:

    Msg 20622 - Replication database option 'sync with backup' cannot be set on the publishing database because the database is in Simple Recovery mode.

  • Then you just can't use the 'sync with backup' option. The replication itself will work.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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
  • the sync with backup option is used in replication to ensure you have a consistent recovery point with the distribution database if you have to restore the publication database. It does this by not transferring any data to the distributor from the publication database until they are backed up. Hence you need log backups, hence you cannot have the db in simple mode.

    So if you want this feature (and you don't have to have it) the db cannot be in simple mode, but transactional replication itself will work with the db in simple mode.

    having this feature turned on is good practice in terms of recoverability but it does affect latency, so you have to decide which is more important to you.

    see http://msdn.microsoft.com/en-us/library/aa237094(SQL.80).aspx

    ---------------------------------------------------------------------

  • Thanks for your clarifications. It answers and clear up my questions.

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply