Flashback database
After oracle 10g, oracle can rollback to an prior time by flashback database when there is a error operation or careless operation. In order to come true this target, oracle add another log file group "flashback
logs" which records the oracle database's prior operations.
It can recover database to a specific time by the snapshot which is equal or less prior time of the specified time.
It can recover database to a specific time by archive log file.
In order to use the flashback database tool, you need configure the parameter that: db_recover_file_dest db_recover_file_dest_size
For oracle 10g, you need to engine the flashback database tool in the mount mode as the sql:
alter database flashback on
or
alter tablespace ts_name flashback on
To close the flashback database, just change on to off.
Syntac:
flashback database to time to_date();
flashback database to time to timestamp();
flashback database to scn xxx;
flashback database to sequence xxx thread 1;
flashback database to timestamp(sysdate - 1/24);
本文详细介绍了Oracle闪回数据库技术,包括其如何在发生错误操作或粗心操作后通过记录Oracle数据库的先前操作来回滚到特定时间。通过配置参数如db_recover_file_dest和db_recover_file_dest_size,用户可以实现特定时间点的数据恢复。使用闪回数据库工具,可以执行多种恢复命令,如基于时间戳、序列号等条件回滚数据库。
252

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



