数据恢复:
--允许行移动
alter table ut enable row movement;
--误操作之前的时间(查询指定时刻的数据)
select * from ut as of timestamp to_timestamp('2018-03-14 09:30:00','yyyy-mm-dd hh24:mi:ss');
--闪回恢复数据
flashback table ut to timestamp to_timestamp('2018-03-14 09:30:00','yyyy-mm-dd hh24:mi:ss');
误删表恢复:
不知道表名:
--查看删除的表(根据时间)
select * from user_recyclebin where DROPTIME >'2018-03-14 10:00:00';
flashback Table "BIN$URK4OCBqTwqBwCa25Sw3pQ==$0" to before drop