oracle數據恢復

比較簡單的操做,若有更好的方法歡迎補充flash

1、查詢到某個時間點刪除的數據
select * from table_name as of timestamp to_timestamp('2019-11-13 11:26:00', 'yyyy-MM-dd HH:mi:ss');table

2、表結構已修改,上面的方法就不適用了
1)select * from recyclebin;
找到ORIGINAL_NAME是原來的表名的那一行的OBJECT_NAME=xxx
2)flashback table "xxx" to before drop rename to new_table_name;
建立new_table_name表,數據在此表中select

相關文章
相關標籤/搜索