我在A库上expdp导出数据,A库上oracle版本10.2.0.4.0,parfiel内容如下:
directory=big_data_dump
dumpfile=abc%U.dmp
logfile=abc.log
tables=abc
filesize=5G
parallel=5
没有什么特别的地方
可我往B库上导入数据时,B库的oracle版本是10.2.0.1.0,parfile内容如下:
directory=big_data_dump
dumpfile=abc%U.dmp
logfile=abc.log
tables=abc
remap_schema=a:b
table_exists_action=truncate
parallel=5
EXCLUDE=STATISTICS
也和往常一样,可是就报了
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 't1' does not exist
ORA-39112: Dependent object type......
在网上搜索了一堆都没有解决,最后我就在B库的prafile中加了如下一个参数就解决了
remap_tablespace=t1:t2
很奇怪,按理来说这个错误不应该是这样解决的,但就是解决了,不管了,先记录下来吧