Oracle unable to allocate MINEXTENTS beyond 3

来源:互联网 发布:swift 编程指南 编辑:程序博客网 时间:2024/05/15 23:46

今天在将别人数据库的数据导入自己数据库时发生了
Export file created by EXPORT:V11.02.00 via conventional path
import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
. importing YHD’s objects into YHD
. importing YHD’s objects into YHD
. . importing table “USER_VS_GROUP”
IMP-00058: ORACLE error 1659 encountered
ORA-01659: unable to allocate MINEXTENTS beyond 3 in tablespace YHD_DB
Import terminated successfully with warnings.的错误。经过自己找的一些资料轻松解决了…

比如、:
将E:\User.dmp 中的数据导入orcl数据库中。
imp system/manager@orcl file=d:/User.dmp
imp User_NAME/Password@DB_Name full=y file=导入数据的路径 xxx.dmp ignore=y
当有的表已经存在,导入也会报错,对该表就不进行导入。 ignore=y 是为了防止有些表已经存在了不进行导入…
2 将d:/daochu.dmp中的表table1 导入
imp User/pass@DB_name file=E:\XX.dmp commit=y full=y ignore=y
这样问题基本上就解决了….
当然有时候可能是你的表空间不够了…很简单,进入你的数据库运行:
ALTER DATABASE DATAFILE ‘D:\oracle\product\10.2.0\oradata\orcl\XX.dbf’ AUTOEXTEND ON NEXT 200M MAXSIZE UNLIMITED

ALTER TABLESPACE SDE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED
然后重新导入,成功!

0 0
原创粉丝点击