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-新特性-外部表分区

目录
相关文章
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 ...
749 0
OCP-052考试题库汇总(57)-CUUG内部解答版
Examine these facts about a databases: 1.USERS is the database default tablespace. 2.USER1,USER2,and USER3 have the CREATE SESSION privilege 3.
722 0
|
数据库 存储
OCP-052考试题库汇总(48)-CUUG内部解答版
Which is true about the Automatic Diagnostic Repository (ADR) ? A) It is used only if the DIAGNOSTIC_DEST parameter is manually configured.
721 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...
762 0
|
SQL
OCP-052考试题库汇总(44)-CUUG内部解答版
Which two are true about external tables? A)They can be stored in an ASM Cluster File System(ACFS). B)They can always be updated using SQL.
8250 0
|
XML SQL 数据库
OCP-052考试题库汇总(41)-CUUG内部解答版
Examine this session output: SQL> connect scott/tiger Connected. SQL>select name,value 2 from v$parameter 3 where name='audit_trail'; NAME VALUE ----...
871 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 是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。
631 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.
771 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(28)-CUUG内部解答版
Archivelog mode is enabled for your database and DB_CREATE_FILE_DEST is set to ‘/u01/oracle/db01’. The parameters, DB_CREATE_ONLINE_LOG_DEST_n and DB_RECOVERY_FILE_DEST, and not specified.
600 0
OCP-052考试题库汇总(27)-CUUG内部解答版
Which two of these must be available READ/WRITE to keep a database open? A)all copies of the control file.
502 0