
说明:
本文整理自我的ITPUB博客,链接如下:
https://blog.itpub.net/29785807/viewspace-2121912/
环境说明:
数据库版本: Oracle 11.2.0.1.0
数据库服务器操作系统: Linux
问题现象:
某系统登录时,报错 " No more data to read from socket "
# 解决方案:
查看 alert 警告日志,查找对应的 trace 文件 ;
Tue May 24 13:31:22 2016
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_ora_1796.trc (incident=31766):
ORA-03137: TTC protocol internal error : [12333] [20] [48] [48] [] [] [] []
Incident details in: /u01/app/oracle/diag/rdbms/orcl/orcl/incident/incdir_31766/orcl_ora_1796_i31766.trc
找到触发此 bug 的 sql 语句如下:
----- Current SQL Statement for this session (sql_id=38x1qtjzgn3f0) -----
select power.resource_data_id
from sm_power_func power, sm_user_role urole
where urole.cuserid = :1
and urole.pk_corp = :2
and urole.pk_role = power.pk_role
and (power.pk_org in (:3, :4) or iscommon_power = 'Y')
根据 MOS 查看,和 Bug 9703463 比较匹配, T he ‘Current SQL’ Statement is using bind variables. 时,会触发此 BUG ;
解决方案:
禁用绑定变量窥探特性
1. The quickest solution is to apply the workaround of setting _optim_peek_user_binds to false to disable bind peeking. However, this may impact performance.
SQL> alter system set "_optim_peek_user_binds"=false;
关于 ORA-03137 TTC 问题 ,MOS 上有专门故障排除工具,通过此工具上次对应的 alert 和 trace 日志后,可以自动生成解决方案,也可以直接提交 SR ;
ORA-3137 Troubleshooting Tool ( 文档 ID 1521913.1)
欢迎关注我的微信公众号"IT小Chen"
42

被折叠的 条评论
为什么被折叠?



