SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database Mirroring Or Log shipping??


Database Mirroring Or Log shipping??

Author
Message
$t@r
$t@r
SSC-Addicted
SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)

Group: General Forum Members
Points: 427 Visits: 628
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
george sibbald
george sibbald
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25058 Visits: 13698
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.

---------------------------------------------------------------------
$t@r
$t@r
SSC-Addicted
SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)

Group: General Forum Members
Points: 427 Visits: 628
thank you for reply...
I am using sql server 2008 R2...
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)

Group: General Forum Members
Points: 54975 Visits: 17694
$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" ;-)
$t@r
$t@r
SSC-Addicted
SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)SSC-Addicted (427 reputation)

Group: General Forum Members
Points: 427 Visits: 628
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
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)

Group: General Forum Members
Points: 54975 Visits: 17694
$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" ;-)
george sibbald
george sibbald
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25058 Visits: 13698
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.

---------------------------------------------------------------------
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search