Oracle Test-King 053

Exam A

QUESTION 1

You are not sure if Flashback Database is enabled.What database column and view can you query to see if the flashback logs are being created in the flash recovery area?

A. Query the initialization parameter FLASHBACK_DATABASE in V$INSTANCE

B. Query the FLASHBACK_ENABLED cloumn in V$DATABASE

C. Query the FLASHBACK column in V$DATABASE.

D. Query the FLASHBACE_ON cloumn in V$DATABASE.

Answer: D

 

Explanation/Referece:

Explanation:

To enable Flashback Database,you use the command ALTER DATABASE FLASHBACK ON. Your database must be in ARCHIVELOG mode,you must have the flash recovery area configured,and you must have DB_FLASHBACK_RETENTION_TARGET set to an appropriate value.

A,B,and C are incorrect because they all specify cloumns that do not exist.

問題:如果你不確定數據庫是否啓用了閃回,可以查看那些數據庫的列或者視圖看看數據庫閃回恢復區中有在create flashback logs.

開啓數據庫 閃回,使用命令:alter database flashback on, 條件是:1、數據庫必須是 ARCHIVELOG 模式;2、必須有閃回恢復區;3、DB_FLASHBACK_RETENTION_TARGET 必須配置正確的值。

 

自己看這題庫寫的,歡迎各位拍磚。

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