Oracle資料誤刪除的恢復操作

2022-03-04 19:43:23 字數 482 閱讀 8638

flashbackup 閃回操作:

1. 開啟表的閃回功能:

alter table dw_stg.fm_user_play_d enable row movement;

2. 查詢要閃回的表的記錄資訊

select * from flashback_transaction_query where table_name='fm_user_play_d';

記錄這裡的時間很重要,這裡包含該錶的所有提交記錄,所以一定要確認好時間。

3. 根據時間執行恢復記錄操作:

flashback table dw_stg.fm_user_play_d to timestamp to_timestamp('2017/10/30 15:34:24','yyyy-mm-dd hh24:mi:ss');

4. 關閉表的閃回功能

alter table dw_stg.fm_user_play_d disable row movement;

oracle誤刪除資料恢復

今天無意中在網上看到了關於oracle誤刪除資料恢復的一條資訊,發現的確很好使,下面就我的測試向大家匯報下。1.select from t viradsl2 t 查詢t viradsl2中所有的資料,可以看到三條資料 2.delete t viradsl2 刪除t viradsl2中所有的資料,三條...

oracle誤刪除資料恢復

1.select from your table t 查詢your table中所有的資料,可以看到三條資料 2.delete your table 刪除your table中所有的資料,三條資料消失 3.select from your table t 無資料。4.insert into your...

ORACLE 誤刪除資料恢復

首先通過如下sql語句找到執行刪除的last active time。即找到具體的刪除時間。select sql text,last active time from v sqlarea where last active time to date 刪除資料的大約時間 yyyymmdd hh24 m...