Oracle 视图 V$CPOOL_CONN_INFO 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$CPOOL_CONN_INFO用于监视连接池信息,并可用于了解回收进程的运作情况。
此视图具有下列字段:
• CP_CON_ID :已从连接池中分配的连接ID
• CP_NEX_TIME :连接上次使用的时间
• CP_CHECK_TIME :连接应检查的时间
• CP_USE_COUNT :使用此连接的次数
• CP_LAST_EVENT :最近发生的事件
• CP_VALID :此连接有效性
• CP_ANY_USER :此连接是否可用于任意用户
V$CPOOL_CONN_INFO视图可以帮助确定生存期内连接状态,以了解从连接池中分配什么连接。
可以使用以下语法查询V$CPOOL_CONN_INFO视图:
SELECT *
FROM V$CPOOL_CONN_INFO;
官方英文解释
V$CPOOL_CONN_INFO
displays connection information about each connection to the connection broker.
Column | Datatype | Description |
---|---|---|
|
|
Address of the connection broker |
|
|
Address of the session associated with the connection; NULL if the connection does not have an associated session |
|
|
Address of the connection |
|
|
Name of the user associated with the connection |
|
|
Name of the proxy user |
|
|
Connection class associated with the connection |
|
|
Purity used to create the connection (can be |
|
|
Tag, if specified, at connection creation time |
|
|
TNS service name for the connection |
|
|
Client process ID of the process which created the connection |
|
|
Program name of the client process which created the connection |
|
|
Machine name of the client process which created the connection |
|
|
Terminal identifier of the client process which created the connection |
|
|
Reserved for internal use |
|
|
Status of the connection:
|
|
|
Query cache registration ID sent by the client |
|
|
Time in microseconds spent in the current state. See |
|
|
Total time in |
|
|
Total time in |
|
|
Total time in |
|
|
Total think time for the connection assigned to the pooled server, but not doing any database activity (in microseconds) |
|
|
Time in last |
|
|
Time in last |
|
|
Time in last |
|
|
Time for the connection assigned to the pooled server, but not doing any database activity during the last |
|
|
Total number of requests at the connection level |
|
|
Total number of hits at the connection level |
|
|
The ID of the container to which the data pertains. Possible values include:
|