Oracle 视图 DBA_HIST_CAPTURE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图:DBA_HIST_CAPTURE
用途:DBA_HIST_CAPTURE视图提供了有关在启用和停用AWR捕获时间块的元数据信息。
使用方法:
1. 安装并启用AWR,然后在活动会话中执行
SQL> EXECUTE DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT;
2. 使用下面的查询语句检索DBA_HIST_CAPTURE视图的内容:
SELECT * FROM DBA_HIST_CAPTURE;
它将返回以下列:
BEGIN_INTERVAL_TIME — 开始捕获这个快照的时间戳
END_INTERVAL_TIME — 结束捕获这个快照的时间戳
ELAPSED_SECONDS — 上次快照到本次快照消耗的时间,以秒计算
WORKLOAD_REQUEST_COUNT — 在这个快照期间传递给数据库的工作负载请求数量
WORKLOAD_WORK_COUNT — 在这个快照期间处理的工作负载总数
WORKLOAD_CPU_SECONDS — 在快照间隔内消耗的CPU秒
WORKLOAD_UI_SECONDS — 在快照间隔内消耗的用户I/O秒
WORKLOAD_PI_SECONDS — 在快照间隔内消耗的操作系统I/O秒
WORKLOAD_DB_SECONDS — 在快照间隔内消耗的持续的数据库时间
WORKLOAD_NET_SECONDS — 在快照间隔内消耗的网络时间
官方英文解释
DBA_HIST_CAPTURE
displays historical statistics information about each capture process for Oracle GoldenGate, and XStream capture operations.
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 WAITING FOR REDO state since the capture process was last started. |
|
|
|
Elapsed pause time (in hundredths of a second) spent by the capture process since the capture process was last restarted |
|
|
|
The database ID of the PDB |
|
|
|
Name of the extract process, if applicable |
|
|
|
The total amount of redo data mined (in bytes) since the capture process last started |
|
|
|
Total number of bytes sent by the capture process to the extract process since the last time the extract process attached to the capture process |
|
|
|
|
Session module. Valid values:
|
|
|
The ID of the container to which the data pertains. Possible values include:
|