zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

Oracle 视图 DBA_HIST_APPLY_SUMMARY 官方解释,作用,如何使用详细说明

Oracle官方DBA 使用 如何 详细 作用 说明
2023-06-13 09:11:14 时间
本站中文解释

Oracle中的视图DBA_HIST_APPLY_SUMMARY是一个用于查询保持状态和应用时间概要信息的视图。它由数据库层收集的数据统计组成。它主要提供实例保持时间,恢复点应用时间和恢复点日志应用时间。

只有选择了受支持的特定痕迹(如Automatic Workload Repository)的实例,才能获取DBA_HIST_APPLY_SUMMARY视图的详细信息。

使用此视图可以查询在每个恢复点时期的实例保持时间(INSTANCE_RECOVERY_ELAPSED_TIME),恢复点应用时间(RESTORE_POINT_ELAPSED_TIME)以及在特定事件的恢复点日志应用时间(LOG_POINT_ELAPSED_TIME)等信息,从而可以获取关于系统恢复状态和应用时间的重要信息。

例如,下面的SQL查询可以用于查询特定时段内活动恢复点(ACTIVE_RESTORE_POINT)的概要信息:

SELECT * FROM dba_hist_apply_summary where trunc(begin_time) between start_date and end_date

此外,DBA_HIST_APPLY_SUMMARY视图也可以用于查询特定事件(如SCN)的实例恢复状态和应用时间:

SELECT * FROM dba_hist_apply_summary where active_restore_point = restore_point_name and resetlogs_scn_number

官方英文解释

DBA_HIST_APPLY_SUMMARY displays historical statistics information about each apply process for Oracle GoldenGate, and Oracle XStream. This view is intended for use with Automatic Workload Repository (AWR).


For captured messages, the delay (in seconds) between the creation of the last message and it being received by the apply process. For user enqueued messages, the delay between the message being enqueued in the local database and being received by the apply process.


Total number of transactions received by the coordinator process since the apply process was last started


Total number of transactions applied by the apply process since the apply process was last started


Number of times since the apply process was last started that an apply server waited to apply a logical change record (LCR) in a transaction until another apply server applied a transaction because of a dependency between the transactions


Number of times since the apply process was last started that an apply server waited to commit a transaction until another apply server committed a transaction to serialize commits


For captured messages, the delay (in seconds) between the creation of the message corresponding to the low watermark and it being applied by the apply process. For user enqueued messages, the delay between the message being enqueued in the local database and being applied by the apply process.


Total number of messages applied by all the apply servers since the apply process was last started


Time elapsed (in hundredths of a second) dequeuing messages by all the apply servers since the apply process was last started


Time elapsed (in hundredths of a second) applying messages by all the apply servers since the apply process was last started


Total number of complete transactions that the coordinator has not assigned to any apply servers


Number of transactions applied by the apply process that resulted in an apply error since the apply process was last started


0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 DBA_HIST_APPLY_SUMMARY 官方解释,作用,如何使用详细说明