在分析Oracle tkprof跟踪文件时,我注意到cpu时间和经过时间之间有时存在很大差异,我不知道是什么导致它.
例如:
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 42.09 0 0 0 0
Execute 1 0.01 0.01 0 0 0 0
Fetch 45 14.44 62.71 48664 505513 0 1871
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 47 14.45 104.82 48664 505513 0 1871
Run Code Online (Sandbox Code Playgroud)
等待统计信息如下:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 46 0.00 0.00
SQL*Net …Run Code Online (Sandbox Code Playgroud)