专业编程教程与实战项目分享平台

网站首页 > 技术文章 正文

数据库笔试面试109——在Oracle中,有关直接路径

ins518 2024-11-02 12:51:43 技术文章 7 ℃ 0 评论

Which statement is true about loading data using the conventional path of SQL*Loader?

A、Redo is not generated while performing conventional path loads.

B、Only PRIMARY KEY, UNIQUE KEY, and NOT NULL constraints are checked.

C、The SQL*Loader control file is a text file that contains data definition language (DDL) instructions.

D、Instead of performing transactions, SQL*Loader directly writes data blocks to the data files.

E、INSERT triggers are disabled before the conventional path load and reenabled at the end of the load.

答案:C。

题目要求选出与SQL*Loader的常规路径加载说法正确的选项。

本题中,对于选项A,常规路径加载的时候会产生REDO日志的,选项A错误。

对于选项B,所有的约束均有效,而不止PRIMARY KEY、UNIQUE KEY和NOT NULL这3项约束。所以,选项B错误。

对于选项C,SQL*Loader的控制文件是一个文本文件,其中包含了一些DDL结构。所以,选项C正确。

对于选项D,SQL*Loader的常规路径加载是经过内存的,而不是直接写入数据文件。所以,选项D错误。

对于选项E,SQL*Loader加载的时候,表上的相关触发器是会执行的。所以,选项E错误。

所以,本题的答案为C。

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表