在做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.

本文转自ITPUB博客tolywang的博客,原文链接:ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments,如需转载请自行联系原博主。

ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments相关推荐

  1. oracle ora 13011,ORA-00600: internal error code, arguments: [13011]

    近期,一客户历史数据库屡次遇到ORA-00600: internal error code, arguments: [13011].附带的,还有ORA-01499 SQL> analyze ta ...

  2. 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 ...

  3. ORACLE 启动报错 ORA-00600: internal error code, arguments

    虚拟机突然关闭后,启动数据库,报错: ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1], [44], ...

  4. 使用DBLINK查询时报ORA-00600: internal error code, arguments: [kzdlk_zt2 err]

    使用DBLINK查询时报ORA-00600: internal error code, arguments: [kzdlk_zt2 err]  SYS@oradg11g > select INS ...

  5. internal error code, arguments: [13013], [5001], [8943】

    记录另一起ORA-00600[13013]处理 发现ORA-00600[13013]错误 During the execution of an UPDATE statement, after seve ...

  6. oracle在服务器断电重启后启动报错ORA-00600: internal error code, arguments: [kcm_headroom_warn_1], []

    一.错误场景介绍. 数据库:11.2.0.4(单实例,没有任何备份) 系统:Centos 6.5(虚拟机) 由于机房断电导致oracle数据库(单实例)所在服务器的虚拟服务器出现问题,在经过恢复后虚拟 ...

  7. 删除数据报ORA-00600: internal error code, arguments: [ktbesc_plugged]

    Oracle在删除数据是以下错误: ORA-00600: internal error code, arguments: [ktbesc_plugged], [], [], [], [], [], [ ...

  8. ORA-00600: internal error code, arguments: [kgl-no-mutex-held]

    一.环境windowsoracle 11.2.0.4 RAC 二.问题现象1.连接数据库后,无法查询2.报错信息:ORA-00600: internal error code, arguments: ...

  9. ORA-00600: internal error code, arguments: [KGL-heap-size-exceeded]

    背景 某项目alert日志中偶然报错如下: ORA-00600: internal error code, arguments: [KGL-heap-size-exceeded] 报错的过程中业务变慢 ...

  10. 解决ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr]错误

    机房环境: OS:windows 2008 数据库版本:oracle 11g 事件起因: 昨天公司运维说机房的HP服务器磁盘坏了,我当时冷汗一下子就出来了,因为这是测试库,没有备份,没有归档,但是里面 ...

最新文章

  1. CoordinatorLayout 的jar包位置
  2. 七天学会「股票数据分析软件」的开发(中)
  3. mybatis学习笔记(2)两种配置实现增删改查
  4. pythondevp2p_以太坊GO、JAVA、PYTHON、RUBY、JS客户端介绍
  5. 统计一个数的补码中二进制中1的个数
  6. 启动LINUX下的TFTP服务器
  7. Python爬虫扩展库scrapy选择器用法入门(一)
  8. Microsoft SQL 2000 错误代码(一)
  9. [转载] Python OpenCV 基础教程
  10. 【Ubuntu】deepin安装QQ WeChat
  11. 达梦数据库DM8企业版--命令行方式的安装、创建数据库和注册服务
  12. 快速利用第三方平台SDK,实现点对点语音通话
  13. erp进销存管理系统
  14. 数据挖掘:数据清洗——缺失值处理
  15. 启发式算法 Heuristic Algorithm
  16. macOS Monterey 12.4 (21F79) 正式版 ISO、IPSW、PKG 下载
  17. java获取指定日期当月和下个月的第一天
  18. springboot微信点餐系统项目设计
  19. C语言show用法,show的用法和短语例句
  20. c++高级编程学习笔记4

热门文章

  1. java项目---------------------------嗖嗖移动大厅
  2. 项目实践日记(Gitlab的搭建及配置)
  3. 在TX2上(arm架构)安装FastDB
  4. 像word手动插入分页符一样实现报表中强制分页(强制分页)
  5. 5G网络5G技术初探
  6. C语言操作符详解(坑点+重难点+优先级结合性总结)
  7. 系统好看 字体font-family
  8. win7 旗舰版激活工具(附件下载)
  9. 采用曼码调制的非接触式IC卡译码软件设计
  10. 京东返利PHP采集关键字,php 抓取京东产品数据-标题,价格,首图片