Logshipping vs Mirroring

hi Team,
we have 10 databases each database having min 350 gb,
here we are paling to
replication the data from production site to  DR site.
To replication the data which one of high availability is best like "log shipping" or "Mirroring".
we have only two options "logshipping" or "Mirroring".
if we can go for "logshipping" what are the benefits, or we can go for "Mirroring" what are the benefits are available.

It would be best to determine what your business requirements are like max allowed data loss and how much time can the apps be down while you are
recovering the systems during HA and DR.
You did not mention what version of SQL you are using but, if it is SQL 2012, then you can consider AlwaysON with Syncronous REPLICAs for HA and
async REPLICAS for DR where the data is replicating across sites using SAN replication. Here are some benefits of log shipping and Mirroring
Database Mirroring benefits:
Instantaneous synchronization of changes
Easy setup and maintenance
Automated failover (in High Availability Mode)
Easy to perform failover
Fast failover. (if no transactions are queued)
Applications can be mirroring aware using failover partner parameter in connection string
Database Mirroring limitations:
Limited number of databases can be mirrored per SQL instance. (however, this number is higher than the 10 you see plastered everywhere, but really depends on your hardware)
Mirrored database cannot be queried, backed up, or basically touched in any way (snapshot can be taken however)
Only supports one to one server pairings
Cannot mirror a database more than once
Synchronous mirroring is intolerant to latency and bandwidth constraints (Asynchronous mirroring has no problems with latency or bandwidth)
Log Shipping benefits:
Very flexible - Independent jobs govern backup/copy/restore behavior
Delay of restore job can protect from database corruption
Log shipped database can be queried. (in standby mode)
Log shipping allows multiple standby databases
Perhaps more tolerant to latency than sychronous mirroring.
Doesn't affect performance of primary server
Easy setup
Log Shipping limitations:
No automated failover
Cannot synchronize faster than once a minute
Failover is more complicated than mirroring
Harder to view status of log shipping
Allied DBA ,
When you copy someone else article you need to put reference to that article hope you have read that in forum.If not please follow it below is the link from which you copied
http://blogs.msdn.com/b/mikewat/archive/2007/07/28/database-mirroring-and-log-shipping-which-is-better.aspx
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
I posted all I could as my time permits . I started off with my personal suggestions and then left off with what I had. There were enough of links posted on this thread so just wanted to make it easier for the OP and avoid distraction as the more
appropriate solution is what I wrote and is not from the article.
You need to STOP picking on me period. I have noticed this enough already.
Thanks.

