mysql ocp 1z0-888 每日一题(2)

2018年10月2日
You have a MySQL replication setup and you intentionally stop the SQL thread on the slave.
mysql> SHOW SLAVE STATUS\ G
...
Slave_IO_Running: Yes
Slave_SQL_Running: No
What are two reasons that you may stop the SQL thread on the slave while keeping the I/ O
thread running?
A. to allow the remaining events to be processed on the slave while not receiving new events from
the master
B. to allow a backup to be created under reduced load
C. to allow for point-in-time recovery on the slave
D. to prevent schema changes from propagating to the slave before they are validated
E. to prevent any transaction experiencing a deadlock
Answer: B,C

Slave_IO_Running 进程负责与主机的通信
Slave_SQL_Running 负责自己的slave mysql进程

A.关闭Slave_SQL_Running,slave依旧要接收信息的,所以错
B.貌似对的,sql进程关闭了,就没有selectsql执行了
C.貌似对,没有sql应用,所以能取到当时时间点的数据
D.防止用户没有经过验证的改变,什么鬼?
E.防止事务死锁?防止不了吧?

猜你喜欢

转载自blog.csdn.net/AkiFreeman/article/details/84962910