Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SS2K5 Replication
»
Trouble with log shipping. Reporting Server.
Trouble with log shipping. Reporting Server.
Rate Topic
Display Mode
Topic Options
Author
Message
krypto69
krypto69
Posted Thursday, January 24, 2013 7:03 AM
SSChasing Mays
Group: General Forum Members
Last Login: Yesterday @ 7:01 AM
Points: 652,
Visits: 1,575
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'..
Post #1411119
anthony.green
anthony.green
Posted Thursday, January 24, 2013 7:08 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, June 05, 2013 2:40 AM
Points: 5,075,
Visits: 4,833
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.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1411121
krypto69
krypto69
Posted Thursday, January 24, 2013 7:52 AM
SSChasing Mays
Group: General Forum Members
Last Login: Yesterday @ 7:01 AM
Points: 652,
Visits: 1,575
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?
Post #1411147
anthony.green
anthony.green
Posted Friday, January 25, 2013 1:53 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, June 05, 2013 2:40 AM
Points: 5,075,
Visits: 4,833
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.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1411526
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.