查看: 1889|回复: 3

关于EXP导出的问题

[复制链接]
论坛徽章:
8
授权会员
日期:2005-10-30 17:05:33奥运会纪念徽章:跆拳道
日期:2008-04-29 08:14:58祖国60周年纪念徽章
日期:2009-10-09 08:28:002010新春纪念徽章
日期:2010-01-04 08:33:082010新春纪念徽章
日期:2010-03-01 11:20:53ITPUB十周年纪念徽章
日期:2011-11-01 16:19:412012新春纪念徽章
日期:2012-01-04 11:49:54奥运会纪念徽章:跳水
日期:2012-06-17 09:51:23
跳转到指定楼层
1#
发表于 2004-2-16 15:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
系统环境:
SOLARIS2.8+ORACLE8.1.7.4.0

不管导出哪一张表都报错,错误信息如下:
[B]
bash-2.03$ exp xlt/xlt_web file=1.dmp tables=ALREADY_SEND_SM

Export: Release 8.1.7.4.0 - Production on Mon Feb 16 15:45:23 2004

(c) Copyright 2000 Oracle Corporation.  All rights reserved.


Connected to: Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.4.0 - 64bit Production
Export done in ZHS16CGB231280 character set and ZHS16CGB231280 NCHAR character set

About to export specified tables via Conventional Path ...
EXP-00008: ORACLE error 904 encountered
ORA-00904: invalid column name
EXP-00000: Export terminated unsuccessfully
[B]bash-2.03$ exp xlt/xlt_web file=1.dmp tables=ALREADY_SEND_SM[/B]



真是急死人
论坛徽章:
0
2#
发表于 2005-3-23 19:02 | 只看该作者

关于EXP导出的问题

我也碰到这个问题不知道怎么办?

使用道具 举报

回复
论坛徽章:
1
2013年新春福章
日期:2013-02-25 14:51:24
3#
发表于 2005-3-23 20:32 | 只看该作者
是否是表的字段名称有问题?
可以先导出一个小表的数据试试。

使用道具 举报

回复
论坛徽章:
151
2014年新春福章
日期:2014-04-17 11:38:13奥运会纪念徽章:皮划艇静水
日期:2012-07-31 15:42:58奥运会纪念徽章:田径
日期:2012-07-10 16:21:10奥运会纪念徽章:跆拳道
日期:2012-06-20 22:07:29奥运会纪念徽章:皮划艇静水
日期:2012-06-16 02:55:21奥运会纪念徽章:曲棍球
日期:2012-06-13 10:09:19蛋疼蛋
日期:2012-05-19 23:20:41迷宫蛋
日期:2012-05-16 17:35:25版主2段
日期:2012-05-15 15:24:11双黄蛋
日期:2012-03-19 19:34:04
4#
发表于 2005-3-23 21:37 | 只看该作者
from metalink:

Bookmark Go to End

Doc ID:  Note:232708.1
Subject:  Handling ORA-00904 errors on Export
Type:  PROBLEM
Status:  PUBLISHED
Content Type:  TEXT/X-HTML
Creation Date:  23-NOV-2001
Last Revision Date:  06-OCT-2003




fact: Oracle Server - Enterprise Edition
symptom: ORA-00904: Invalid column name
symptom: EXP-00008: ORACLE error %s encountered
cause: The package is missing, invalid or corrupt



fix:

How to handle ORA-00904 errors on Export
========================================

When running full database export the following errors will be returned:

exp80 user/password full=y file=D:\DB-Backup\ORCL\expORCL.dmp
log=D:\DB-Backup\ORCL\expORCL.log consistent=y buffer=40960000

    EXP-00008: ORACLE error 904 encountered
    ORA-00904: invalid column name




To get a clue what has force these ORA-00904 message, follow the following
steps:

1. Connect as privileged user and run the following command inside an
   SQLPLUS session:

   SQL> alter system set events='904 trace name errorstack';

   -------------------------------- Note ------------------------------------

   This event will work starting with Oracle8i. If running a Oracle database
   version below Oracle8i, you'll get ORA-02065 errors returned, when
   specifying this event. In Oracle versions below 8i you'll have to insert
   the following entry into INIT.ORA

   event="904 trace name errorstack"
   
   --------------------------------------------------------------------------

2. Retry the FULL export. When the ORA-00904 occurs, a trace file will be
   written to the storage location specified by the INIT.ORA parameter
   'user_dump_dest'. As soon as the ORA-00904 has been returned to your
   export session, you can abort the export and examine the trace information.

3. Disable event tracing by running the following command:

   SQL> alter system set events='904 trace name errorstack off';

   On Oracle versions below 8.1.5 return the event entry from INIT.ORA

4. Examine the trace file:

   *** SESSION ID9.3) 2001.11.21.15.28.00.494
   *** 2001.11.21.15.28.00.494
   ksedmp: internal or fatal error
   ORA-00904: invalid column name
   Current SQL statement for this session:
   SELECT fname,fsize,maxextend,inc FROM sys.exu8fil WHERE tsid = :1
                                         ===========

   a) a problem with object EXU8FIL has been detected
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In this example, there's a problem with the EXE8FIL view. To examine,
   whether this object exist, run the following command:

   SQL> select owner,object_name,object_type,object_id,status
        from   dba_objects
        where  object_name='EXU8FIL';

   If the problem is on the EXU8FIL object you simply can recreate the
   object by running the CATEXP.SQL script.

   b) a problem with object DBMS_JAVA or DBMS_JAVA_TEST
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ksedmp: internal or fatal error
   ORA-00904: invalid column name
   Current SQL statement for this session:
   SELECT SYNNAM, DBMS_JAVA.LONGNAME(SYNNAM), DBMS_JAVA.LONGNAME(SYNTAB), ...

   On systems where the Java Server has been installed the trace file could
   contain information on a failing select statement on DBMS_JAVA packages.

   For reference on fixing errors relating to DBMS_JAVA, please follow
   <Note:1017276.102>.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表