Oracle 视图 V$CIRCUIT 官方解释,作用,如何使用详细说明
本站中文解释
Oracle的V$CIRCUIT视图提供了关于与客户机和数据库服务器之间传输的连接状态和信息的查看,允许用户确定数据库服务器目前处于何种访问情况。它为 DBA 提供了一种监控接口,用来识别并跟踪服务器上的连接以及它们之间的可用资源。
V$CIRCUIT 既可以管理连接任务,也可以跟踪可用资源,以便防止服务器出现过载。它可以用来检查服务器上活动的会话,以及活动会话的详细信息,如连接状况、信息完整性、会话数量、会话超时等。
使用V$CIRCUIT视图的方法:
1.使用SQL命令 – 使用V$CIRCUIT视图可以使用以下SQL命令查看活动的连接和会话:
SELECT session_id, remote_ip_addr, module, command
FROM V$CIRCUIT;
2.使用Oracle Enterprise Manager(OEM)-使用Oracle Enterprise Manager(OEM),可以使用V$CIRCUIT视图查看和监控会话。转到EM Console,然后转到Development -> Database Connection -> Session History,然后查看数据库服务器上的活动会话。
官方英文解释
V$CIRCUIT
contains information about virtual circuits, which are user connections to the database through dispatchers and servers.
Column | Datatype | Description |
---|---|---|
|
|
Circuit address |
|
|
Current dispatcher process address |
|
|
Current server process address |
|
|
Address of the server process that is waiting for the (currently busy) circuit to become available |
|
|
Address of the session bound to the circuit |
|
|
Status of the circuit:
|
|
|
Queue the circuit is currently on:
|
|
|
Size in bytes of the messages in the first message buffer |
|
|
Size in bytes of the messages in the second message buffer |
|
|
Size in bytes of the messages in the third message buffer |
|
|
Size in bytes of the messages in the fourth message buffer |
|
|
Total number of messages that have gone through this circuit |
|
|
Total number of bytes that have gone through this circuit |
|
|
Total number of breaks (interruptions) for this circuit |
|
|
Presentation protocol used by the client and server |
|
|
Address of the parent circuit |
|
|
Time that a circuit and shared server have been bound (in centiseconds) |
|
|
Provides a reason (a short explanation) for why a shared server and circuit could not be unbound. This column is empty when a circuit is not bound to a server. When the server starts serving a circuit, When this column is not empty, it will be cleared once the server and circuit are unbound (that is, once the resources preventing the session migration to another shared server are released). |
|
|
The ID of the container to which the data pertains. Possible values include:
|