## v$session中server为none与shared值解析 2016-03-24 15:38 潇湘隐者 阅读(1094) 评论(0编辑 收藏 举报 查询V$SESSION，你会看到SERVER可能会有DEDICATED| SHARED| PSEUDO| NONE 四种值，如果SERVER字段的值除了DEDICATED,还有NONE，则说明当前实例启动了共享服务器，并且SERVER为NONE的会话表示其正使用共享服务器连接模式，同时，如果只显示有DEDICATED，则不能说明服务器就一定工作在专用服务器下面，此时也有可能启动了共享模式。只是目前连接到数据库的都是专用服务器模式

SQL> select distinct server from v\$session;

SERVER
---------
DEDICATED
NONE
SHARED

In MTS/Shared Server configuration when you see value 'NONE' (as shown below), it means there is no task being processed by shared server for that session. The server column will infact show status of 'SHARED' if there is some task being processed at that particular time by the shared server process for that session.