Oracle 视图 DBA_HIST_RSRC_PDB_METRIC 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_HIST_RSRC_PDB_METRIC用于显示Cloud资源管理器实例(CRP)和Oracle数据库实例(ODB)上采集的指标历史数据。
其中的指标包括:可用性、内存使用率、CPU使用率、磁盘读取、磁盘写入、网络I/O、数据库连接、CPU窃取等。
使用方式:使用SELECT语句查询DBA_HIST_RSRC_PDB_METRIC视图,尤其是其中的BEGIN_INTERVAL_TIME、END_INTERVAL_TIME这两个特殊字段,可以获得一段时间内的历史指标数据,以便深入分析服务器的CPU、内存、I/O等各项性能指标。
官方英文解释
DBA_HIST_RSRC_PDB_METRIC
displays information about historical Resource Manager metrics for the past hour by PDB.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Unique snapshot ID |
|
|
|
Database ID for the snapshot |
|
|
|
Instance number for the snapshot |
|
|
|
Begin time of the interval |
|
|
|
End time of the interval |
|
|
|
Interval size (in hundredths of a second) |
|
|
|
A sequential counter that uniquely describes the |
|
|
|
Cumulative amount of CPU time consumed by all sessions in the consumer group, in milliseconds |
|
|
|
Cumulative amount of time that sessions waited for CPU because of resource management, in milliseconds. This does not include waits due to latch or enqueue contention, I/O waits, and so on. When CPU resources are not being actively managed, this value is set to zero. |
|
|
Average number of sessions in the consumer group that are currently running |
|
|
|
Average number of sessions in the consumer group that are waiting for CPU due to resource management. When CPU resources are not being actively managed, this value is set to zero. |
|
|
|
Average percentage CPU consumed by the consumer group |
|
|
|
I/O operations per second during the previous minute for this PDB |
|
|
|
I/O megabytes per second during the previous minute for this PDB |
|
|
|
Indicates how much of the I/O per second in the current PDB was exempted from throttling. For example, if the value in the I/O throttling is defined by the |
|
|
|
Indicates how many megabytes of I/O executed per second in the current PDB were exempted from throttling. For example, if the value in the I/O megabytes per second throttling is defined by the |
|
|
|
Average throttle time per I/O operation in milliseconds during the previous minute for this PDB |
|
|
|
The average number of parallel statements that were running during the 1-minute metric window |
|
|
|
The average number of parallel statements that were queued during the 1-minute metric window |
|
|
|
The average number of parallel servers that were actively running as part of a parallel statement during the 1-minute metric window |
|
|
|
The average number of parallel servers that were requested by queued parallel statements during the 1-minute metric window |
|
|
|
|
The current SGA usage for this PDB in bytes |
|
|
|
The current usage of the buffer cache by this PDB in bytes |
|
|
|
The current usage of the shared pool by this PDB in bytes |
|
|
|
The current PGA usage for this PDB in bytes |
|
|
|
Resource Manager plan identifier |
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|
Note:
-
“MAX_IOPS”
-
“MAX_MBPS”