Oracle 视图 V$BUFFER_POOL_STATISTICS 官方解释,作用,如何使用详细说明

本站中文解释

总览

Oracle视图V$BUFFER_POOL_STATISTICS总体来说是概括缓冲池的各种统计信息的一张视图,该视图的用途一般用于查看正在运行的实例的各种缓冲池的状态,可以用来确定当前正在使用的是哪个缓冲池、它的不同类型的总量以及当前被查看缓冲池的生成比率等等。主要用于检查缓冲池,检查缓冲池数据库和缓冲池回写率是否符合要求。

使用方法:

1. 通过登录服务器的sqlplus客户端连接数据库;

2. 使用SQL查询语句:SELECT * FROM v$buffer_pool_statistics;

3. 根据具体的缓冲池信息,确定当前正在使用的缓冲池,缓冲池状态,以及生成比率等信息;

4. 根据查询结果,优化该缓冲池使用及性能;

5. 退出sqlplus客户端。

官方英文解释

V$BUFFER_POOL_STATISTICS displays statistics about all buffer pools available for the instance.

Column Datatype Description

ID

NUMBER

Buffer pool identifier number

NAME

VARCHAR2(20)

Name of the buffer pool

BLOCK_SIZE

NUMBER

Block size (in bytes) for buffers in this pool. Possible values: the standard block size, the power of 2 nonstandard block sizes, 2048, 4096, 8192, 16384, 32768.

SET_MSIZE

NUMBER

Buffer pool maximum set size

CNUM_REPL

NUMBER

Number of buffers on replacement list

CNUM_WRITE

NUMBER

Number of buffers on write list

CNUM_SET

NUMBER

Number of buffers in set

BUF_GOT

NUMBER

Number of buffers gotten by the set

SUM_WRITE

NUMBER

Number of buffers written by the set

SUM_SCAN

NUMBER

Number of buffers scanned in the set

FREE_BUFFER_WAIT

NUMBER

Free buffer wait statistic

WRITE_COMPLETE_WAIT

NUMBER

Write complete wait statistic

BUFFER_BUSY_WAIT

NUMBER

Buffer busy wait statistic

FREE_BUFFER_INSPECTED

NUMBER

Free buffer inspected statistic

DIRTY_BUFFERS_INSPECTED

NUMBER

Dirty buffers inspected statistic

DB_BLOCK_CHANGE

NUMBER

Database blocks changed statistic

DB_BLOCK_GETS

NUMBER

Database blocks gotten statistic

CONSISTENT_GETS

NUMBER

Consistent gets statistic

PHYSICAL_READS

NUMBER

Physical reads statistic

PHYSICAL_WRITES

NUMBER

Physical writes statistic

CON_ID

NUMBER

The ID of the container to which the data pertains. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

See Also:

“DB_CACHE_SIZE”


数据运维技术 » Oracle 视图 V$BUFFER_POOL_STATISTICS 官方解释,作用,如何使用详细说明