1、确保数据库启用了 闪回 功能:
db_recovery_file_dest string /opt/oracle/flash_recovery_area
db_recovery_file_dest_size big integer 2G
db_flashback_retention_target integer 1440
2、在表上启用 行迁移 :
alter table t_xxxxxx enable row movement;
3、闪回到某时间点:
flashback table t_xxxxxx to timestamp to_timestamp('2012-05-31 16:20:30', 'yyyy-mm-dd hh24:mi:ss');
db_recovery_file_dest string /opt/oracle/flash_recovery_area
db_recovery_file_dest_size big integer 2G
db_flashback_retention_target integer 1440
2、在表上启用 行迁移 :
alter table t_xxxxxx enable row movement;
3、闪回到某时间点:
flashback table t_xxxxxx to timestamp to_timestamp('2012-05-31 16:20:30', 'yyyy-mm-dd hh24:mi:ss');
本文深入探讨了数据库闪回功能的启用方法、如何在表上启用行迁移,以及如何通过闪回操作恢复到特定时间点的技术细节。
552

被折叠的 条评论
为什么被折叠?