Similar Messages

  • SQL DB Migration

    Hi,
    In my infra i have an instance with 10 Databases. And i am going to migrate 4 of them to new hardware.
    I am planning to use Backup/Restore method to move the DBs to new hardware.
    I will put the DBs in old server to SINGLE_USER mode. 
    Can you please tell me how to check the complete data is migrated to new server ?
    I dont want to miss any transactions (data) from application.
    And also how to compare the data between the old and new DBs ?
    Regards,
    Vinodh Selvaraj

    Adding to Ashwin you can reduce downtime by using logshipping or mirroring
    Logshipping 
    a. Set up logshipping from the source to destination server as usual. Keep the sync time 1 min (which is minimum).
    b. On the day of migration, make sure the logbackups are in sync. Ask the application user to stop using the database
    c. Stop all the logshipping jobs and then take the final tail log-backup and put the primary databases in no-recovery mode (this is just in case
    you need to go back to primary).
    d. restore the tail log backups on the secondary with
    recovery bringing all the secondary databases online.

  • Mirroring and logshipping

    Can i implement multiple secondary servers in log shipping and multiple mirror servers in mirroring?
    For Example: Logshipping --> 1 Primary Server - 2 or more Secondary servers Like wise mirroring also.

    Can i implement multiple secondary servers in log shipping and multiple mirror servers in mirroring?
    For Example: Logshipping --> 1 Primary Server - 2 or more Secondary servers Like wise mirroring also.
    Hello,
    You can have multiple secondary servers in Transaction log shipping but you can have only one mirror database for corresponding principal database.Its one to one for mirroring but one to many for log shipping
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SQL Server 2012 - DB Mirroring + Log Shipping + Multi-Subnet

    Hi again,
    So AG would be nice to have, but considering the costs of getting it, well, it is a no go for me at the moment (This is like a 1:20 ratio considering Std comes with server licencing and enterprise is only per 2 cores).
    So, having 2 sites, with different subnet. Is it possible to configure automatic failover for DBM ? We are running Windows 2012 R2 which supports multi subnet failover. But what about DBM in this case ?
    Can the witness be configured on a third site ? (I was thinking of having the following weights: Site 1:2, Site 2:1, Quorum:2 just to have no reconfig to do in case of Datacenter failure)
    Also, in order to offload some of the backup load as the DB are somewhat big (1TB), I was thinking of having one additional node per site to which the logs are shipped and that are used to run the backups. The question being, is it possible to log ship from
    each "primary" on each site rather than have the primary on site 1 do it for all the servers across the subnets ?
    It would be a setup like this:
    Site 1 Primary <---DBM---> Site 2 Primary (Hot failover)
    Site 1 Primary <---LogShips---> Site 1 Secondary
    Site 2 Primary <---LogShips---> Site 2 Secondary
    And thus reduces the load on the link between the 2 sites.
    I do hope to see AG in the future for Std as they are removing DBM in the next version.
    Thanks,

    The idea behind the cluster is to have a single IP on which the applications can reach the DB in case of a failover to the secondary site.
    This requires a failover cluster instance - mirroring does not work this way.
    Because as far as I understand it, either the application has to be aware and able to switch to the new DB primary, or we can use a multisubnet cluster or we can manually reconfigure the applications (so painful)
    Mirroring has the failover partner attribute in the connection string that can be utilized. A multi-subnet cluster would require, again, a FCI.
    AFAIK, DBM is not recommended for more than 10 DB on an instance due to the worker threads.
    "It depends". There can be worker thread issues, but this will entirely depend on your hardware and architecture of processor/SQL Server. In 32-bit world it'll eat up all of your worker threads. In 64-bit world on a decent server it shouldn't be
    a problem to have 10-20 out of the box.
    I don't mind having to failover multiple database residing on the same instance and having to setup them per DB.
    If any of your databases have a dependency on one another, this isn't going to work well as one database could be failed over and another might not be. Just food for thought.
    What it sound like you really want is a failover cluster instance and use log shipping to have a "readable copy" somewhere even if it is behind on time. The problem comes in is that a cluster all has to be in the same domain and part of the same
    cluster. Your thoughts involve a separate cluster - so I'm not sure why two different ones unless you have multiple environments you're trying to add some HA to.
    -Sean
    The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

  • Encore WT8 - screen Mirroring on TV does not work

    Hello,
    I have a KDL42-W653A television which supports screen mirroring over WiFi.
    However, I cannot get it to work with the Toshiba Encore W8 tablet.
    The tablet detects the television, I enter the number, but the television never shows the tablet's screen.
    Both the television and the tablet are on the latest firmware.
    Another thread indicates there is an update for HDMI in January. I hope that covers this too.
    Anwar

    Hi
    > I have a KDL42-W653A television which supports screen mirroring over WiFi.
    By mirroring over WiFi what technology you mean exactly?
    Miracast, Intel WiDi, DisplayLink?
    Toshiba Encore supports *Miracast*
    To use Miracase both devices needs to support this technology.
    Then you can connect to external display very easy:
    Tab Settings -> Change PC settings -> PC and devices -> Devices
    Here you have to Add a device and you tablet will start searching for a Miracast devices
    After the connection has been established, the name of the Miracast device will appear under Projectors
    Did you test the video output connecting the table to the TV with an micro-HDMI cable?
    Does it work?
    Here is also an nice youtube video about the Toshiba Encore WT8 screen output options
    http://www.youtube.com/watch?v=kBmInOnrS2U

  • My macbook pro no longer connects to my TV with the mini dvi to hdmi adapter. A while ago the computer fell down and hit the cable. How can I tell if the computer is working ok. Doesn't show mirroring any more.

    My macbook pro no longer connects to my TV with the mini dvi to hdmi adapter. A while ago the computer fell down and hit the cable. How can I tell if the computer is working ok. Doesn't show mirroring any more. Was working while watching a movie but when I pulled it out from the computer and put it back in the system would no longer mirrorr the screen on the TV.

    The best option is an appointment at an Apple store genius bar.  The evaluation will be for FREE!
    Ciao.

  • TV Apple TV MacBook Air:How to connect my computer's monitor and TV as multiple monitors (NOT mirroring)

    I have an insignia TV, an apple TV I just bought less than a month ago, and a Macbook Air (mountain Lion) and a MacBook pro (mountain lion).
    I am able to connectboth of my computers with the TV to mirror my screen/monitor, but I have not been able to figure out how to use the apple TV to use my TV as a second monitor, like I was able to do with my HDMI cable. 
    when I bought the Apple TV the person who I talked to at the store told me I would be able to do it, but I havent been able to do it through system preferences and the options for display only show as mirroring through Airplay. I dislike mirroring because while I play something on my computer (or somebody else does) I'd like to still be able to use my computer for browsing or doing homework.
    Please help me find a way in which I can make my TV as a second monitor tu my computer without having to have an HDMI cord across the room. I have a puppy and I have had problems with that. That is actually the reason why I considered buying the Apple TV device.
    NOTE: In case you know a way to connect my TV to my Macs I have a time capsule and my TV has a DVI, two HDMI, and a USB ports.
    thank you!
    Lydia

    Morning jotref,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    About AirPlay Mirroring in OS X Mountain Lion
    http://support.apple.com/kb/ht5404
    Best of luck,
    Mario

  • HT4437 how can i mirror my mac desktop onto my apple tv, and i dont mean itunes content only.

    i want to know how to mirror my mac desktop screen onto my apple tv not limited to just itunes contents.

    You need a recent Mac (2011 or later) running mountaion lion. The alternative for older hardware is airparrot

  • How can i mirror my mac book pro with apple tv

    I need to know how to mirror my macbook pro with my apple tv so I can watch youtube and use my browser on my tv. So what I can see on my computer I want to see on tv. Is there a program I need or should it do it by it's self?

    If you have Mountain Lion (OS X 10.8.*), then just select AirPlay from the menu along the top of your desktop, and your computer screen should appear on a tv attached to your Apple TV.

  • How to use iPad with apple tv (1st gen) mirroring

    Can appletv 1st generation be configured with ipad2 to do mirroring??
    I can't seem to figure out where to set that up..
    Any help would be appreciated.

    Disregard...just realized I need to buy an appletv 2 in order to do mirroring.....that really *****!
    I like the 1st gen and really didn't need to upgrade to a new one.
    If there is some other way to do mirroring from my ipad2, please let me know before I drop more $$ on Apple product.
    Thanks

  • How to use mirroring with Apple TV

    I want to use mirroring from my macbook pro onto my apple TV but I cannot find the airplay icon/app on either my macbook or my iphone 4S, what do I need to do to get started with mirroring.  I cannot figure this out from the online user guides and discussions that I have read.  Any suggestions?

    Disregard...just realized I need to buy an appletv 2 in order to do mirroring.....that really *****!
    I like the 1st gen and really didn't need to upgrade to a new one.
    If there is some other way to do mirroring from my ipad2, please let me know before I drop more $$ on Apple product.
    Thanks

  • How do I print a mirror image?  Where did the old functionality go?

    Within the last several months I was able to print a mirror image of my document to my HP DeskJet F4180 in high resolution. I don't know if it is the new HP drivers, or my new Snow Leopard OS but now I can' figure out how to do it again. I can grab a screen shot in and flip it in Preview but it ends up printing in low resolution.
    I have printed mirror images in the past from my PDF applciations and I think from Office 2008 (PowerPoint). I find no documents saved on my hard drive that come up saved as a reverse image so I suspect that I was using a printer feature not an application feature to print mirror images.
    Where did this functionality go?

    Found it!
    Use the check box marked Flip Image. Didn't is say mirror before?

  • How to mirror file server?

    I run a small office network with Mac OS X Server 10.4.x doing various services including AFP. My wife and I also work from home and we would like to be able to access remotely various files which are held on the server.
    We can do this over the internet, but the connections are not too quick. Ideally I would like to be able to run a mirrored copy of the file server on a little server at home, so that we can access the files locally and then have the servers keep each other up to date across the internet.
    Is this possible?
    TIA
    James

    Can anybody help me with this?
    TIA

  • Windows 8.1 Disk Mirroring

    Hello,
    I am running a Windows 8.1, 32 bit. My C: drive contains Windows and I have 2 additional 3TB hard drives which are mirrored using Windows 8.1 storage spaces tools. I do not boot off of these disks and only use them for media and storage. I have a few questions:
    1. As I am only using these disks for storage of files and not booting, if one fails, will the second one be recognized and useable with no data loss? I have seen many people warn against using Storage Spaces but it seems they are all talking about issues
    on a mirrored boot drive - that is not my case.
    2. I would like to upgrade to 64 bi as I want to add more than 4GB of RAM to my PC. I have media and a valid key, however, will I have to re-mirror the drives using storage spaces and will I lose the date on either 1 or both of them? Does Storage Spaces
    do some compare to see that the disks are identical?
    3. As the drives I want to mirror are both 3TB, will this cause an issue due to the size? I converted them to GPT when I initially installed 8.1 32 Bit. Will I have to do the same when I reinstall 64 bit or will they already be recognized?
    Any help would be much appreciated.

    Hi,
    First,we need to understand mirror storage layout.
    Mirror. Data is duplicated on two or three physical disks, increasing reliability, but reducing capacity. This storage layout requires at least two disks to protect you from a single disk failure, or at least five disks to protect you from two simultaneous
    disk failures.
    Storage Spaces can automatically rebuild mirror and parity spaces in which a disk fails by using dedicated disks that are reserved for replacing failed disks (hot spares).
    So,the data isn't lost.
    Regarding your second and third issues, Storage Spaces records information about pools and storage spaces on the physical disks that compose the storage pool.
    Therefore, your pool and storage spaces are preserved when you move an entire storage pool and its physical disks from one computer to another.
    Note: for parity spaces you must backup your data and delete the parity spaces. At this point, you may upgrade or perform a clean install of Windows 8. After the upgrade or clean installation is complete, you may recreate parity spaces and restore your data.
    You can refer to the following article:
    https://social.technet.microsoft.com/wiki/contents/articles/11382.storage-spaces-frequently-asked-questions-faq.aspx
    Hope this helps.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • HT204291 Airplay mirroring. Macbook 2012 retina display. Unable to see desktop on television, audio works perfectly. Both OS on ATV and Mac are running latest versions

    Airplay mirroring.
    Macbook 2012 retina display. Unable to see desktop on television, audio works perfectly. Both OS on ATV and Mac are running latest versions.
    Firewall set correctly (allow incoming...)
    When I click mirroring to turn it on, teh Apple TV screen goes blank (from its home setting)
    Any help appreciated.

    Hi!
    I figured it out! It was a firewall issue.
    I use Handsoff and I checked it before i wrote here. There was no "user defined rule" that denied the communication but when i changed to "All rules" the program displayed several rules regarding AppleTV and its IP.
    So if anybody has the same problem make sure you see all rules of your firewall and get rid of the AppleTV related rules generated by the program itself. You dont need to update to the latest iOS on the AppleTV!
    I hope that I can help some people with this info to fix the problem.

