IMP-00003: ORACLE error 1659 encountered
ORA-01659: unable to allocate MINEXTENTS beyond 128 in tablespace USERS
IMP-00032: SQL statement exceeded buffer length
一个是ora-01659的错误,大致如下:
IMP-00003: ORACLE error 1659 encountered
ORA-01659: unable to allocate MINEXTENTS beyond 128 in tablespace USERS
我导出的时候仅是导出表结构,忽略数据的,怎么还有空间问题呢,后来才发现exp里如果不加compress=no的话,那么那些个建表语句就会将他的initial空间指定为现有所有数据空间之和,这也是为了导入的时候空间连续,减少碎片的。后来加上那个参数就基本可以了。起码ini空间不会那么大。
还有个是如下错误:
IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file:
这个需要导入的时候制定一个大的buffer参数来控制就没有问题了(buffer=5400000)
不过10g了,按说应该使用impdp,expdp之类的了