Oracle 视图 V$CURRENT_BLOCK_SERVER 官方解释,作用,如何使用详细说明
本站中文解释
V$CURRENT_BLOCK_SERVER 是Oracle数据库中的一个视图。它会显示当前会话块服务器如何运行,对比分析各种参数,从而帮助DBA掌握数据库性能。具体来说,它可以用来查看会话块服务器的状态,包括空闲连接数,会话块丢失次数等。使用这个视图,DBA可以了解block server的数量,以及每个block server的运行情况。
使用V$CURRENT_BLOCK_SERVER视图的步骤如下:
1. 连接到Oracle数据库,使用sys用户或sysdba权限的用户登录。
2. 运行SQL语句:SELECT * FROM V$CURRENT_BLOCK_SERVER;
3. 检查输出中每个列的值,以了解block server的状态。数据库会显示这些信息:block server实例ID,服务器运行状态,空闲连接数,会话块丢失数,block server服务器主机名等等。
4. 根据显示的信息,分析block server的性能,对不正常的性能进行修复,如调整参数和测试block server的加载状态。
官方英文解释
V$CURRENT_BLOCK_SERVER
displays statistics on the Global Cache Service processes (LMS) used in cache fusion.
Column | Datatype | Description |
---|---|---|
|
|
Pins taking less than 100 microseconds |
|
|
Pins taking 100 microseconds to 1 millisecond |
|
|
Pins taking 1 to 10 milliseconds |
|
|
Pins taking 10 to 100 milliseconds |
|
|
Pins taking 100 to 1000 milliseconds |
|
|
Pins taking 1000 to 10000 milliseconds |
|
|
Flushes taking less than 100 microseconds |
|
|
Flushes taking 100 microseconds to 1 millisecond |
|
|
Flushes taking 1 to 10 milliseconds |
|
|
Flushes taking 10 to 100 milliseconds |
|
|
Flushes taking 100 to 1000 milliseconds |
|
|
Flushes taking 1000 to 10000 milliseconds |
|
|
Writes taking less than 1 millisecond |
|
|
Writes taking 1 to 10 milliseconds |
|
|
Writes taking 10 to 100 milliseconds |
|
|
Writes taking 100 to 1000 milliseconds |
|
|
Writes taking 1000 to 10000 milliseconds |
|
|
Reserved for internal use |
|
|
Number of lock down-converts to S (shared) caused by instance recovery |
|
|
Number of queued lock down-converts to NULL |
|
|
Number of lock down-converts to NULL caused by an SGA shrink |
|
|
Number of dirty blocks in read-mostly objects which were written and the X (exclusive) lock down-converted to S (shared) locks |
|
|
The ID of the container to which the data pertains. Possible values include:
|
Footnote 1
This column is deprecated in Oracle Database 12c Release 2 (12.2.0.1) and may be removed in a future release.