【偵聽】V$session.server = none when using Shared Server/MTS Configuration
*** This article is being delivered in Draft form. and may contain errors. Please use the MetaLink "Feedback" button to advise Oracle of any issues related to this article. *** PURPOSE ------- V$session view showing 'NONE' in server column is not a bug in MTS/Shared Server configuration. SCOPE & APPLICATION ------------------- This article can be useful for DBA's, Support Engineers to conclude 'NONE' in server column of v$session view is not a bug in MTS/Shared Server configuration. Analysis ----------------------------- 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. SQL> select username,server from v$session where program like '%sql%'; USERNAME SERVER ------------------------------ --------- SYS DEDICATED SYSTEM SHARED SCOTT NONE
對以上的理解
經過測試發現:當session的status 為active SERVER為 shared
當session的status 為active SERVER為 NONE
測試過程如下:
視窗1
SQL> select username,server from v$session group by username,server; USERNAME SERVER ------------------------------ --------- DEDICATED SYS DEDICATED SYSTEM SHARED
視窗2:
SQL> create table t1 (id number); Table created. SQL> SQL> SQL> select * from t1; no rows selected SQL> insert into t1 values(1); 1 row created. SQL> commit; Commit complete. SQL> begin 2 for a in 1..100000 loop 3 insert into t1 values(2); 4 commit; 5 end loop; 6 end; 7 8 /
同時查詢視窗1
SQL> select username,server from v$session group by username,server; USERNAME SERVER ------------------------------ --------- DEDICATED SYS DEDICATED SYSTEM SHARED
指令碼執行完成後:
SQL> select username,server from v$session group by username,server; USERNAME SERVER ------------------------------ --------- DEDICATED SYS DEDICATED SYSTEM NONE
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-759238/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MTS方式連線V$SESSION中的SERVER狀態SessionServer
- 10g bug 偵聽掛起 兩個偵聽程式
- ASP.NET Development Server未能開始偵聽埠1041ASP.NETdevServer
- Shared ServerServer
- 頁面滾動偵聽器
- oracle偵聽無法啟動Oracle
- shared Server 分片Server
- 配置Shared ServerServer
- Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have aServerTomcatlocalhostContext
- Vue EventBus事件偵聽($on、$emit、$off、$once)Vue事件MIT
- Unable to View Chinese Font When Using Tools>Copy FileView
- SQL Server CASE WHEN ... THEN ... ELSE ... ENDSQLServer
- Dedicated and Shared Server ProcessesServer
- Oracle dedicated server process and shared server processOracleServer
- Vue計算屬性和偵聽器Vue
- mysql的啟動,以及修改偵聽埠。MySql
- configure shared serverServer
- dispatcher & shared server小結Server
- Restricted Operations of the Shared Server (132)RESTServer
- GET ORA-32700 WHEN TRYING TO CREATE DATABASE USING 9.2Database
- Vue中計算屬性和偵聽器Vue
- bootstrap原始碼分析之scrollspy(滾動偵聽)boot原始碼
- Dedicated Server Configuration (133)Server
- sql server select case when的用法SQLServer
- Oracle shared server 配置詳解OracleServer
- Shared Server Architecture (128)Server
- Shared Server Processes (Snnn) (131)Server
- 埠偵探(PortSpy)V3.8.28.06
- v$sql v$sqlarea v$sql_shared_cursor及遊標SQL
- ADDM Reports Significant VM Paging on Linux When None is Occurring-1322964.1NifiLinuxNone
- ORA - 1461 encountered when generating server alertServer
- Oracle Shared Server(OSS)筆記 (zt)OracleServer筆記
- Recreate stdby Control File When dbf Are On ASM And Using OMF-734862.1ASM
- [原創] How to pull code when shared repo commit history has been changedMIT
- oracle MTS 配置Oracle
- 複習Vue中的方法,計算和偵聽者Vue
- oracle一個listener偵聽多個例項的配置Oracle
- 【原始碼系列#04】Vue3偵聽器原理(Watch)原始碼Vue