mysql ocp第4题

Which three statements correctly describe MySQL InnoDB Cluster?
A. The cluster can be operated in multimaster mode with conflict detection for DML statements.
B. All MySQL client programs and connectors can be used for executing queries.
C. It provides fully synchronous replication between the nodes.
D. There is support for automatic failover when one node fails.
E. The data is automatically shared between the nodes.
F. Each query will be executed in parallel across the nodes.

Answer: ABD

mysql innodb cluster mysql 提供了一个完整的高可用性解决方案。 mysql shell 包含 adminapi, 它使您能够轻松地配置和管理至少三个 mysql 服务器实例组, 以作为 innodb 集群。 每个 mysql 服务器实例都运行 mysqlgroup replication, 它提供了在 innodb 集群内复制数据的机制, 并内置故障转移。 adminapi 消除了在 InnoDB集群中直接使用组复制的需要, 但有关更多信息, 请参阅第 17 章, 组复制, 其中解释了详细信息。 MySQL路由器可以根据您部署的集群自动配置自己, 将客户机应用程序透明地连接到服务器实例。 如果服务器实例发生意外故障, 群集将自动重新配置。 在默认的单主模式下, InnoDB 集群有一个读写服务器实例——主服务器。 多个辅助服务器实例是主服务器的副本。 如果主服务器出现故障, 辅助服务器将自动提升为主服务器的角色。 MySQL 路由器检测到这一点, 并将客户端应用程序转发到新的主服务器。 高级用户还可以将集群配置为具有多个主要副本
https://dev.mysql.com/doc/refman/5.7/en/group-replication.html
组可以在具有自动主要选举的单主模式下操作, 其中一次只有一个服务器接受更新。 或者, 对于更高级的用户, 可以在多主模式下部署组, 其中所有服务器都可以接受更新, 即使它们是同时发布的。 A
B 对,
Group Replication ensures that a transaction only commits after a majority of the members in a group have
received it and agreed on the relative order between all transactions that were sent concurrently.
This approach works well if the total number of writes to the group does not exceed the write capacity of any
member in the group. If it does and some of the members have less write throughput than others, particularly
less than the writer members, those members can start lagging behind of the writers.

组复制可确保事务仅在组中的大多数成员收到事务后提交, 并同意所有并发发送的事务之间的相对顺序。
如果对组的写入总数不超过组中任何成员的写入容量, 则此方法很有效。 如果确实如此, 并且某些成员的写入吞吐量低于其他成员, 特别是少于作者成员, 那些成员可能会开始落后于作者。 C
D
Finally, Group Replication is a shared-nothing replication scheme where each server has its own entire copy of the
data. E

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值