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