Oracle 视图 DBA_HIST_STREAMS_CAPTURE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图 DBA_HIST_STREAMS_CAPTURE是一个查询型视图,它可以查询出过去24小时或者更久的内部信息,这些信息主要包括Streams捕获进程的信息,包括进程名称、相关的应用模式等。通过它,DBA可以获取捕获过程的健康状态,以及相应的活动信息,及时发现和解决一些问题。
可以使用DBA_HIST_STREAMS_CAPTURE获取历史捕获活动信息,如下:
–查看捕获进程状态:
SELECT capture_name,status
FROM dba_hist_streams_capture
WHERE snap_id = (SELECT MAX(snap_id) FROM dba_hist_streams_capture);
–查看捕获全局名称:
SELECT global_name,status
FROM dba_hist_streams_capture
WHERE snap_id = (SELECT MAX(snap_id) FROM dba_hist_streams_capture);
–查看运行中的捕获进程:
SELECT capture_name,status
FROM dba_hist_streams_capture
WHERE status = ‘RUNNING’
AND snap_id = (SELECT MAX(snap_id) FROM dba_hist_streams_capture);
官方英文解释
DBA_HIST_STREAMS_CAPTURE
displays information about each capture process.
This view is intended for use with Automatic Workload Repository (AWR).
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Unique snapshot ID |
|
|
|
Database ID for the snapshot |
|
|
|
Instance number for the snapshot |
|
|
|
Name of the capture process |
|
|
|
Time that the capture process was last started |
|
|
Delay (in seconds) between the creation and capture of the most recently captured message |
|
|
|
Total changes captured since the capture process was last started |
|
|
|
Total number of messages enqueued since the capture process was last started |
|
|
|
Elapsed time (in hundredths of a second) evaluating rules since the capture process was last started |
|
|
|
Elapsed time (in hundredths of a second) enqueuing messages since the capture process was last started |
|
|
|
Elapsed time (in hundredths of a second) spent by the capture process in the |
|
|
|
Elapsed pause time |
|
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|