-
查询最近更新数据之前的数据:
select * from tablename as of timestamp to_timestamp('2020-07-09 07:00:00','yyyy-mm-dd hh24:mi:ss'); -
闪回操作前启用行移动功能(不启用不可以闪回):
alter table tablename enable row movement; -
执行闪回语句:
flashback table tablename to timestamp TO_TIMESTAMP('2020-07-09 07:00:00', 'yyyy-mm-dd hh24:mi:ss');
注:此种方式只能恢复最后一次commit的数据,并且有时间限制。