1 SQL*Net message from client的问题 - Oracle数据库管理 - ITPUB论坛 - IT168旗下专业技术社区

ITPUB??ì3
ITPUB论坛 » Oracle数据库管理 » SQL*Net message from client的问题

标题: SQL*Net message from client的问题
离线 toke_night



精华贴数 0
个人空间 0
技术积分 302 (6104)
社区积分 1 (42960)
注册日期 2008-1-6
论坛徽章:0
      
      

发表于 2008-5-2 16:13 
SQL*Net message from client的问题

一条语句执行很慢,语句中有group by和db link.

执行计划如下:
call     count       cpu    elapsed       disk      query    current        rows
------- ------  -------- ---------- ---------- ---------- ----------  ----------
Parse        1      0.03       1.63          0         10          2           0
Execute      1      0.00       0.01          0          0          0           0
Fetch   174268    302.30     329.80     199968          0         43     2613995
------- ------  -------- ---------- ---------- ---------- ----------  ----------
total   174270    302.33     331.46     199968         10         45     2613995

Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 93

Rows     Row Source Operation
-------  ---------------------------------------------------
2613995  SORT GROUP BY
7629049   MERGE JOIN
7629049    SORT JOIN
7629049     REMOTE
7629049    SORT JOIN
      1     REMOTE

Elapsed times include waiting on following events:
  Event waited on                             Times   Max. Wait  Total Waited
  ----------------------------------------   Waited  ----------  ------------
  SQL*Net message to dblink                     236        0.00          0.00
  SQL*Net message from dblink                   236        0.02          0.22
  SQL*Net more data from dblink              159780        0.07          7.87
  SQL*Net message to client                  174268        0.00          0.06
  direct path write                            3451        0.28          8.39
  direct path read                             3120        0.05         11.81
  SQL*Net more data to client                     1        0.00          0.00
  SQL*Net message from client                174268      204.06       1162.25

为什么SQL*Net message from client   消耗了主要时间,做了个 10046,语句一直在运行。


顶部
离线 121319426



精华贴数 0
个人空间 0
技术积分 2 (214579)
社区积分 0 (1755892)
注册日期 2008-5-9
论坛徽章:0
      
      

发表于 2008-5-9 14:03 
www.77169.com华夏黑客同盟去学吧!
那有很多高手
也有很多教程
保证你能学到东西


顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问