当前位置:Gxlcms > 数据库问题 > oracle flashback——oracle数据闪回实战,及恢复数据到指定的时间戳——timestamp

oracle flashback——oracle数据闪回实战,及恢复数据到指定的时间戳——timestamp

时间:2021-07-01 10:21:17 帮助过:92人阅读

select scn,to_char(time_dp,'yyyy-mm-dd hh24:mi:ss')from sys.smon_scn_time order by to_char(time_dp,'yyyy-mm-dd hh24:mi:ss') desc;

不推荐使用上述此方法恢复数据。


方法二:

在操作恢复数据表之前,先将要恢复的数据表清空,以免恢复时数据发生冲突

delete t_viradsl2 

insert into t_viradsl2 select * from t_viradsl2 as of timestamp to_Date('2011-01-19 15:28:00', 'yyyy-mm-dd hh24:mi:ss') 



oracle flashback——oracle数据闪回实战,及恢复数据到指定的时间戳——timestamp

标签:数据恢复   闪回   falshback   timestamp   时间戳   

人气教程排行