|
---- Serail
PARSING IN CURSOR #11 len=26 dep=0 uid=64 oct=3 lid=64 tim=1223548106178446 hv=4031377848 ad='266032fc'
select count(*) from t1313
END OF STMT
PARSE #11:c=6999,e=55622,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=1223548106178423
BINDS #11:
EXEC #11:c=0,e=599,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=1223548106179152
WAIT #11: nam='SQL*Net message to client' ela= 6 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106179397
FETCH #11:c=0,e=671,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=1223548106180142
WAIT #11: nam='SQL*Net message from client' ela= 1006 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106181452
FETCH #11:c=0,e=4,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=1223548106181511
WAIT #11: nam='SQL*Net message to client' ela= 125 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106182259
WAIT #11: nam='SQL*Net message from client' ela= 2922 driver id=141369753
WAIT #15: nam='SQL*Net message to client' ela= 5 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106186474
EXEC #15:c=1000,e=499,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,tim=1223548106186515
WAIT #15: nam='SQL*Net message from client' ela= 770 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106187942
WAIT #0: nam='SQL*Net message to client' ela= 4 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106188225
WAIT #0: nam='SQL*Net message from client' ela= 647 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106188906
STAT #11 id=1 cnt=1 pid=0 pos=1 obj=0 op='SORT AGGREGATE (cr=3 pr=0 pw=0 time=1183 us)'
STAT #11 id=2 cnt=0 pid=1 pos=1 obj=53801 op='TABLE ACCESS FULL T1313 (cr=3 pr=0 pw=0 time=636 us)'
WAIT #0: nam='SQL*Net message to client' ela= 4 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548106189292
*** 2009-09-14 15:27:53.751
---- Parallel
PARSING IN CURSOR #11 len=26 dep=0 uid=64 oct=3 lid=64 tim=1223548319881245 hv=4031377848 ad='266032fc'
select count(*) from t1313
END OF STMT
PARSE #11:c=35995,e=126865,p=0,cr=11,cu=3,mis=1,r=0,dep=0,og=1,tim=1223548319881235
BINDS #11:
EXEC #11:c=1000,e=971,p=0,cr=2,cu=0,mis=0,r=0,dep=0,og=1,tim=1223548319882320
WAIT #11: nam='SQL*Net message to client' ela= 6 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319883046
FETCH #11:c=0,e=243,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=1223548319883334
WAIT #11: nam='SQL*Net message from client' ela= 927 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319885068
FETCH #11:c=0,e=5,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=1223548319885133
WAIT #11: nam='SQL*Net message to client' ela= 4 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319885195
WAIT #11: nam='SQL*Net message from client' ela= 5695 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319890926
WAIT #12: nam='SQL*Net message to client' ela= 6 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319892999
EXEC #12:c=1000,e=1223,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,tim=1223548319893049
WAIT #12: nam='SQL*Net message from client' ela= 258 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319894048
WAIT #0: nam='SQL*Net message to client' ela= 4 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319894820
WAIT #0: nam='SQL*Net message from client' ela= 134 driver id=1413697536 #bytes=1 p3=0 obj#=46213 tim=1223548319894986
STAT #11 id=1 cnt=1 pid=0 pos=1 obj=0 op='SORT AGGREGATE (cr=5 pr=0 pw=0 time=542 us)'
STAT #11 id=2 cnt=1 pid=1 pos=1 obj=0 op='PX COORDINATOR (cr=5 pr=0 pw=0 time=441 us)'
STAT #11 id=3 cnt=1 pid=2 pos=1 obj=0 op='PX SEND QC (RANDOM) :TQ10000 (cr=3 pr=0 pw=0 time=241 us)'
STAT #11 id=4 cnt=1 pid=3 pos=1 obj=0 op='SORT AGGREGATE (cr=3 pr=0 pw=0 time=203 us)'
STAT #11 id=5 cnt=0 pid=4 pos=1 obj=0 op='PX BLOCK ITERATOR (cr=3 pr=0 pw=0 time=160 us)'
STAT #11 id=6 cnt=0 pid=5 pos=1 obj=53801 op='TABLE ACCESS FULL T1313 (cr=3 pr=0 pw=0 time=118 us)'
从上面的trace来看,“STAT #11 id=2 cnt=1 pid=1 pos=1 obj=0 op='PX COORDINATOR (cr=5 pr=0 pw=0 time=441 us)'“ PX COORDINATOR 的cr是5-3=2, 可以这么理解吗,PX COORDINATOR 这个值由什么来决定?
[ 本帖最后由 kl911 于 2009-9-14 16:37 编辑 ] |
|