Home » RDBMS Server » Performance Tuning » More "SQL*Net message to/from client" than expected
More "SQL*Net message to/from client" than expected [message #177613] |
Thu, 15 June 2006 15:09 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
YodaBoy
Messages: 2 Registered: June 2006 Location: UK
|
Junior Member |
|
|
Here's an excerpt from a level 8, 10046 event trace (with SQL changed for security reasons):
:
FETCH #4:c=0,e=0,p=0,cr=1,cu=0,mis=0,r=0,dep=1,og=4,tim=27242431
FETCH #6:c=0,e=0,p=0,cr=1,cu=0,mis=0,r=0,dep=1,og=4,tim=27242431
=====================
PARSING IN CURSOR #1 len=94 dep=0 uid=64 oct=3 lid=64 tim=27242431 hv=1394343879 ad='1140e68c'
Select X.Y from X where X.Z= 'Names changed to protect the guilty!'
END OF STMT
PARSE #1:c=5,e=10,p=17,cr=101,cu=1,mis=1,r=0,dep=0,og=4,tim=27242431
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1413697536 p2=1 p3=0
WAIT #1: nam='SQL*Net message from client' ela= 1 p1=1413697536 p2=1 p3=0
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1413697536 p2=1 p3=0
WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1413697536 p2=1 p3=0
EXEC #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=27242432
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1413697536 p2=1 p3=0
WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1413697536 p2=1 p3=0
WAIT #1: nam='db file sequential read' ela= 0 p1=46 p2=138 p3=1
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1413697536 p2=1 p3=0
FETCH #1:c=0,e=0,p=1,cr=1,cu=4,mis=0,r=1,dep=0,og=4,tim=27242432
WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1413697536 p2=1 p3=0
STAT #1 id=1 cnt=1 pid=0 pos=0 obj=13415 op='TABLE ACCESS FULL X '
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1413697536 p2=1 p3=0
WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1413697536 p2=1 p3=0
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1413697536 p2=1 p3=0
WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1413697536 p2=1 p3=0
=====================
PARSING IN CURSOR #4 len=283 dep=1 uid=0 oct=3 lid=0 tim=27242432 hv=955191413 ad='11c6ba1c'
select obj#,type#,ctime,mtime,stime
:
:
The application which accessed the database (8.1.7) is written in VB using MDAC 2.6 (i.e. ADO) using the "MS Data Provider for Oracle".
I have trouble with this application in that its developers, being pretty inexperienced with databases, saw fit to write layers of code that "hide the complexity" of the nasty thing.
This means plenty of, what I call "Noddy" SQL, being executed and the results being "glued-together" within VB Recordsets: completely missing the opportunity to perform joins and running real risks with producing inconsistent results because of running all this "bitty" SQL in read committed isolation mode.
Anyway, putting that aside, for a minute, looking between the PARSE and EXECUTE phase there is more than one "SQL*Net message to/from client" pair of wait events.
Does anyone know why I'm seeing this? I kind of expected to see one pair: i.e. PARSE - DB tells App, "I've Parsed" - App tells DB "OK, thanks a lot, get on with it..." - EXEC. The application is a lot more "chatty" than I would expect.
Help!!
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Feb 08 13:00:36 CST 2025
|