|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, February 26, 2013 6:05 AM
Points: 10,
Visits: 77
|
|
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 ?
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 3:07 PM
Points: 138,
Visits: 355
|
|
Take a snapshot of the mirror, and have the users connect to the snapshot:
http://technet.microsoft.com/en-us/library/ms175511.aspx
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Saturday, April 27, 2013 9:30 PM
Points: 392,
Visits: 384
|
|
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
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 4:02 AM
Points: 4,
Visits: 62
|
|
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...
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 3:07 PM
Points: 138,
Visits: 355
|
|
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?
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Today @ 4:40 AM
Points: 299,
Visits: 479
|
|
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.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Today @ 6:18 AM
Points: 242,
Visits: 882
|
|
|
|
|