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

MySQL5.7 OCP每日一题--Question: 4

原创 everything 2024-04-26
109

Question: 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.

解析: MySQL InnoDB Cluster,有多主模式和单主模式两种,在多主模式中集群可以自动检测DML冲突,A正确;
          使用InnoDB Cluster时,可以直接连接各个节点,也可以通过中间件MySQL Router连接,两者都是完全兼容MySQL协议,因此B正确;
          节点间通过组复制(MGR)实现数据同步,MGR在原子广播算法的基础上实现了组复制协议,组复制能保证数据完全同步,但不能保证实时同步,因此C错误。
           InnoDB Cluster是MySQL原生的高可用解决方案 D正确  
          使用的是“share nothing”架构。 每个节点都有自己独立的存储空间和计算资源,节点之间不共享存储或计算资源 所以E F错误。
答案: ABD

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

文章被以下合辑收录

评论