Maybe you are looking for

  • How do I get IPhoto pictures over to Adobe Photoshop Elements 4.0 for Windo

    I was told I can use Windows edition of Adobe Photoshop Elements 4.0 with my .Mac IPhoto. Question is: How do I get them from IPhoto to Photoshop? I have a 20 inch screen .Mac that was purchased Dec. 31, 2006. Not totally sure what model, it's my dau

  • Mapping issue: from unbound node to two single fields

    Hello, I have a source message with a node that is 0... unbounded. The node contains a field named "component_name" with occurence  1..1. The target message contains only two single fields (component1, component2) and the task is to provide the first

  • How can I get rid of the "My Search Dial toolbar and all the other junk following it??

    I downloaded Defrag2 and got it and any number of annoying other things, among which is this "My Search Dial toolbar followed by shopping deals and adds for registry fixing, etc. Running Windows Vista, home.

  • Calling Web Service from Flex (to PeopleSoft)

    I'm new to Flex and web services. I've created a web service in PeopleSoft and successfully imported the WSDL into Flex so that it has contacted the PS server and returned data (using mx:WebService and mx:Operation code I found examples of). However,

  • Interworking Parlay and JAIN

    I'm evaluating two scenarios (one using an IMS architecture and one without) for a postgraduate project. So I've two questions: 1) In an environment that doesn't use the IMS architecture and Parlay is used as middleware that extends from the applicat