Breaking News
Loading...
24/06/2013

So sánh Database Mirroring của SQL 2008 và AlwaysOn High Availability của SQL 2012

Trong SQL 2012, Microsoft giới thiệu 1 giải pháp vừa đảm bảo High Availability vừa đảm bảo Disaster Recovery là AlwaysOn High Availability, có thể xem đây như một sự thay thế hoàn hảo cho Database Mirroring.

Database Mirroring sẽ bị loại bỏ trong phiên bản tiếp theo của Microsoft.

Tuy nhiên hiểu rõ sự khác nhau giữa Database Mirroring và AwaysOn High Availability giúp sẽ giúp ích nhiều cho công việc như một SQL Server DBA.

Bảng sau đây liệt kê khá đầy đủ và chi tiết về những điểm khác nhau giữa 2 công nghệ này:

Feature Database Mirroring AlwaysOn Availability Groups
Maximum number of secondary databases 1 Mirror 4 Secondaries
Requires Windows Clustering No Yes, however the SQL Servers can be stand-alone
Automatic failover Yes, requires witness server and high-safety mode Yes, one
HA or DR Choose one Each secondary independently configurable
Groups of databases No, each database is configured separately Multiple databases can be grouped to failover together
Can be used for reporting Only against a database snapshot of the  mirror Yes
Offload backups No Yes
Active database is called Principal Primary
Connection to active database Requires special connection string for failover Redirection handled by Windows Clustering with a virtual name. Special connection string not required
x N/A Can be configured with an Application Intent connection string to automatically redirect or can use traditional connection string with server name.


Tham khảo: http://www.bidn.com/blogs/KathiKellenberger/sql-server/3946/what-is-the-difference-between-database-mirroring-and-alwayson-availability-groups

0 comments:

Post a Comment

 
Toggle Footer