Trouble with log shipping. Reporting Server.

  • Hi,

    This is a new setup I'm trying to accomodate load.

    I have server A that is production server. I have server B which is the exact same DB on server A that will be used only for reporting.

    I have log shipping setup between server A and server B. Log shipping works ( I have DB B setup as standby/read only) - it works but if I run a query, then check my log shipping job I get the log shipping job error:

    "Exclusive access could not be obtained because database is in use"

    I need server B to be my report server, so I can't have it not complete the log shipping.

    What can I do? I need server A and server B to be in sync and be 'reportable'..

  • You will need to ensure that you have selected disconnect users when restoring.

    You cannot restore a log if the DB is being used by a user.

    So if your logshipping is set to restore every 15 minutes, users will be kicked out every 15 minutes while it restores the log.

  • Guessing it kick out my users if they are in the middle of running a report?

    If so, that would be bad.

    Do I have any other options for my senario?

  • Transactional Replication would be the only real alternative.

    Unless you can live with delays when you can write your own SSIS packages to transfer new data, updated data, deleted data at a regular interval.

    But that would depend on your database being up to the task with auditing on when things get deleted updated inserted. If you can upgrade to 2008 Enterprise you could look at change data capture.

Viewing 4 posts - 1 through 3 (of 3 total)

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