You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Oracle 19c中闪回/时点恢复后还原点是否留存?

Oracle 19c还原点my_restore_point在各类操作后的存在性验证

我创建了还原点my_restore_point:

create restore point my_restore_point;

随后执行以下操作,需确认my_restore_point是否仍存在:

操作1:闪回到该还原点

执行闪回命令:

flashback database to restore point my_restore_point;

可通过以下语句验证还原点是否存在:

select * from v$restore_point where name = 'MY_RESTORE_POINT';

操作2:闪回到该还原点对应的SCN

先获取还原点对应的SCN,再执行闪回:

variable my_scn number
exec select scn into :my_scn from v$restore_point where name = 'MY_RESTORE_POINT'
flashback database to scn :my_scn;

操作3:闪回到该还原点SCN之前的时点

执行闪回命令:

flashback database to before scn :my_scn;

操作4:使用RMAN执行时点恢复到该SCN

执行RMAN时点恢复命令(其中x为上述:my_scn的值):

run {
  restore database until scn x;
  recover database until scn x;
}

由于无测试环境,现向社区求助确认以上操作后my_restore_point是否仍存在。使用版本为Oracle Database 19c Enterprise Edition Release 19。

内容的提问来源于stack exchange,提问作者Alex Bartsmon

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.05 10:52:03