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

Database Mirroring Or Log shipping?? Expand / Collapse
Author
Message
Posted Monday, July 15, 2013 4:41 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 5, 2014 10:24 PM
Points: 48, Visits: 370
Hello all,

I want to maintain another database only for Reports.what is the better ways for achieving this Database Mirroring Or Log shipping??

Please suggest best way..

Thanks& Regards
------------
swati
Post #1473563
Posted Monday, July 15, 2013 4:54 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Monday, September 8, 2014 8:17 AM
Points: 5,991, Visits: 12,939
probably log shipping, but it depends For mirroring you will need to create snapshots and have enterprise edition.

Neither are perfect though, with log shipping you will need to decide what to do when restoring logs as users will need to be kicked off. A major factor in your decision will be the latency required for the reports.

Other options would be transactional replication or simple full database copies, if you have SQL2012 always on availability groups are good for setting up reporting databases as the mirror is readable.


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

Post #1473570
Posted Monday, July 15, 2013 5:38 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 5, 2014 10:24 PM
Points: 48, Visits: 370
thank you for reply...
I am using sql server 2008 R2...
Post #1473597
Posted Monday, July 15, 2013 8:21 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 4:51 AM
Points: 6,350, Visits: 13,674
$w@t (7/15/2013)
thank you for reply...
I am using sql server 2008 R2...

Given this, what is your allowable latency for restoring the logs?


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1473676
Posted Tuesday, July 16, 2013 12:44 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 5, 2014 10:24 PM
Points: 48, Visits: 370
i need to get reports based on given values..if i enter today's date i need to get all data till today..reports can be requested any time
Post #1473999
Posted Tuesday, July 16, 2013 3:53 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 4:51 AM
Points: 6,350, Visits: 13,674
$w@t (7/16/2013)
i need to get reports based on given values..if i enter today's date i need to get all data till today..reports can be requested any time

Up to today or up to and including today??

if you only need data up to today then your restore latency is a whole day and log shipping will be fine. if you need data including today then you will need to get an SLA defined to cover the log restore disconnections. Previously i have specified a 4 hourly window for log restores so the data is only ever 4 hours old


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1474046
Posted Tuesday, July 16, 2013 4:04 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Monday, September 8, 2014 8:17 AM
Points: 5,991, Visits: 12,939
following on from what Perry said if you do in fact truly need up to the minute reporting you may need to look at transactional replication, its the only option that will give you that, failing an upgrade to SQL2012 and using always on.

a possibility is not scaling out the reporting but switching to an optimistic locking level (snapshot isolation) so readers do not block writers and vice versa, would need extensive testing though.


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

Post #1474049
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse