Oracle 视图 ALL_APPLY_ERROR 官方解释,作用,如何使用详细说明
本站中文解释
S
ALL_APPLY_ERRORS(所有应用错误)视图是Oracle数据库中的一个动态性视图,它提供了一种检查及应用解决策略的方法,用于发现并解决复制过程中出现的错误。
用途:
1.ALL_APPLY_ERRORS视图可以用来查询复制错误及其解决情况;
2.通过查询ALL_APPLY_ERRORS视图,可以获得以下信息:APPLY信息的行索引和行状态,相关错误信息,错误作用的表;
3.通过ALL_APPLY_ERRORS视图,可以根据获取的错误信息来诊断复制及解决策略的问题;
4.可以使用ALL_APPLY_ERRORS视图来查看特定的应用错误是否存在,这可以帮助开发者对特定应用表进行相应的处理。
使用方法:
1.查询应用错误:可以使用SELECT语句来查询ALL_APPLY_ERRORS视图详细信息;
2.解决应用错误:可以按照搜索到的错误信息提供的建议来解决该错误;
3.查看应用状态:可以使用ALL_APPLY_ERRORS视图的APPLY_STATUS字段来查看复制过程中应用的状态。
官方英文解释
ALL_APPLY_ERROR
displays information about the error transactions generated by the apply processes that dequeue messages from queues accessible to the current user.
Related Views
-
DBA_APPLY_ERROR
displays information about the error transactions generated by all apply processes in the database. -
USER_APPLY_ERROR
displays information about the error transactions generated by apply processes visible to the current user. This view does not display theSOURCE_ROOT_NAME
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Name of the apply process at the local database which processed the transaction |
|
|
|
Name of the queue at the local database from which the transaction was dequeued |
|
|
|
Owner of the queue at the local database from which the transaction was dequeued |
|
|
|
Local transaction ID for the error transaction |
|
|
|
Database where the transaction originated |
|
|
|
Original transaction ID at the source database |
|
|
|
Original commit system change number (SCN) for the transaction at the source database |
|
|
|
Identifier for the message in the transaction that raised an error |
|
|
|
Error number of the error raised by the transaction |
|
|
|
Error message of the error raised by the transaction |
|
|
|
User ID of the original user that applied the transaction |
|
|
|
Name of the original user that applied the transaction |
|
|
|
Total number of messages inside the error transaction |
|
|
|
Time that the error was created |
|
|
|
Original commit position for the transaction |
|
|
|
NULL if the apply process can access all of the LCRs in the error transaction.
|
|
|
|
The global name of the source root database |
|
|
|
LCR position at which the error occurred |
See Also:
-
“DBA_APPLY_ERROR”
-
“USER_APPLY_ERROR”
-
Oracle Database XStream
Guide for information on how to display detailed information about apply errors