一、报错现象

应用人员反馈连接不上数据库,连接报错。

我们使用PLSQL发现可以连接数据库,但是数据库DB Alert存在如下报错信息

DB Alert
Fri Oct ::
Errors in file d:\app\admin\diag\rdbms\orcl\orcl\trace\orcl_ora_1884.trc (incident=):
ORA-: TTC protocol internal error : [] [] [] [] [] [] [] []
Fri Oct ::
Sweep [inc][]: completed DB Trace

Dump file d:\app\admin\diag\rdbms\orcl\orcl\incident\incdir_597001\orcl_ora_3516_i597001.trc

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

ORA-03137: TTC protocol internal error : [12333] [64] [0] [54] [] [] [] []
========= Dump for incident 597001 (ORA 3137 [12333]) ========
*** 2019-10-18 11:29:24.282
dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0)
----- Current SQL Statement for this session (sql_id=133j06f4rsmfb) -----
select N0."OID",N0."BID",N0."CODE",N0."NAME",N0."ENA",N0."CMM",N0."CRE",N0."MDF",N0."RES",N0."RQT",N0."QMN",N0."QMX",N0."TYP",N0."STA",N0."STO",N0."RST",N0."RET",N0."RFX",N0."TFX",N0."WOP",N0."TUS",N0."STR",N0."PRE",N0."NXT",N0."LEN",N0."MUI" from "WUS" N0
where (N0."RES" = :p0)

二、问题处理

MOS 匹配
Document 9703463.8
Document 1388487.1
This bug is fixed in:
12.1 (Future Release)
11.2.0.2 (Server Patch Set)
11.2.0.1 Bundle Patch for Exadata Database
11.1.0.7. Patch Set Update
11.2.0.1 Patch on Windows Platforms
11.1.0.7 Patch on Windows Platforms
Solutions:
. The quickest solution is to apply the workaround of setting _optim_p
to false to disable bind peeking. However, this may impact performance
SQL> alter system set "_optim_peek_user_binds"=false;
. If you would prefer a fix to the issue and are on database version 11.2
latest patch set. If you are on database version 11.1, apply the latest PS
patch set contains the fix to all bugs. Oracle recommends applying pa
available instead of individual patches.
. If you would prefer an individual patch, then refer to Patch 9703463f
patches. You may also need to apply Patch 12534597to correct an issu
the fix to bug . If the issue is not resolved by these patches, the
need to apply the patch for the other bugs.
To determine if a patch is available click on the patch link provided abo
following:
. Choose 11.2.0.1. as the "Release"
. Choose Windows NT Version V6. Service Pack as the "Platfo
NOTE: The database version and platform will not appear in the drop d
when a patch is unavailable for that database version and platform. 根据Alert,问题说明并非应用反馈的连接报错,而是应用已经连接数据库后,执行SQL,遇到了oracle bug导致,应用反馈数据库操作异常。

select instance_number,sql_id,name, datatype_string,last_captured,value_string from dba_hist_sqlbind where sql_id='&sql_id' and rownum<10 order by LAST_CAPTURED,POSITION;

根据另一个trace中的userid得到用户名称,上述绑定变量查询到具体值,测试执行返回Null值

根据上述种种信息,尝试执行参数修改:

SQL> alter system set "_optim_peek_user_binds"=false;
问题解决(在修改参数前,已重启应用无效果)

