【第46題】【062題庫】2019年OCP認證062考試新題

46題、choose two

Examine this command:

SQL> ALTER SYSTEM SET ENABLE_DDL_LOGGING=TRUE;

Which two statements are true?

A) All DDL statements are logged in to a text file in Automatic Diagnostic Repository (ADR) home.

B) The Alert Log still contains some DDL statements.

C) Some data definition language (DDL) statements are written to the control file.

D) All data definition language (DDL) statements are written to the control file.

E) Some DDL statements are written to a text file in the ADR home.

F) Some DDL statements are written to an XML file in the ADR home.

Answer:AF

(解析: 打開 DDL 跟蹤後,要通過 adrci 命令的 show log 才能夠查看 DDL 日誌, sys 用戶的 DDL 語句也會被紀錄。

adrci> show log

ADR Home = /u01/app/oracle/diag/rdbms/orcl/ORCL,在該目錄下有個 log 目錄,裏面有ddl_ORCL.log 文本跟蹤日誌,同時在 log 目錄下的 ddl 目錄中有 log.xml 日 志文件。來自3組:1015267481)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章