oracle使用闪回找回数据

来源:互联网 发布:谁杀了宇智波一族 知乎 编辑:程序博客网 时间:2024/05/17 02:13

进入到oracle 的sqlplus,以sysdba 的角色进去


1 打开行功能 alter table bi.f_dau_sn enable row movement;

2 使用闪回,将数据恢复至某个时间点

flashback table bi.f_dau_sn to timestamp to_timestamp('2012-11-13 10:47:00','
yyyy-mm-dd  hh24:mi:ss');  


注:时间不要太长哦,就是从你删除掉数据计到现在的时间最好不要超过四个小时,一般都可以恢复过来

原创粉丝点击