【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;