ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments
在做EBS 跨平台迁移时,有一个步骤如下:
从源应用服务器上拷贝$APPL_TOP/admin/adstats.sql到目标数据库端,以SYSDBA连接到sqlplus, 使用下面的命令重新启动数据库为 restricted 模式,运行 adstats.sql 脚本 :
$ sqlplus "/ as sysdba"
SQL> alter system enable restricted session;
SQL> @adstats.sql
$ sqlplus "/ as sysdba"
SQL> alter system disable restricted session;
SQL> exit;
结果运行报错:
ERROR at line 1:
ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments:
[1350], [1], [23], [], [], [], [], [], [], [], [], []
ORA-06512: at “SYS.DBMS_STATS”, line 24867
ORA-06512: at “SYS.DBMS_STATS”, line 25408
查询可能有如下几个原因:
A Solution :
echo $ORA_NLS10
export ORA_NLS10=$ORACLE_HOME/nls/data/9idata
查询发现 ORA_NLS10设置正确 。
继续查询metalink , 发现是一个未发布的bug - DBMS_STATS.GATHER_FIXED_OBJECTS_STATS Fails With ORA-600 [1350], [1], [23] (文档 ID 1138205.1)
Cause
This is caused by unpublished Bug:9056912 - GATHERING STATISTICS ON EXTERNAL TABLES REQUIRES NULL FOR ESTIMATE_PERCENT
See Note:9056912.8 for an overview
Bug:9056912 is fixed in RDBMS 11.2.0.2 and 12.1 (Future Release).
Solution
To implement a solution for Bug:9056912, please execute any of the below alternative solutions:
•Upgrade to 11.2.0.2
OR
•Download and apply interim Patch:9056912, if available for your platform. and RDBMS release.
To check for conflicting patches, please use the MOS Patch Planner Tool.
OR
•Use the workaround with specify null for estimate_percent when collecting stats for an external table using gather_table_stats.
ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments相关推荐
- oracle ora 13011,ORA-00600: internal error code, arguments: [13011]
近期,一客户历史数据库屡次遇到ORA-00600: internal error code, arguments: [13011].附带的,还有ORA-01499 SQL> analyze ta ...
- Oracle 10g Toad查看 表空间 报错 ORA-00600 internal error code arguments [ktfbhget-4], [6], [5]...
Toad 10.6 去查Oracle 10g 的表空间,在Toad 返回页面提示信息是: selectprivileges on following are required:DBA_DATA_FIL ...
- ORACLE 启动报错 ORA-00600: internal error code, arguments
虚拟机突然关闭后,启动数据库,报错: ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1], [44], ...
- 使用DBLINK查询时报ORA-00600: internal error code, arguments: [kzdlk_zt2 err]
使用DBLINK查询时报ORA-00600: internal error code, arguments: [kzdlk_zt2 err] SYS@oradg11g > select INS ...
- internal error code, arguments: [13013], [5001], [8943】
记录另一起ORA-00600[13013]处理 发现ORA-00600[13013]错误 During the execution of an UPDATE statement, after seve ...
- oracle在服务器断电重启后启动报错ORA-00600: internal error code, arguments: [kcm_headroom_warn_1], []
一.错误场景介绍. 数据库:11.2.0.4(单实例,没有任何备份) 系统:Centos 6.5(虚拟机) 由于机房断电导致oracle数据库(单实例)所在服务器的虚拟服务器出现问题,在经过恢复后虚拟 ...
- 删除数据报ORA-00600: internal error code, arguments: [ktbesc_plugged]
Oracle在删除数据是以下错误: ORA-00600: internal error code, arguments: [ktbesc_plugged], [], [], [], [], [], [ ...
- ORA-00600: internal error code, arguments: [kgl-no-mutex-held]
一.环境windowsoracle 11.2.0.4 RAC 二.问题现象1.连接数据库后,无法查询2.报错信息:ORA-00600: internal error code, arguments: ...
- ORA-00600: internal error code, arguments: [KGL-heap-size-exceeded]
背景 某项目alert日志中偶然报错如下: ORA-00600: internal error code, arguments: [KGL-heap-size-exceeded] 报错的过程中业务变慢 ...
- 解决ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr]错误
机房环境: OS:windows 2008 数据库版本:oracle 11g 事件起因: 昨天公司运维说机房的HP服务器磁盘坏了,我当时冷汗一下子就出来了,因为这是测试库,没有备份,没有归档,但是里面 ...
最新文章
- CoordinatorLayout 的jar包位置
- 七天学会「股票数据分析软件」的开发(中)
- mybatis学习笔记(2)两种配置实现增删改查
- pythondevp2p_以太坊GO、JAVA、PYTHON、RUBY、JS客户端介绍
- 统计一个数的补码中二进制中1的个数
- 启动LINUX下的TFTP服务器
- Python爬虫扩展库scrapy选择器用法入门(一)
- Microsoft SQL 2000 错误代码(一)
- [转载] Python OpenCV 基础教程
- 【Ubuntu】deepin安装QQ WeChat
- 达梦数据库DM8企业版--命令行方式的安装、创建数据库和注册服务
- 快速利用第三方平台SDK,实现点对点语音通话
- erp进销存管理系统
- 数据挖掘:数据清洗——缺失值处理
- 启发式算法 Heuristic Algorithm
- macOS Monterey 12.4 (21F79) 正式版 ISO、IPSW、PKG 下载
- java获取指定日期当月和下个月的第一天
- springboot微信点餐系统项目设计
- C语言show用法,show的用法和短语例句
- c++高级编程学习笔记4