【OCP最新题库解析(052)–题38】Which is true about enabling AUTOEXTEND for

  • 2019 年 10 月 11 日
  • 筆記

该系列专题为2018年4月OCP-052考题变革后的最新题库。题库为小麦苗解答,若解答有不对之处,可留言,也可联系小麦苗进行修改。

注:OCP-052最新题库完整详细解答版请联系小麦苗私聊。解题不易,请大家尊重原创。

题目

Which is true about enabling AUTOEXTEND for data files?

A. It can be enabled for a new data file that is added to a tablespace only if the existing data files in that tablesapce have autoextend enabled.

B. It can be enabled only for data files in non-OMF tablespaces.

C. It can be enabled for data files only in bigfile tablespaces.

D. It can be enabled for data files only in smallfile tablespaces.

E. It can be enabled for an existing data file in a tablespace by using the ALTER TABLESPACE command.

A

答案

Answer:E

对于A选项,新增的数据文件也可以自动扩展。

对于B选项,非OMF管理的文件也可以设置自动扩展。

对于C、D选项,bifile和smallfile都可以设置自动扩展,如果是bigfile文件的表空间,那么还可以基于表空间级别设置。

数据文件一般扩展的命令:

alter database datafile 5 autoextend on next 5M;

如果是bigfile可以采用: ALTER TABLESPACE TBS2 AUTOEXTEND ON NEXT 20G;