从MySQL OCP考题中学知识3-表空间Tablespace

本文探讨了MySQL的表空间特性,包括系统表空间可以配置为跨多个文件,而每个表不一定必须在系统表空间或普通表空间中。同时提到了File-Per-Table表空间可以设置为外部数据文件,以及General表空间的特点。
摘要由CSDN通过智能技术生成

题目:

Which statement is true about tablespaces?

答案:D

A) All tables must be in either the system tablespace or a general tablespace.
B) General tablespaces can be configured to span multiple files.
C) All tablespace files must be in the directory specified by the --datadir option.
D) The system tablespace can be configured to span multiple files.

解析:来源官方文档

14.6.3 Tablespaces
14.6.3.1 The System Tablespace
14.6.3.2 File-Per-Table Tablespaces
14.6.3.3 General Tablespaces
14.6.3.4 Undo Tablespaces
14.6.3.5 The Temporary Tablespace
A错、表还可以放在File-Per-Table Tablespaces中
B错、General tablespaces可以含多个表,但是不能含多个数据文件
C错、General tablespaces创建语法中datafile可以指明路径

system tablespace
The system tablespace is the storage area for the InnoDB data dictionary, the doublewrite buffer, the change

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值