OCP-052考试题库汇总(43)-CUUG内部解答版

简介: Which is true about external tables?A)Segments are allocated for external tables.B)They may have indexes.

Which is true about external tables?

A)Segments are allocated for external tables.

B)They may have indexes.

C)They do not support partitioning.

D)The ORACLE_DATAPUMP access driver can be used to write data to external tables.

E)DML operations may be performed on external tables.

Answer: D (验证过)

CUUG:

CREATE TABLE scott.countries_ext

ORGANIZATION EXTERNAL

(

TYPE Oracle_DATAPUMP

DEFAULT DIRECTORY dir --生成 dmp 文件存放路径

LOCATION ('countries_ext.dmp') --生成外部文件的名称

)

AS SELECT * FROM scott.countries; --数据来源于实体表

赵:

外部表特征

(1) 位于文件系统之中(一定要在数据库服务器中,而不是其它网络路径),按一定格式分割,例如@#$等,文本文件或者其他类型的文件可以作为外部表。

(2) 对外部表的访问可以通过 SQL 语句来完成,而不需要先将外部表中的数据装载进数据库中。

(3) 外部数据表都是只读的,因此在外部表不能够执行 DML 操作,也不能创建索引。

(4) ANALYZE 语句不支持采集外部表的统计数据,应该使用 DBMS_STATS 包来采集外部表的统计数据。

(5) 可以查询操作和连接。也可以并行操作。

(6) 数据在数据库的外部组织,是操作系统文件。

(7) 操作系统文件在数据库中的标志是通过一个逻辑目录来映射的。

12C 开始,外部表支持分区功能,Oracle 12C R2-新特性-外部表分区

目录
相关文章
|
数据安全/隐私保护 关系型数据库 Oracle
OCP-052考试题库汇总(60)-CUUG内部解答版
Examine these facts about a database: The database default tablespace to EXAMPLE. DEFERRED_SEGMENT_CREATION is TRUE (原来为 FALSE,题目有错) Examine these co...
3730 0
OCP-052考试题库汇总(59)-CUUG内部解答版
In one of your databases: 1.USER1 and USER2 have no system privileges. 2.ROLE1 only has these privileges: ?CREATE SESSION ?CREATE TABLE ?CREATE VIEW ...
2827 0
OCP-052考试题库汇总(58)-CUUG内部解答版
In one of your databases: 1.USER1 and USER2 have no system privileges. 2.ROLE1 only has these privileges: ?CREATE SESSION ?CREATE TABLE ?CREATE VIEW ...
768 0
|
数据库管理
OCP-052考试题库汇总(46)-CUUG内部解答版
Examine this command: SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT PRESERVE ROWS; Whi...
770 0
|
数据库 关系型数据库 Oracle
OCP-052考试题库汇总(39)-CUUG内部解答版
Which three are true about auditing? A)Auditing is active only when the database is OPEN. B)Audit records are always stored in the database.
732 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(33)-CUUG内部解答版
Which two can be exported by a non-administrative account by using Data Pump? A)directory objects B)tables C)tablespaces D)schemas E)database Answer: BD 赵: EXP 和 IMP 是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。
648 0
OCP-052考试题库汇总(34)-CUUG内部解答版
Where is an expdp operation tracked? A)dump files B)control file C)log files D)Automatic Diagnostic Repository(ADR) E)master table (MT) Answer: E 赵: 题译:哪里有一个 Exdp 操作跟踪? Master table 是一个临时 table,专门为 import pump 和 export pump 创建的,一旦完成就会自动被 drop。
598 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(31)-CUUG内部解答版
which four are true about the tools used to administer Oracle database? A)the Data Pump utility can be used to load data from text files.
792 0
|
数据库 关系型数据库 Oracle
OCP-052考试题库汇总(32)-CUUG内部解答版
Which state must a database be to enable ARCHIVELOG ? A)NOMOUNT B)OPEN IN READ WRITE mode C)OPEN IN READ ONLY mode D)OPEN IN RESTRICTED mode E)MOUNT ...
708 0
|
数据库
OCP-052考试题库汇总(26)-CUUG内部解答版
Which three of these must be accessible to keep a database open? A)Control file. B)All members of a redo log group. C)SYSTEM tablespace. D)SYSAUX tablespace. E)spfile Answer: ABC 赵: 1 nomount:实例已经启动,进程和内存已经分配。
676 0