Chinaunix首页 | 论坛 | 博客
  • 博客访问: 771373
  • 博文数量: 185
  • 博客积分: 7434
  • 博客等级: 少将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-29 14:01
文章分类

全部博文(185)

文章存档

2013年(1)

2012年(2)

2011年(17)

2010年(25)

2009年(36)

2008年(104)

分类: Oracle

2009-10-12 13:10:26

ORA-00600: internal error code, arguments: [32695], [hash aggregation can't be done], [], [], [], [], [], []
原因:oracle 10gR2引进了hash group by优化方式,它使group by时使用hash的方式进行分组,避免了排序操作,但有Bug 6471770
解决方法:
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).加hint /*+ no_use_hash_aggregation */
阅读(1852) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~