Oracle 视图 V$BUFFER_POOL 官方解释,作用,如何使用详细说明
本站中文解释
_STATISTICS视图
V$BUFFER_POOL_STATISTICS视图提供了缓冲池统计信息。它包括三列:name,value和statistic,它们表示缓冲池的名称,相应值和相应统计。查看该视图可以用于衡量当前的缓冲池的使用情况和性能,大部分的信息反映了相应的缓冲池的总量,平均值,高水位情况及其他实时统计信息。
使用方法:
可以使用SELECT命令来查询该视图:
SELECT *
FROM v$buffer_pool_statistics;
更多的,可以选择聚合语句来查询缓冲池统计信息,比如:
SELECT name, SUM(value) as TOTAL
FROM v$buffer_pool_statistics
GROUP BY name;
这将把缓冲池中统计数据按名称汇总。
官方英文解释
V$BUFFER_POOL
displays information about all buffer pools available for the instance.
Column | Datatype | Description |
---|---|---|
|
|
Buffer pool identifier number |
|
|
Name of the buffer pool:
|
|
|
Block size (in bytes) for buffers in this pool. Possible values: the standard block size, the power of 2 nonstandard block sizes, |
|
|
Current state of the resize operation:
|
|
|
Present size of the sub-cache (in megabytes) |
|
|
Current instantaneous number of buffers |
|
|
If a resize is in progress (state is not |
|
|
If a resize is in progress, records new target size in terms of buffers. Otherwise, the value in this column is the same as the current number of buffers. |
|
|
Previous buffer pool size. If the buffer pool has never been resized, the previous size is zero. |
|
|
Previous number of buffers in the buffer pool. Value is zero if the buffer pool has never been resized. |
|
|
Obsolete column |
|
|
Obsolete column |
|
|
Obsolete column |
|
|
Obsolete column |
|
|
Obsolete column |
|
|
The ID of the container to which the data pertains. Possible values include:
|
See Also:
“DB_BLOCK_SIZE”