Oracle 视图 ALL_APPLY_ERROR_MESSAGES 官方解释,作用,如何使用详细说明
本站中文解释
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:
-
Messages that were spilled from memory to hard disk do not appear in this view.
-
This view does not contain information related to XStream outbound servers.
Related View
DBA_APPLY_ERROR_MESSAGES
displays information about the individual messages in all of the error transactions generated by all apply processes in the database.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Unique identifier of the message stored in the error queue |
|
|
|
Local transaction ID for the error transaction |
|
|
|
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. |
|
|
|
Owner of the object at the source database |
|
|
|
Name of the object at the source database |
|
|
|
Owner of the target table |
|
|
|
Object name of the target table |
|
|
|
Primary key of the table row that caused the source transaction to fail at the target |
|
|
|
The LCR position |
|
|
|
The DML or DDL operation represented in the LCR |
|
|
|
Conflict type. Possible values:
|
|
|
|
Conflict applied state. Possible values:
|
|
|
|
Trail file number (Oracle GoldenGate) |
|
|
|
Position with Trail file (Oracle GoldenGate) |
|
|
|
Identifies the conflict group information |
|
|
|
Package name of the source for procedural replication |
|
|
|
Package name of the destination for procedural replication |
|
|
|
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. |
See Also:
-
“DBA_APPLY_ERROR_MESSAGES”
-
Oracle Database XStream
Guide for information on managing eager errors encountered by an inbound server