应用人员反馈报错,ORA-03137: TTC protocol internal error : [12333]的更多相关文章

  1. Oracle ORA-03137: TTC protocol internal error : [12333] 故障分析

    程序通过JDBC 连接数据库异常,报 ORA-03137[12333]的错误. 当前程序的JDBC 驱动版本:ojdbc16-11.2.0.1.0.jar 数据库版本: 11.2.0.3 一. Log ...

  2. 报错:Maven创建An internal error occurred during: "Retrieving archetypes:". Java heap space

    在Eclipse中创建Maven的Web项目时出现错误:An internal error occurred during: "Retrieving archetypes:". J ...

  3. expdp报错ora 39126

    11.2.0.2,expdp报错: ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []O ...

  4. 安装php时,make步骤报错make: *** [ext/gd/gd.lo] Error 1

    安装PHP时,make步骤报错make: *** [ext/gd/gd.lo] Error 1 /usr/local/src/LAMP+memcahed+catci/php-5.4.0/ext/gd/ ...

  5. windows 8 安装 oracle 11g 报错:command line option syntax error,type command/? for help

    windows 8 安装 oracle 11g 报错:command line option syntax error,type command/? for help 在windows8操作系统上安装 ...

  6. Uiautomator--出现报错“urllib3.exceptions.ProtocolError:<'Connection aborted.',error<10054,''>>”的解决方式!

    在运行uiautomator时,出现报错"urllib3.exceptions.ProtocolError:<'Connection aborted.',error<10054, ...

  7. python——报错ImportError:DLL load failed with error code -1073741795的解决方式

    python中导入一个包,import cv2总是报错'ImportError:DLL load failed with error code -1073741795',报错形式: 网上找了好久的解决 ...

  8. 【Linux基础】mount报错:mount.nfs: Remote I/O error

    问题描述:mount 报错:mount.nfs: Remote I/O error 挂载时需要指明版本,由于NFS服务器有多个版本,V2.V3.V4.而且各版本同时运行,因此挂载时需要说明版本号. 由 ...

  9. eclipse项目无故报错,markers信息为An error occurred while filtering resources

    eclipse项目无故报错,markers信息为An error occurred while filtering resources 描述:eclipse项目和resource文件上有红色的叉,其m ...

随机推荐

  1. java打jar包与找不到依赖包详解

    eclipse打jar包与找不到依赖包详解 eclipse打工具jar 1.项目右键-->export -->搜索java 2.选择JAR file 3.打包 eclipse打包可执行ja ...

  2. 网页表格导入导出Excel

    用JS实现网页表格数据导入导出excel. 首先是JS文件中的代码 (function($){ function getRows(target){ var state = $(target).data ...

  3. Django 测试开发3 数据模型models和admin管理工具

    参考:https://blog.csdn.net/weixin_44510615/article/details/89425412 1.Django模型字段常用类型: IntegerField : 整 ...

  4. p2p通信原理及实现

    1.简介 当今互联网到处存在着一些中间件(MIddleBoxes),如NAT和防火墙,导致两个(不在同一内网)中的客户端无法直接通信.这些问题即便是到了IPV6时代也会存在,因为即使不需要NAT,但还 ...

  5. 技术干货丨如何在VIPKID中构建MQ服务

    小结: 1. https://mp.weixin.qq.com/s/FQ-DKvQZSP061kqG_qeRjA 文 |李伟 VIPKID数据中间件架构师 交流微信 | datapipeline201 ...

  6. latex运算符

    一些小的运算符,可以在数学模式下直接输入,但是有一些运算符需要用控制序列生成:

  7. Android架构(一)MVP架构在Android中的实践

    Android架构(一)MVP架构在Android中的实践 https://www.300168.com/yidong/show-2790.html   核心提示:为什么要重视程序的架构设计 对程序进 ...

  8. 002-创建型-02-抽象工厂模式(Abstract Factory)

    一.概述 抽象工厂模式提供同一个创建一系列相关或相互依赖对象的接口,无须指定它们具体的类 抽象工厂模式是所有形态的工厂模式中最为抽象和最具一般性的一种形态.抽象工厂模式是指当有多个抽象角色时,使用的一 ...

  9. 使用注解注入properties中的值的简单示例

    spring使用注解注入properties中的值的简单示例   1.在web项目的src目录下新建setting.properties的文件,内容如下: version=1 2.在spring的xm ...

  10. [Feature] Feature selection

    Ref: 1.13. Feature selection Ref: 1.13. 特征选择(Feature selection) 大纲列表 3.1 Filter 3.1.1 方差选择法 3.1.2 相关 ...