暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Question:4 Which three statements correctly describe MySQL InnoDB Cluster?

原创 岳彩磊 2022-12-12
329

Which three statements correctly describe MySQL InnoDB Cluster?

#哪三个语句正确地描述了MySQL InnoDB集群?

A、The cluster can be operated in multimaster mode with conflict detection for DML statements;

#集群可以在多主机模式下运行,并对DML语句进行冲突检测;

B、All MySQL client programs and connectors can be used for executing queries;

#所有MySQL客户端程序和连接器都可以用于执行查询;

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 错

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

文章被以下合辑收录

评论