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

简介: Examine these facts about objects in the SYSTEM schema:1.EMP is a table.2.EMP_PK is a primary key constraint on EMP.

Examine these facts about objects in the SYSTEM schema:

1.EMP is a table.

2.EMP_PK is a primary key constraint on EMP.ENO.

3.EMP_IDX is an index on EMP.MGR_NO.

4.EMP_SEQ is a sequence used to generate values for EMP.ENO.

5.EMP_OPS_PKG is a package that performs DML operations on EMP.

6.EMP_VU is a view on EMP.

  1. EMP_TRG is a trigger on EMP.

Examine this command:

$ expdp system/oracle \

FULL =Y \

EXCLUDE=TABLE:"= 'EMP' "\

DIRECTORY=data_pump_dir \

DUMPFILE=full_db.dmp \

LOGFILE=full_db.1og

Which three objects will be exported?

A)EMP_PK

B)EMP_SEQ

C)EMP_OPS_PKG

D)EMP_VU

E)EMP_IDX

F)EMP_TRG

G)EME_FN

Answer: BCD(已验证)

CUUG:如果在导出的过程中排除了一张表,那么跟这张表相关的数据就不会导出,比如表的结构、数据、索引、约束、触发器等。但是其它跟这张表相关的关系不是密切的对象还是会导出,比如:该表引用的序列、访问该表的存储过程、创建在该表上的视图等。这道题是新题,相关的内容以前没有出现过。

expdp system/oracle DUMPFILE=scott.dmp

DIRECTORY=dmpdir SCHEMAS=scott

EXCLUDE=TABLE:"IN('EMP')"

SCHEMAS=scott

注意以上 exclude 的语法。

赵:

参数说明:full=y 导出整个数据库,exclude=table 排除表,logfile 生成一个日志文件。

目录
相关文章
|
数据安全/隐私保护 关系型数据库 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考试题库汇总(48)-CUUG内部解答版
Which is true about the Automatic Diagnostic Repository (ADR) ? A) It is used only if the DIAGNOSTIC_DEST parameter is manually configured.
739 0
|
Oracle 关系型数据库 数据库管理
OCP-052考试题库汇总(47)-CUUG内部解答版
Which three are true about the Automatic Database Diagnostic Monitor (ADDM)? A)It improves database performance by automatically implementing Oracle ‘s best practices.
821 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(45)-CUUG内部解答版
You want to access employee details contained in flat files created by an application. Which two methods will achieve this? A)Use a BFILE column in a table to access the flat file.
1862 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 ----...
890 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
|
Oracle 关系型数据库
OCP-052考试题库汇总(29)-CUUG内部解答版
When does an incremental checkpoint occur ? A)when an online redo log switch occurs. B)when DBWn writes dirty buffers as part of its normal processing.
1033 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