将转储文件导入oracle 11gr2时,我收到此错误,请建议一种解决此问题的方法
*Warning: the objects were exported by D7IDMP, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
export client uses WE8ISO8859P1 character set (possible charset conversion)
. importing D7IDMP's objects into MIGRATE
. . importing table "TXALLTXTS" 245628 rows imported
. . importing table "TXAUTH" 377 rows imported
. . importing table "TXBAIMERT" 244 rows imported
. . importing table "TXBARESC" 178 rows imported
. . importing table "TXBOILER" 458940 rows imported
. . importing table "TXCLASSES" 980 rows imported
. . importing table "TXCLOSEDPERIODS" 1 rows imported
. . importing table "TXCOMPANIES" 1 rows imported
. . importing table "TXCONCLAUSES" 187 rows imported
IMP-00017: following statement failed with ORACLE error 959:
"CREATE TABLE "TXCONFIGSETTINGS" ("CFS_CODE" VARCHAR2(20), "CFS_RCODE" VARCHAR2(2"
"0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 16384 FR"
"EELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MP5TEXT" LOGGI"
"NG NOCOMPRESS LOB ("CFS_XMLCONFIG") STORE AS (TABLESPACE "MP5TEXT" ENABLE "
"STORAGE IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE STORAGE(INITIAL 65536 FREE"
"LISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'MP5TEXT' does not exist*根据Alex的评论,我尝试了imp的其他属性,但它导致了一些其他错误
我运行的命令是
imp fromuser=d7idmp touser=&&from_user file=test.dmp log= test.log ignore=y transport_tablespace = y tablespaces = MP5TEXT错误是
在WE8MSWIN1252字符集和AL16UTF16 NCHAR字符集中完成导入导出客户端使用WE8ISO8859P1字符集(可能的字符集转换) IMP-00053:导入模式与导出转储文件不兼容IMP-00000:导入终止失败
发布于 2012-06-05 18:03:21
如果您能够使用datapump而不是旧的imp/exp工具,那么您可以动态地重新映射表空间(和其他东西)。
如果没有,通常的处理方法是在新的表空间中手动创建表,然后使用ignore=y运行imp,这样它就不会报告对象存在。
通过在indexfile=<file>中运行imp,可以使用旧的表空间获取表的动态链接库。这将为您提供一个文本文件,其中包含表和索引的DDL,但包含使用rem注释掉的表命令。您可以提取所需的bits,并根据新数据库的需要进行编辑。
如果您还没有,请查看文档中的import parameters。
发布于 2012-06-05 14:51:33
您需要创建表空间MP5TEXT。import实用程序需要与源数据库中存在的表空间相同的表空间才能导入表。
https://stackoverflow.com/questions/10892847
复制相似问题