zl程序教程

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

当前栏目

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

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

ALL_APPLY_ERROR_MESSAGES是Oracle中的一个视图,它包含了所有基于应用程序使用失败时可能产生的报错信息。这些报错信息对DBAs(数据库管理员)或应用开发人员来说非常有用,因为它们能够提供有关应用程序出现失败原因的详细信息并有助于快速解决问题。

ALL_APPLY_ERROR_MESSAGES视图是ALL_APPLY_PERSISTENT_ERRORS和V$APPLY_ERRORS视图上的联合视图,其中ALL_APPLY_PERSISTENT_ERRORS显示了应用程序可能出现的长期报错信息,而V$APPLY_ERRORS则显示了可能产生的瞬时报错信息。使用ALL_APPLY_ERROR_MESSAGES视图,DBAs可以从一个视图中获取所有信息,而不需要在多个视图之间来回切换来获取所需要的信息。

要访问ALL_APPLY_ERROR_MESSAGES视图,可以执行以下SELECT语句:

SELECT * FROM ALL_APPLY_ERROR_MESSAGES;

官方英文解释

ALL_APPLY_ERROR_MESSAGES displays information about the individual messages in an error transaction generated by the apply processes that dequeue messages from queues accessible to the current user.

For XStream inbound servers, each message in an error transaction is a logical change record (LCR).

Note:


DBA_APPLY_ERROR_MESSAGES displays information about the individual messages in all of the error transactions generated by all apply processes in the database.


Message number of the message that raised the error. The message number is a sequence number for the messages in the transaction, starting with 1.


Error number of the error raised by the transaction. The error number is populated only for the LCR that raised the error. This field is NULL for the other LCRs in the transaction.


Error message of the error raised by the transaction. The error message is populated only for the LCR that raised the error. This field is NULL for the other LCRs in the transaction.


Primary key of the table row that caused the source transaction to fail at the target


INSERT ROW EXISTS: DML operation is INSERT and a row already exists  with the specified key value.


UPDATE ROW EXISTS: DML operation  is UPDATE.  A row with the specified key exists but has conflicting values for some columns.


UPDATE ROW MISSING: DML operation is UPDATE and no row with the specified key value exists.


DELETE ROW EXISTS: DML operation is DELETE.  A row with the specified key exists but has conflicting values for some columns


DELETE ROW MISSING: DML operation is DELETE and no row with the specified key value exists.


SITE PRIORITY, WON: Site priority resolution was in effect and incoming LCR was applied in its entirety


SITE PRIORITY, PARTIAL: Site priority resolution was in effect and incoming LCR was applied for one or more conflict groups


SITE PRIORITY, LOST: Site priority resolution was in effect and incoming LCR was not applied


The content of the LCR. Content includes column name and value for old and/or new values in DML LCRs. For DDL LCRs, the content is the text of the DDL SQL.


Oracle Database XStream
Guide for information on managing eager errors encountered by an inbound server


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

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