Oracle 视图 ALL_CAPTURE 官方解释,作用,如何使用详细说明
本站中文解释
视图
ALL_CAPTURE视图是Oracle数据库中提供的一个视图,它显示当前用户具有ALTER ANY CAPTURE权限的所有捕获实例的详细信息。
ALL_CAPTURE视图包含以下列:
• CAP_NAME:捕获的名称。
• CAP_OWNER:捕获的拥有者,即当前用户拥有ALTER ANY CAPTURE权限的用户对象。
• CAP_GROUP_SCHEMA:定义一个捕获组的模式。此捕获组的捕获将在此模式下运行。
• CAP_GROUP_NAME:定义捕获组的名称。此捕获组的捕获将在此名称下运行。
• CAP_ENABLED:是否使用_CAPTURE组捕获?如果禁用,则不会处理。
使用ALL_CAPTURE视图时,可以使用SELECT语句,按照请求查询当前用户对象的所有捕获实例信息:
SELECT * FROM ALL_CAPTURE;
此外,还可以使用过滤器查看用于感兴趣的捕获实例的详细信息:
SELECT * FROM ALL_CAPTURE WHERE CAP_NAME=’CAPTURE_A’;
官方英文解释
ALL_CAPTURE
displays information about the capture processes that enqueue the captured changes into queues accessible to the current user.
Related View
DBA_CAPTURE
displays information about all capture processes in the database.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Name of the capture process |
|
|
|
Name of the queue used for staging captured changes |
|
|
|
Owner of the queue used for staging captured changes |
|
|
|
Name of the positive rule set used by the capture process for filtering |
|
|
|
Owner of the positive rule set |
|
|
|
Current user who is enqueuing captured messages |
|
|
|
System change number (SCN) from which the capture process will start to capture changes. |
|
|
|
Status of the capture process:
|
|
|
|
System change number (SCN) of the last redo log record scanned |
|
|
|
System change number (SCN) of the most recent message dequeued by the relevant apply processes. All changes below this SCN have been dequeued by all apply processes that apply changes captured by this capture process. |
|
|
|
Indicates whether the source database name is used as the database link to connect to the source database from the downstream database ( |
|
|
|
System change number (SCN) from which the capture process can be restarted. |
|
|
|
Global name of the source database |
|
|
|
Database ID of the source database |
|
|
|
Resetlogs system change number (SCN) of the source database |
|
|
|
Resetlogs time of the source database |
|
|
|
Session ID of the Oracle LogMiner session associated with the capture process |
|
|
|
Name of the negative rule set used by the capture process for filtering |
|
|
|
Owner of the negative rule set used by the capture process for filtering |
|
|
|
System change number (SCN) at which the last checkpoint was taken by the capture process |
|
|
|
Lowest checkpoint SCN for which the capture process requires redo information. Note: This SCN value does not necessarily correspond with a checkpoint SCN value. |
|
|
|
Logfile assignment type for the capture process:
|
|
|
|
Time that the |
|
|
|
Error number if the capture process was aborted |
|
|
|
Error message if the capture process was aborted |
|
|
|
Version number of the capture process |
|
|
|
Type of the capture process:
|
|
|
|
Last enqueued system change number (SCN) |
|
|
|
Checkpoint retention time Note: When the checkpoint retention time for a capture process is set to |
|
|
|
Time from which the capture process will start to capture changes. You can modify either |
|
|
|
Purpose of the capture process:
|
|
|
|
The global name of the source root database |
|
|
|
Client name of the capture process. This is the outbound name for XStream Out, and the extract name for GoldenGate. |
|
|
|
Status of the client process:
|
|
|
|
Oldest SCN of the transactions currently being processed |
|
|
|
SCN of the low watermark transaction processed |
See Also:
-
“DBA_CAPTURE”
-
Oracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_XSTREAM_ADM.ENABLE_GG_XSTREAM_FOR_STREAMS
procedure