select hang住等待SQL*Net message from Client
如果你不知道什麼叫詭異,那麼請往下看。
一個select語句,在10.2.0.1 for linux平臺跑著好好的,到了10.2.0.4一執行就hang住,等待SQL*Net message from Client,而且非常消耗CPU資源。很奇怪吧,看似是等待客戶端的請求,但是卻消耗了大量CPU,似乎很矛盾。在山窮水盡之時,老熊橫空出世,抓到了call stack,並且在metalink上找到了相似的BUG。
我的call stack:
lnxfpr ()lnxn2coptg ()lnxn2copt ()lnxn2c ()evastr ()evaopn2 ()evaopn2 ()evacat ()evaopn2 ()evareo ()expeqkesEval_Int ()qkesEvalPred ()qsmeeopt_evaluate_opt ()kkqsevopt ()kkqsrgck ()kkqsecxp ()kkqsccck ()kkqsdcck ()kkqscchk ()kkqsCheckWkkqsAreQbcsEquivalent ()kkqvCheckQbcEquiv ()expCheckExprEquiv ()qecgoc ()qecgby ()qecdrv ()qecdrv ()kkqcttcalo ()kkqctdrvIT ()apadropitca ()kksFullTypeCheck ()rpiswu2 ()kksLoadChild ()kxsGetRuntimeLock ()kksfbc ()kkspsc0 ()kksParseCursor ()opiosq0 ()kpooprx ()kpoal8 ()opiodr ()ttcpip ()opitsk ()opiino ()opiodr ()opidrv ()sou2o ()opimai_real ()main ()
Bug No. | 7436631 QUERY HANGS IN PARSING ON 10.2.0.4 ON LNXN2COPT 的call stack: STACK TRACE: ------------ Summary Stack lnxn2copt lnxn2c evastr copyright (c) 1981 by Relational Software evaopn2 evareo evareo - EVAluate RElational Operator expepr expepr evaluates the argument predicate. qkesEval_Int qkesEvalPred qsmeeopt_evaluate_opt kkqsevopt kkqsrgck kkqsecxp kkqsccck kkqsdcck kkqscchk kkqsCheckWhereClauseEquiv kkqsAreQbcsEquivalent kkqvCheckQbcEquiv expCheckExprEquiv qecgoc qecgoc - Query Edit Check Group Operand Check qecgby qecgby - Query Edit Check Group BY qecdrv qecdrv - query edit check driver opitca OPITCA: sets up the context area kksFullTypeCheck . 非常相似,遺憾的是在linux下沒有patch,最後透過改寫SQL fix掉了。 |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9533994/viewspace-1019666/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SQL*Net message from clientSQLclient
- SQL* Net message to client 和SQL * Net more data to client等待事件SQLclient事件
- sql net message from|to client與sql execution countSQLclient
- 【等待事件】SQL*Net message from dblink事件SQL
- SQL*Net message from client 事件產生的原因分析SQLclient事件
- Oracle的SQL*Net more data from client 等待事件分析OracleSQLclient事件
- [20161208]SQL*Net message from clientSQLclient
- 0824SQL/Net message from client 丟包模擬SQLclient
- SQL*Net more data from clientSQLclient
- SQL*Net break/reset to client等待SQLclient
- 【等待事件】SQL*Net more data to client事件SQLclient
- 【等待事件】SQL*Net vector date to client事件SQLclient
- [20180918]等待事件SQL/Net more data from client.txt事件SQLclient
- 【等待事件】SQL*Net more data from dblink事件SQL
- 0124奇怪的SQL*Net message from dblinkSQL
- [20190622]收集SQLNet Message From Client資訊.txtSQLclient
- SQL*Net more data to client 等待事件造成的效能問題SQLclient事件
- [20180925]等待事件SQLNet more data from client 6.txt事件SQLclient
- [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
- Script to generate AWR report from remote sql clientREMSQLclient
- 20180126模擬SQL*Net message from dblinkSQL
- SQL*Net break/reset to clientSQLclient
- SQL-Hive中的Select From解析SQLHive
- ABP Framework Consuming HTTP APIs from a .NET ClientFrameworkHTTPAPIclient
- shutdown命令被job程式hang住
- 資料庫hang住,分析處理資料庫
- shutdown命令被job程式hang住(續)
- 中止程式導致系統HANG住
- SDU&SQL*NET MORE data to clientSQLclient
- hang了,嚴重的row cache lock 等待事件--就因大sql文字事件SQL
- mybatis中insert into ...select ...from dual union all select ... from dual 提示sql命令未結束的問題MyBatisSQL
- oracle僵死會話鎖住buffer,導致資料庫hang住Oracle會話資料庫
- 導數時資料庫hang住分析資料庫
- 資料庫異常hang住解決資料庫
- 0126奇怪的SQLNet message from dblink模擬SQL
- MySQL:kill和show命令hang住一列MySql