工作中真是实践总结

1: 数据回滚到某一个时刻(貌似不能超过半个小时)
flashback table 表名 to timestamp to_timestamp('2020-10-09 14:00:00','yyyy-mm-dd hh24:mi:ss')
回滚前可能会提示没有行移动的权限
先执行alter table 表名字 enable row movement
2:查看之前某个时刻的数据(和回滚一样存在时效)
select * from 表名 as of timestamp to_timestatmp('2020-10-09 15:20:00','yyyy-mm-dd hh24:mi:ss');


李子衿
0 声望0 粉丝

« 上一篇
redis