Failover
-
Monday, January 14, 2013 6:58 AM
Hello
Can somebody tell me what happens is there a diffrence in a clustered or in a alwayson AG`s environment. What happens
in the following scenarios....<o:p></o:p>When a automatic failover occurs..<o:p></o:p>
1. When a transaction is being processed? <o:p></o:p>
2. If a application is writing information into a table? <o:p></o:p>
Is there data lost?
Thank you
<o:p></o:p>
All Replies
-
Monday, January 14, 2013 7:26 AM
There is a lot of difference between those two...
1) An FCI (clustered instance) writes a transaction to a shared disc. With this write operation it is already highly available.
2) An AG on the other hand writes the data to a local disc and SQL Server transfers the data to the secondary where it is written to another local disc. So there is an overhead on transaction processing in AGs
3) With an AG the SQL Server Service is already running on the secondary. This leads to faster recovery on failover. It also enables you to have Active/Active configurations using multiple AGs.
4) Data in user databases is not lost in either case. One thing is though that master and MSDB data (e.g. Agent Jobs, Logins, etc.) are not in an AG, so if you use AGs those things will not failover automatically.
- Marked As Answer by danielkunz76 Monday, January 14, 2013 9:19 AM
-
Monday, January 14, 2013 9:19 AMThanks For your answer!!
-
Tuesday, January 15, 2013 10:45 AM
I would just like to expand on Prince's answer a tiny bit and say that you can also have Availability Groups configured to run on Failover Clustered Instances -they don't have to be local standalone installations. However this configuration is slightly more advanced, requires a few additional considerations and configured carefully. However the configuration is possible and is something to remember.
An easy way to think of the two technologies is that FCI provide HA abstraction at the SQL instance level, AGs provide HA abstraction (and read only scalability) at the one to many databases level.
Regards,
Contact me through (twitter|blog|SQLCloud)
Mark Broadbent.
Please click "Propose As Answer" if a post solves your problem
or "Vote As Helpful" if a post has been useful to you
Watch my sessions at the PASS Summit 2012

