oracle816导入错误

本文记录了在使用Oracle8i Enterprise Edition Release 8.1.6.0.0进行数据导入过程中遇到的三种常见错误:对象已存在、无法创建初始区及创建对象带有编译警告,并提供了详细的错误信息及解决建议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Oracle8i Enterprise Edition Release 8.1.6.0.0 进行导出导入时,出现提示

 

 

导入语句:

imp "system/manager@test" file=Z:/backup.dmp log=Z:/fullimp.log  full=y ignore=n COMMIT=Y

 

错误一:由于对象已存在,下列语句失败

           IMP-00015: following statement failed because the object already exists:


Cause: Import failed to create an object because it already exists.

Action: Specify IGNORE=Y to ignore such errors and import rows even when tables are not created because they already exist.

 

 

 

错误二:IMP-00017:   由于ORACLE   错误1658,以下的语句失败   

            ORA-01658:  无法为表空间TSP_OUTPADM中的段创建INITIAL 区

            IMP-00003:   ORACLE   错误1658出现

 

IMP-00017 

Cause: Import failed to execute the statement from the export file because of an Oracle error.

Action: Look up the accompanying Oracle message in the ORA message chapters of this manual and take appropriate action.

IMP-00003:  

Cause: Import encountered the referenced Oracle error.

Action: Look up the Oracle message in the ORA message chapters of this manual, and take appropriate action.

 

ORA-01658:  
Cause: Failed to
find sufficient contiguous space to allocate INITIAL extent for segment being created.

Action: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with a smaller value for INITIAL

 

附:import相关日志:

 

            IMP-00017: following statement failed with ORACLE error 1658:
                               "CREATE INDEX "IDX_CLINIC_BILL_ITEMS2"

                                     ON "CLINIC_BILL_ITEMS" ("CLINIC_VISIT_ID" , "REQ_CLASS" ) 

                                 PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 671244288 NEXT 335577088 MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 50 FREELISTS"
 " 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)

                                  TABLESPACE "TSP_OUTPADM" LOGGING"
           IMP-00003: ORACLE error 1658 encountered
           ORA-01658: unable to create INITIAL extent for segment in tablespace TSP_OUTPADM

 

 

错误三:

           IMP-00041:警告:   创建的对象带有编译警告


Cause: The object in the SQL statement following this error was created with compilation errors. If this error occurred for a view, it is possible that the base table of the view was missing.

Action: This is a warning. The object may have to be recompiled before being used.

 

 

 

 

          IMP-00041: Warning: object created with compilation warnings
 "CREATE TRIGGER "INSURANCE"."PRICE_ITEM_NAME_UPDATED""
 "AFTER UPDATE OF "ITEM_NAME" ON "COMM"."PRICE_ITEM_NAME_DICT" FOR EACH ROW"
 ""
 "begin"
 "  update insurance.price_vs_insur_FINAL"
 "      set ITEM_NAME = :NEW.ITEM_NAME"
 "      where item_class = :old.item_class and"
 "            item_code = :old.item_code and"
 "            ITEM_NAME = :OLD.ITEM_NAME ;"
 "EXCEPTION"
 "  WHEN OTHERS THEN  NULL;"
 "end ;"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值