一、报错现象

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

我们使用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 多线程编程(锁优化)

    转:https://mp.weixin.qq.com/s/lDuguEhuWiLY8ofBRy3tZA 并发环境下进行编程时,需要使用锁机制来同步多线程间的操作,保证共享资源的互斥访问. 加锁会带来性 ...

  2. [Ubuntu] sudo apt-get update指令执行失败

    系统:Ubuntu 16.04 LTS 安装软件前执行 sudo apt-get update 更新,但是提示失败如下: 网上搜索后,因为连接不到 US 的服务器,所以更新失败,需要在系统设置中将源服 ...

  3. mysql使用慢查询日志分析数据执行情况

    #查询慢查询日志文件路径show variables like '%slow_query%';#开启慢查询日志 ; #设置慢查询阀值为0,将所有的语句都记入慢查询日志 ;#未使用索引的查询也被记录到慢 ...

  4. Mininet系列实验(六):Mininet动态改变转发规则实验

    一. 实验目的 熟悉Mininet自定义拓扑脚本的编写:熟悉编写POX脚本动态改变转发规则 二.实验原理 在SDN环境中,控制器可以通过对交换机下发流表操作来控制交换机的转发行为.在本实验中,基于Mi ...

  5. 关于Flutter启动项目白屏,报错[ERROR:flutter/shell/gpu/gpu_surface_gl.cc(58)] Failed to setup Skia Gr context.问题的解决方案

    首先,环境如下: 1.系统:windows10 64位   Android SDK version: 28.0.3   Flutter SDK: v1.5.4-hotfix.2   模拟器: 网易Mu ...

  6. THINKPHP扩展PHPEXCEL,PHP7.2以上版本无法导出Excel

     THINKPHP扩展PHPEXCEL与PHP7.3高版本兼容问题 框架:THINKPHP5,PHPEXCEL版本:1.81 无法导出EXCEL原因为Shared/OLE.php第290行使用cont ...

  7. vmware 两删除一清空

    快速处理办法: cat /etc/sysconfig/network-scripts/ifcfg-eth0 sed -i '/UUID/d' /etc/sysconfig/network-script ...

  8. 阶段5 3.微服务项目【学成在线】_day16 Spring Security Oauth2_04-用户认证技术方案-SpringSecurityOauth2

    2.3 Spring security Oauth2认证解决方案 本项目采用 Spring security + Oauth2完成用户认证及用户授权,Spring security 是一个强大的和高度 ...

  9. List根据多个字段分组

    List<ClassEntity> distinctClass = classEntities.stream().collect(Collectors.collectingAndThen( ...

  10. UIwindow ---密码框

    程序运行显示结果如下 : 验证密码输入错误显示如下: 代码如下 : 1> ////  PasswordInputWindow.m//  UIWindow--密码框////  Created by ...