Mysql OCP 35题

Is it true that binary backups always take less space than text backups?
A. Yes, because binary backups only contain data, and not statements required to insert data into the tables.
B. No, because text backups can have optimizations, which make them smaller, such as updating many rows at once.
C. No, because if InnoDB tables contain many empty pages, they could take more space than the INSERT statements.
D. Yes, because even if InnoDB tables contain many empty pages, text backups have empty INSERT statements for them.
Answer: C

https://www.cndba.cn/hbhe0316/article/22774
https://www.cndba.cn/hbhe0316/article/22774
https://www.cndba.cn/hbhe0316/article/22774 https://www.cndba.cn/hbhe0316/article/22774

二进制(物理)备份总比逻辑备份占用的空间小吗?
A. 是的,因为二进制备份仅包含数据,而不是SQL语句
B. 不是,因为逻辑备份是有优化的,这使它变得更小,例如一次性更新多行
C. 不是,因为InnoDB表包含很多空页,它会占用很多空间
D. 是的 ,因为即使InnoDB表包含很多空页,逻辑备份也会同样存在很多空的INSERT语句对应这些空页https://www.cndba.cn/hbhe0316/article/22774https://www.cndba.cn/hbhe0316/article/22774

https://www.cndba.cn/hbhe0316/article/22774
https://www.cndba.cn/hbhe0316/article/22774 https://www.cndba.cn/hbhe0316/article/22774 https://www.cndba.cn/hbhe0316/article/22774

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

MYSQL

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值