mysql8.0英文考试第1-10题

这是一篇关于MySQL8.0的考试题目解析,涉及内容包括备份策略、复制同步、认证插件、日志类型、安装配置、安全性、临时表空间、数据导出等关键知识点,适合数据库管理员复习备考。
摘要由CSDN通过智能技术生成

Q1.   Examine this command, which executes successfully:

mysqlbackup --user=dba --password --port=3306 --with-timestamp --backup-dir=/export/backups backup-and-apply-log

Which statement is true?

A)The backup accesses the MySQL server files by using a pre-existing connection.

B)The database server is put into a read-only state for the duration of the backup.

C)An offline backup of InnoDB tables is taken.

D)The backup can be impacted when DDL operations run during the backup.

详解:

参见《MySQL8.0 for Database Administrators studentGuide 2》243页

While the non-InnoDB backup runs:

— Prior to version 8.0.16, the database cannot be modified

— As of version 8.0.16, only non-InnoDB tables cannot be modified and InnoDB tables allow DML operations but not DDL operations

Answer:D

Q2.You reconfigure and start a slave that was not replicating for several days.

The configuration file and CHANGE MASTER command are correct. Examine the GTID information from both master and slave:

Master:

Gtids_executed:  aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-321,

                 bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb:1-50,

                 Cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237

Gtids_purged:  aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-100,

bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb:1-10,

                cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237

Slave:

Gtids_executed:  aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-160,

                 cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237

Gtids_purged:  aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-70,

   

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值