close

In Oracle11gR2, the behavior of FLASHBACK_TRANSACTION_QUERY view changes slightly.

select operation,undo_sql from flashback_transaction_query where table_name = 'test_tb';
>>
OPERATION                UNDO_SQL
----------------               ----------------------
UNKNOWN

=> it is because database supplemental logging is not enabled.  (which is by default)

To enable supplemental logging, type:
SQl> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;

SQl> select supplemental_log_data_min from v$database;
SUPPLEMENTAL_LOG_DATA_MIN
-----------------------------------------------------
YES

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 DanBrother 的頭像
    DanBrother

    DanBrother的部落格

    DanBrother 發表在 痞客邦 留言(0) 人氣()