Home > Database > Mysql Tutorial > Oracle bug之Thin JDBC driver

Oracle bug之Thin JDBC driver

WBOY
Release: 2016-06-07 16:56:00
Original
1031 people have browsed it

客户Oracle警告日志报如下错误: 引用ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []

客户Oracle警告日志报如下错误:

引用
ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
Current SQL statement for this session:
SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WHERE PARAMETER ='NLS_DATE_FORMAT'

经分析,这是JDBC(Thin JDBC driver)连接Oracle的bug,当JDBC版本小于8.1.7.2,,如8.1.7.1,连接 Oracle 9i容易触发此bug。
解决办法:
设置参数event="10841 trace name context forever"
该参数在文档解释为

引用
10842, 00000, "Event for OCI Tracing and Statistics Info"
// *Cause: This event is meant for tracing OCI Calls and getting statistics
// *Action: This event sets tracing OCI Calls and gets statistics info


详见metalink ID 1725012.8

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template