签到成功

知道了

CNDBA社区CNDBA社区

Mysql OCP 53题

2021-12-13 21:34 1730 0 原创 mysql
作者: hbhe0316

You want to create a temporary table named OLD_INVENTORY in the OLD_INVENTORY database on the master server. This table is not to be replicated to the slave server.
Which two changes would ensure that the temporary table does not propagate to the slave?
A. Set binlog_format=MIXED with the —replicate-ignore-temp-table option.
B. Use the —replicate-do-db, —replicate-do-table, or —replicate-wild-do-table option with the value equal to OLD_INVENTORY.
C. Change the binlog_format option to ROW and restart mysqld before you create the OLD_INVENTORY table.
D. Stop SQL_THREAD on the slave until you have finished using the OLD_INVENTORY temporary table.
E. Use the —replicate-ignore-table option with the value equal to
OLD_INVENTORY.OLD_INVENTORY and restart mysqld before creating the temporary table.
Answer: CE
你想在OLD_INVENTORY数据库中创建临时表OLD_INVENTORY,并且这个表不会被复制到从库。下面哪两个配置可是实现此需求?
C. Change the binlog_format option to ROW and restart mysqld before you create the OLD_INVENTORY table.
E. Use the —replicate-ignore-table option with the value equal to
OLD_INVENTORY.OLD_INVENTORY and restart mysqld before creating the temporary table.http://www.cndba.cn/hbhe0316/article/22793http://www.cndba.cn/hbhe0316/article/22793http://www.cndba.cn/hbhe0316/article/22793

http://www.cndba.cn/hbhe0316/article/22793
http://www.cndba.cn/hbhe0316/article/22793http://www.cndba.cn/hbhe0316/article/22793http://www.cndba.cn/hbhe0316/article/22793http://www.cndba.cn/hbhe0316/article/22793http://www.cndba.cn/hbhe0316/article/22793
http://www.cndba.cn/hbhe0316/article/22793

版权声明:本文为博主原创文章,未经博主允许不得转载。

MYSQL

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:2656306次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