Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

how read from mirror server ? Expand / Collapse
Author
Message
Posted Monday, February 25, 2013 2:14 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, February 25, 2014 5:35 PM
Points: 11, Visits: 110
Hi all,

I have a production server with 3000 online users,
I set up SQL server database mirroring,
Now I want to reduce load of database by :
1: connect main users to principal database (500 users).
2: connect other users to mirror database (2500 users who just view the reports of application)

how can I read data from mirror database for fetch reports?
Shall I use log shipping ?
Any ideas ?
Post #1423773
Posted Monday, February 25, 2013 2:18 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Today @ 8:45 AM
Points: 248, Visits: 680
Take a snapshot of the mirror, and have the users connect to the snapshot:

http://technet.microsoft.com/en-us/library/ms175511.aspx
Post #1423775
Posted Tuesday, March 5, 2013 12:17 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, September 25, 2013 6:23 AM
Points: 392, Visits: 405
if you plan to make use of snapshot, do remember its static and will have data upto point in time when snapshot is created....

===========================================
Better try and fail than not to try at all...

Database Best Practices

SQL Server Best Practices
Post #1426980
Posted Thursday, March 7, 2013 3:19 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, July 31, 2014 10:34 PM
Points: 4, Visits: 92
Hi

You have 2 options to perform..
1) Go for Database Snapshot & update snapshot frequently...
2) Go for Merge (Peer to Peer) replication for enabling mulitple users to update the data & merge it finally...
Post #1427874
Posted Thursday, March 7, 2013 6:32 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Today @ 8:45 AM
Points: 248, Visits: 680
balaji.it02 (3/7/2013)
Hi

You have 2 options to perform..
1) Go for Database Snapshot & update snapshot frequently...
2) Go for Merge (Peer to Peer) replication for enabling mulitple users to update the data & merge it finally...


The OP mentioned that the secondary group was for reporting only. Why complicate things exponentially by bringing merge replication into the mix? What is the advantage to that?
Post #1427938
Posted Thursday, March 7, 2013 7:59 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, March 21, 2014 9:46 AM
Points: 387, Visits: 1,078
Saber_Talas,

Snapshot is available in Enterprise edition only. If You have it, you can go ahead with snapshot.

Log shipping (with Standby mode) will you give more convenience than snapshot. But the problem is log restore and user connection are not mutally compatible, ie, user cant connect to database while restore happens or vice-versa. So you will need to balance in timing of these two activities.
Post #1427999
Posted Thursday, March 7, 2013 11:37 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Thursday, October 2, 2014 8:05 AM
Points: 283, Visits: 1,119
How close are you to upgrading to 2012?

AlwaysOn can allow a secondary replica to accept read-only connections.



Check Your SQL Servers Quickly and Easily
www.sqlcopilot.com
Post #1428170
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse