oracle flashback 2

本文详细介绍了Oracle闪回数据库技术,包括其如何在发生错误操作或粗心操作后通过记录Oracle数据库的先前操作来回滚到特定时间。通过配置参数如db_recover_file_dest和db_recover_file_dest_size,用户可以实现特定时间点的数据恢复。使用闪回数据库工具,可以执行多种恢复命令,如基于时间戳、序列号等条件回滚数据库。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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);

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值