当前位置:首页 > 数据库 > Oracle

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

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   时间戳   

本文系统来源:http://blog.csdn.net/u013474104/article/details/45716065


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