ORA-00600: 内部错误代码, 参数: [32695], [hash aggregation can't be done]
来源:互联网 发布:联通多号通软件 编辑:程序博客网 时间:2024/06/05 17:01
今天查看周报过程时 发现了它:
ORA-00600: 内部错误代码, 参数: [32695], [hash aggregation can't be done], [], [], [], [], [], []
其过程
P_PROD_WEEK_I_NEWANDLOST_USER 新增用户和流失分析。
以前它用很大的TEMP,32G才满足它的需求。
ORACLE 版本: 10.2.03
Google:
http://space6212.itpub.net/post/12157/399059
It say:
oracle的优化器使用了hash group by来进行数据分组。
hash group by是10gR2新引入的一个优化方式,它使group by时使用hash的方式进行分组,避免了排序操作。
在执行这个sql前我考虑到用大量用到temp表空间,而TEMP_CITI表非常大,因此我分配了足够大的临时表空间(至少是2倍TEMP_CITI表的大小),本以为不会出错,结果还是出错了。
上metalink查看一下,发现这是一个bug:
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.2
This problem can occur on any platform.
Symptoms
1). The following errors are encountered:
ORA-00600: internal error code, arguments: [32695], [hash aggregation can't be done]
ORA-1652 on TEMP tablespace
2). The error is occurring on a SELECT statement with a GROUP BY clause.
3). The call stack may resemble:
ksfdmp kgeriv kgesiv ksesic1 qeshPartitionBuildHD qeshGBYOpenScan2qeshGBYOpenScan qerghFetch qertqoFetch qerpxSlaveFetch qerpxFetchinsdlexe insExecStmtExecIniEngine insexe
Cause
The problemhere is not the hash join, but the group by hash. Hash aggregation isnew to 10.2. The GROUP BY hash clause can cause the statement toconsume temporary tablespace resources and eventually fail with theerror ORA-00600: internal error code, arguments: [32695], [hashaggregation can't be done].
安全吻合metalink的描述。metalink上也给出了两种解决方法:
1). set _gby_hash_aggregation_enabled = false e.g.:
alter system set "_gby_hash_aggregation_enabled"=false;
alter session set "_gby_hash_aggregation_enabled"=false;
2). Disable the use of hash group by changing the parameter "optimizer_features_enable":
set optimizer_features_enable to "10.1.0"
- ORA-00600: 内部错误代码, 参数: [32695], [hash aggregation can't be done]
- ORA-00600:[32695], [hash aggregation can't be done] 解决方法
- ORA-00600:[32695], [hash aggregation can't be done]错误解决
- ora-00600 内部错误代码 参数:.........
- ORA-00600: 内部错误代码, 参数: [LibraryCacheNotEmptyOnClose], [], [], [], [], [], [], []
- ORA-00600: 内部错误代码, 参数: [kcratr1_lastbwr]
- ORA-00600: 内部错误代码, 参数: [qkacon:NFswrwo]
- ORA-00600: 内部错误代码, 参数: [evapls1], [], [], [], [], [], [], []
- ORA-00600: 内部错误代码,参数: [qctcte1], [0], [], [], [], [], [], []
- ORA-00600: 内部错误代码,参数[qerpfAllocateR], [], [], [], [], [],
- ora-00600: 内部错误代码, 参数: [4415], [], [], [], [], [], [], [], [], [], [], []
- ORA-00600: 内部错误代码,参数: [kcratr1_lostwrt], [], [], [], [], [], [], []
- ORA-00600: 内部错误代码, 参数: [19004], [], [], [], [], []
- ORA-00600: 内部错误代码, 参数: [kcratr1_lastbwr]
- ORA-00600: 内部错误代码, 参数: [kkdoilsn1]
- ORA-00600 内部错误代码, 参数 [kdsgrp1]
- ORA-00600: 内部错误代码, 参数: [kcratr1_lastbwr]
- ORA-00600: 内部错误代码, 参数: [kqlnrc_1]
- google code 的使用 svn下载别人的资源及其管理自己的代码(转)
- js从html获取提交给servlet,servlet把值返回html 出现中文乱码
- D-Bus学习(十一):在D-Bus上的telepathy[二]:进一步了解
- GoogleCode的SVN空间使用初步
- Perl实现的Expect的telnet应用
- ORA-00600: 内部错误代码, 参数: [32695], [hash aggregation can't be done]
- Flex分享: ResouceManager应用于本地化与国际化开发
- spring声明式事务配置方法(六):aop:config切入
- java extjs 链接数据库返回json
- 索引压缩问题
- 修改s3c440普通串口驱动为485驱动
- MYSQL中EXPLAIN的说明
- QQ的在线拼音输入法
- 普通行列转换(交叉表,横表变列表)