https://img2020.cnblogs.com/blog/1101843/202010/1101843-20201029092119794-1182278230.jpg

支付宝

https://img2020.cnblogs.com/blog/1101843/202010/1101843-20201029091740174-1560674849.png

微 信

oracle提交commit后回退恢复

-------------------------------------------------------begin-------------------------------------------------------

 

1、查询commit之前的数据(这一步是为了确认第3步的回退时间)

 select * from 表名 as of timestamp to_timestamp('2018-07-25 11:35:00', 'yyyy-mm-dd hh24:mi:ss');
2、启用行移动功能(这一步必须在第3步之前执行)
alter table 表名 enable row movement;

3、执行闪回语句

flashback table 表名 to timestamp to_timestamp('2018-07-25 11:35:00', 'yyyy-mm-dd hh24:mi:ss');

亲测,回退成功。

 

-----------------------------------------------------------------------------

 

-------------------------------------------------------end-------------------------------------------------------磨刀不误砍柴工

 

posted @ 2018-07-25 12:31  huangwanlin  阅读(459)  评论(0)    收藏  举报
Copyright 2012-2021 林云希科技有限责任公司