Home  >  Article  >  Database  >  监控flashback database的进度

监控flashback database的进度

WBOY
WBOYOriginal
2016-06-07 16:13:171316browse

监控flashback database 的进度 参考自: HOW TO DETERMINE FLASHBACK DATABASE PROGRESS (文档 ID 1071391.1) 适用于: Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]【本文来自鸿网互联 (http://www.68idc.cn

监控flashback database 的进度

参考自:
HOW TO DETERMINE FLASHBACK DATABASE PROGRESS (文档 ID 1071391.1)

适用于:
Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]【本文来自鸿网互联 (http://www.68idc.cn)】
Information in this document applies to any platform.
***Checked for relevance on 26-Oct-2012***

解决方案:
当发出flashback database命令之后,从v$session_longops 视图中是看不到关于flashback database的进度的,从alert里边也看不到进度。

和media recovery 一样,flashback database 会修改 database file的 checkpoint_change#和checkpoint_time,因此,你可以从v$datafile_header视图中查这两列。

flashback database的第一个步骤是使用flashback log 大概的接近指定的scn 或者time。
flashback database的第二个步骤是使用archivelog 来细粒度(fine_grained)接近精确的scn 或者time。
这意味着,当使用flashback log时, checkpoint_change#和 checkpoint_time 将会后退(go backwards),
当使用细粒度的media recovery(第二个步骤)时, checkpoint_change#和 checkpoint_time 前进(go forward).
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn