RDS uses read-only copy and multi-AZ difference is that the mechanism for data replication

Use read-only copy

Amazon RDS also use the built-in replication MariaDB, MySQL, Oracle and PostgreSQL database engine to create a special type of database instances from the source database instance, called read-only copy. Updates to the source database instance will be replicated asynchronously to the read-only copy. Read queries to read-only copy of the route, in order to reduce the load on the source database instance you can be issued by the application. Using a read-only copy, it may be a large number of read operations for database load flexibly expand, breaking capacity limit of a single database instance.

note

The following information applies to the area of ​​the source database instance AWS resides Amazon RDS or create read-only copies in a separate area of ​​the AWS. The following information does not apply to instances running on Amazon EC2 instances or local copy operation setting operation.

When you create a read-only copy, first specify the existing database instance as the source. Amazon RDS then captured snapshot source instance, and creates a snapshot based on the read-only instance. Then, then, whenever the source database instance changes, Amazon RDS will use to update the read-only copy of the database engine asynchronous replication methods. Allow only read-only copies read-only connection to the database instance. In the same application with any database instance connected to a read-only copy. Amazon RDS database copy all source database instance.

In some cases, its read-only copy of the source database instances located in different regions AWS. In these cases, Amazon RDS disposed secure communication channel between the source and the read-only copy of the database instance. Amazon RDS enabled the establishment of any AWS security configuration needed for safe passage, such as adding security group entries.

MariaDB, MySQL, Oracle and PostgreSQL engine supports read-only copy . In this section, you can find general information about using the read-only copy on all these engines

 

Amazon RDS high availability (available multi-region)

Amazon RDS using multiple availability zones deployed to provide high availability and failover support for the database instance. Amazon RDS using several different technologies to provide failover support. For Oracle, PostgreSQL, MySQL and MariaDB much free zone database instances deployed using failover technology Amazon's. SQL Server database instance using SQL Server database mirroring (DBM).

Available multi-zone deployment, Amazon RDS automatically configure and maintain a synchronized copy of the different available spare area. Examples of the primary database zone across the available replicable to backup copies, to provide data redundancy, eliminating I / O during freezing and the backup system to minimize the peak delay. During the planned maintenance system, run high performance database instance can improve usability and help protect the database against database instance fails interrupted and the available area.

 

Examples are read-only asynchronous replication, examples being available area Replicable

Guess you like

Origin www.cnblogs.com/cloudrivers/p/11237446.html