- 论坛徽章:
- 1
|
本帖最后由 云裴 于 2011-09-28 16:08 编辑
我现在的数据库是32位的centos+32位oracle 10.2.0.1。我在另一台服务器装了64位的centos和64位的oracle10.2.0.5。想把数据迁移到64位的服务器。
在32服务器exp导出后,在64位服务器上面imp导入时报错;- $ imp system/manager file=db110928.dmp fromuser=cw touser=cw
- Import: Release 10.2.0.5.0 - Production on 星期三 9月 28 07:56:40 2011
- Copyright (c) 1982, 2007, Oracle. All rights reserved.
- Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
- With the Partitioning, OLAP, Data Mining and Real Application Testing options
- Export file created by EXPORT:V10.02.01 via conventional path
- import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
- . importing CW's objects into CW
- IMP-00008: unrecognized statement in the export file:
- ) LOCATION ( 'sale1v3.dat' ) ) REJECT LIMIT 100
- . . importing table "B1SJ" 0 rows imported
- . . importing table "B2SJ" 0 rows imported
- . . importing table "B3SJ" 0 rows imported
- 。。。。。。。。。。。。(此处省略importing table)。。。。。。。。。。。
- . . importing table "ZZ_ZW_MXZ" 30650 rows imported
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- '考勤状态:0表示可以参加考勤;1表示不可参加考勤。'
- IMP-00015: following statement failed because the object already exists:
- "CREATE FORCE VIEW "CW"."XT_DWB" ("DWDM","DWMC""
- ") AS "
- "select bmdm as dwdm,bmmc as dwmc from pbmdm"
- ""
- IMP-00015: following statement failed because the object already exists:
- "CREATE FORCE VIEW "CW"."REPTDEPT" ("CODE","NAM"
- "E") AS "
- "select ltrim(rtrim(bmdm)) as code, ltrim(rtrim(bmmc)) as name from pbmdm wh"
- "ere isok = 'Y'"
- IMP-00015: following statement failed because the object already exists:
- "CREATE FORCE VIEW "CW"."REPTUSER" ("CODE","PAS"
- "S","NAME") AS "
- "select code, role as pass, code as name from reptRole"
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'Oracle_Database returns one entry for each database that is managed by Oracle
- Enterprise Manager. View entries are created using the databases that are known
- to the Enterprise Manager Management Repository. Note: A Real Application
- Cluster is presented...
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'Oracle_DatabaseInstance contains one entry for each Oracle Instance that is
- centrally managed. A Real Application Cluster has one entry for each of the
- instances that manipulate it. Instances of Oracle_DatabaseInstance are created
- using the database ...
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'An Oracle_DatabaseSystem represents the existence of an Oracle database
- environment as a manageable entity. Instances of Oracle_DatabaseSystem are
- used to navigate to the software characteristics of the database environment
- that are modeled within the...
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'The AssociatedDBSystem association identifies the database system that was used
- to create the database.This association links an Oracle Database with
- thedatabase system elements that are related.'
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'The InstanceAvailableToDB association relates an Oracle database and its
- instances.'
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'Oracle_DBInstanceStatistics contains statistics for a database instance. These
- are retrieved from the Oracle Managment Repository that is managing the
- database upon request from a managment client.'
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'Oracle_DatabaseStatistics provides current information about the statistics for
- a database. Database statistics pertain to the database and have the same
- value regardless of the database instance that is used.'
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'Oracle_CurrentDBInstanceStats is an association that relates a Oracle database
- instance to its current statistical information.'
- IMP-00032: SQL statement exceeded buffer length
- IMP-00008: unrecognized statement in the export file:
- 'Oracle_CurrentDBStatistics is an association that relates a Oracle database to
- its current statistical information.'
- Import terminated successfully with warnings.
复制代码 而如果在64位服务器直接exp的话也会报错。应该怎么迁移这个数据呢- $ exp system/manager@db1 file=db123.dmp full=y
- Export: Release 10.2.0.5.0 - Production on 星期三 9月 28 08:01:03 2011
- Copyright (c) 1982, 2007, Oracle. All rights reserved.
- Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
- With the Partitioning, OLAP and Data Mining options
- Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
- About to export the entire database ...
- . exporting tablespace definitions
- . exporting profiles
- . exporting user definitions
- . exporting roles
- . exporting resource costs
- . exporting rollback segment definitions
- . exporting database links
- . exporting sequence numbers
- . exporting directory aliases
- . exporting context namespaces
- . exporting foreign function library names
- . exporting PUBLIC type synonyms
- EXP-00008: ORACLE error 904 encountered
- ORA-00904: "POLTYP": invalid identifier
- EXP-00000: Export terminated unsuccessfully
复制代码 |
|