Oracle 视图 V$BH 官方解释,作用,如何使用详细说明
本站中文解释
V$BH试图是使用Oracle的V$系列视图之一,它用于检索某一时刻下数据库系统内放置的所有块号(block)头文件(header)中的信息。它没有入参,可以显示出所有块,当前都发生了什么,以及状态等信息。V$BH是在发生ORA-1578或者ORA-1552错误时非常有用,因为它可以提供块头文件所需要诊断的信息。
使用V$BH可以通过以下步骤实现:
1.连接到Oracle服务器上
2.使用Oracle提供的V$视图,运行查询语句:SELECT * FROM V$BH
3.检查查询结果,检查SQL的活动和状态,以查看所有块是不是正常运行
4.收集出现的问题块的详细信息,并分析,找出问题原因
5.根据分析的结果,执行适当的措施,以修复问题,并确保正常运行数据库系统。
官方英文解释
V$BH
displays the status and number of pings for every buffer in the SGA. This is an Oracle Real Application Clusters view.
Column | Datatype | Description |
---|---|---|
|
|
Data file identifier number (to find the file name, query |
|
|
Block number |
|
|
Class number |
|
|
Status of the buffer:
|
|
|
This column is obsolete. Its value is hard-coded to 0. |
|
|
This column is obsolete. Its value is hard-coded to 0. |
|
|
This column is obsolete. Its value is hard-coded to 0. |
|
|
Address of the lock element that contains the PCM lock that is covering the buffer. If more than one buffer has the same address, then these buffers are covered by the same PCM lock. |
|
|
The address of the lock element that contains the PCM lock that is covering the buffer. If more than one buffer has the same address, then these buffers are covered by the same PCM lock. |
|
|
The address of the lock element that contains the PCM lock that is covering the buffer. If more than one buffer has the same address, then these buffers are covered by the same PCM lock. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Always set to |
|
|
Database object number of the block that the buffer represents |
|
|
Tablespace number of block |
|
|
If the buffer belongs to a SecureFiles object, the value in this column is the unique identifier for the SecureFiles object. For other buffer types, the value in this column is meaningless. |
|
|
Numeric representation of the values in the |
|
|
Database Smart Flash Cache hint to be used for segment blocks:
Solaris and Oracle Linux functionality only. |
|
|
Cell flash cache hint to be used for segment blocks:
See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
The ID of the container to which the data pertains. Possible values include:
|