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

MySQL5.7OCP第三十题 关于备份恢复

原创 岳彩磊 2023-03-06
431

30、

You have a consistent InnoDB backup created with mysqldump,the largest table is 50 GB in size.You start to restore your backup with this command;

shell>mysql -uroot -p < backup.sql

After 30 minutes,you notice that the rate of restore seems to have slowed down.

No other processes or external factors are affecting server performance.

Which is the most likely explanation for this slowdown?

A、The MySQL server has stopped inserting data to check index consistency;

B、InnoDB is doing CRC32 checks over the tablespace data as it grows;

C、The MySQL server is taking a periodical snapshot of data so it can resume the restore if it is interrupted mid-way;

D、InnoDB has filled the redo log and now must flush the pages;

E、Secondary indexes no longer fit into the buffer pool;

Answer:A;

使用mysqldump创建了一个一致的InnoDB备份,最大的表大小为50gb。使用此命令开始恢复备份;

shell>mysql -uroot -p < backup.sql

30分钟后,您注意到恢复的速度似乎放慢了。

没有其他进程或外部因素影响服务器性能。

这种放缓最可能的解释是什么?

A、MySQL服务器已经停止插入数据来检查索引一致性;

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

文章被以下合辑收录

评论