oracle表数据闪回

1、查询历史事件的数据量
select count(1) from table_name as of timestamp to_timestamp(‘2020-07-03 17:10:10’,‘yyyy-mm-dd hh24:mi:ss’);
2、执行flashback
flashback table table_name to timestamp to_timestamp(‘2020-07-03 17:10:10’,‘yyyy-mm-dd hh24:mi:ss’)

猜你喜欢

转载自blog.csdn.net/feifeixiongxiong/article/details/113093201