[20180925]等待事件SQLNet more data from client 6.txt
[20180925]等待事件SQLNet more data from client 6.txt
--//前幾天測試分析等待事件SQLNet more data from client,今天測試改變檔案大小後,檢視檢視V$SESSION_WAIT_HISTORY看到P2的變化.
--//測試使用儲存過程的情況:
1.環境:
SCOTT@test01p> @ver1
PORT_STRING VERSION BANNER CON_ID
------------------------------ -------------- -------------------------------------------------------------------------------- ----------
IBMPC/WIN_NT64-9.1.0 12.1.0.1.0 Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production 0
--//sqlnet.ora檔案設定DEFAULT_SDU_SIZE=8192
2.測試建立指令碼:
$ cat sleep2.sql
CREATE OR REPLACE procedure sleep2 (seconds IN NUMBER)
is
d_date date;
BEGIN
select /*+
123z567890123z567890123z567890123z567890123z567890123z567890123
...
a123z567890123z567890123z567890123z567890123z567890123z5
*/
sysdate into d_date from dual;
END;
/
--//裡面的sql語句足夠長.注意一定帶加號,不然註解在呼叫儲存過程時會過濾掉.
--//參考連結:
--//[20180925]等待事件SQLNet more data from client 5.txt
--//
3.測試:
--//session 1:
SCOTT@test01p> @ spid
SID SERIAL# PROCESS SERVER SPID PID P_SERIAL# C50
---------- ---------- ------------------------ --------- -------------------- ------- ---------- ---------------------------------------------
8 41 356:5176 DEDICATED 624 52 13 alter system kill session '8,41' immediate;
--//session 2:
SYS@test> select * from V$SESSION_WAIT_HISTORY where sid=8 and event='SQL*Net more data from client';
no rows selected
--//session 1:
SCOTT@test01p> @sleep2
Procedure created.
--//session 2:
SYS@test> select * from V$SESSION_WAIT_HISTORY where sid=8 and event='SQL*Net more data from client';
SID SEQ# EVENT# EVENT P1TEXT P1 P2TEXT P2 P3TEXT P3 WAIT_TIME WAIT_TIME_MICRO TIME_SINCE_LAST_WAIT_MICRO CON_ID
---------- ---------- ---------- ------------------------------ ---------- ---------- ---------- ---------- ---------- ---------- ---------- --------------- -------------------------- ----------
8 3 376 SQL*Net more data from client driver id 1413697536 #bytes 1892 0 0 43 264 3
--//建立儲存過程,透過client傳輸指令碼.P2=1892,這個是正常的情況.
--//sesson 1:
SCOTT@test01p> exec sleep2(10);
PL/SQL procedure successfully completed.
SCOTT@test01p> exec sleep2(11);
PL/SQL procedure successfully completed.
SCOTT@test01p> exec sleep2(12);
PL/SQL procedure successfully completed.
SCOTT@test01p> exec sleep2(14);
PL/SQL procedure successfully completed.
--//session 2:
SYS@test> select * from V$SESSION_WAIT_HISTORY where sid=8 and event='SQL*Net more data from client';
no rows selected
--//可以發現儲存過程中的超長sql語句不受影響.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2214840/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20180922]等待事件SQLNet more data from client 4.txt事件SQLclient
- [20180920]等待事件SQLNet more data from client 3.txt事件SQLclient
- [20180926]等待事件SQLNet more data from client 7.txt事件SQLclient
- [20180918]等待事件SQL/Net more data from client.txt事件SQLclient
- 【等待事件】SQL*Net more data to client事件SQLclient
- 【等待事件】SQL*Net more data from dblink事件SQL
- [20190622]收集SQLNet Message From Client資訊.txtSQLclient
- 【等待事件】SQL*Net vector date to client事件SQLclient
- 【等待事件】SQL*Net message from dblink事件SQL
- [20181120]SQLNet break/reset to client.txtSQLclient
- [異常等待事件latch undo global data]分析事件
- Solidity事件,等待事件Solid事件
- 【TUNE_ORACLE】等待事件之等待事件類別Oracle事件
- get_data_from_yml
- bd_ticket_guard_client_dataclient
- ABP Framework Consuming HTTP APIs from a .NET ClientFrameworkHTTPAPIclient
- Selenium等待事件Waits事件AI
- 事件 滑鼠事件 表單事件 from表單事件
- Bd-Ticket-Guard-Client-Data逆向client
- OAF export data from VO in xlsx formatExportORM
- read by other session等待事件Session事件
- log file sync等待事件事件
- ORACLE 常見等待事件Oracle事件
- latch等待事件彙總事件
- Latch free等待事件(轉)事件
- gc cr request等待事件GC事件
- 【等待事件】library cache pin事件
- 【等待事件】log file sync事件
- 【TUNE_ORACLE】等待事件之日誌等待“log file sync”Oracle事件
- 【TUNE_ORACLE】等待事件之IO等待“read by other session”Oracle事件Session
- 【TUNE_ORACLE】等待事件之IO等待“direct path read”Oracle事件
- 【TUNE_ORACLE】等待事件之IO等待“direct path write”Oracle事件
- Latch free等待事件四(轉)事件
- Latch free等待事件三(轉)事件
- db file scattered read等待事件事件
- db file sequential read等待事件事件
- latch:library cache lock等待事件事件
- Oracle常見UNDO等待事件Oracle事件