----恢复delete掉的数据
--恢复5分钟之前的数据
insert into flow_task_20130115
(select * from flow_task_20130115 as of timestamp sysdate - 5 / 1440);
--恢复时间点的数据。
insert into flow_task_20130115
(select *
from flow_task_20130115 as of timestamp to_timestamp('13-08-05 15:00:00', 'YY-MM-DD hh24:mi:ss'));
----恢复drop掉的数据
--查看回收站情况
select original_name,dropscn from recyclebin;
--清空回收站
Purge recyclebin;
--正常删除表,进回收站
drop table code_library_bak;
--彻底删除表,不进回收站
drop table code_library_bak purge;
--闪回同original_name中dropscn最大的表。
flashback table code_library_bak to before drop;
--恢复5分钟之前的数据
insert into flow_task_20130115
(select * from flow_task_20130115 as of timestamp sysdate - 5 / 1440);
--恢复时间点的数据。
insert into flow_task_20130115
(select *
from flow_task_20130115 as of timestamp to_timestamp('13-08-05 15:00:00', 'YY-MM-DD hh24:mi:ss'));
----恢复drop掉的数据
--查看回收站情况
select original_name,dropscn from recyclebin;
--清空回收站
Purge recyclebin;
--正常删除表,进回收站
drop table code_library_bak;
--彻底删除表,不进回收站
drop table code_library_bak purge;
--闪回同original_name中dropscn最大的表。
flashback table code_library_bak to before drop;