1

ユーザー/スキーマ情報を含めることができるように、expdp を実行するためにさまざまなオプションとさまざまなユーザー アカウントを試してきました。そのため、impdp コマンドを実行すると、存在しない場合はユーザーが再作成されます。私はこの仕事を得ることができません。ユーザー (dba ロールのメンバー) で試してみましたが、expdp コマンドを実行するときに「as sysdba」アカウントでも試しました。ログからわかるように、USER メタデータはエクスポートされていません。したがって、impdp を実行しようとすると、「ユーザーが存在しません」というエラーがスローされました。これを機能させるにはどうすればよいですか?

====== ログ =======

C:\>expdp schemas=myschema directory=DATA_PUMP_DIR dumpfile=expdp_myschema.dmp l
ogfile=expdp_myschema.log

Export: Release 12.1.0.2.0 - Production on Tue Aug 2 11:54:05 2016

Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

Username: / as sysdba

Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit
Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing opt
ions

WARNING: Oracle Data Pump operations are not typically needed when connected to
the root or seed of a container database.

Starting "SYS"."SYS_EXPORT_SCHEMA_01":  /******** AS SYSDBA schemas=myschema dir
ectory=DATA_PUMP_DIR dumpfile=expdp_myschema.dmp logfile=expdp_myschema.log
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 64 KB
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/STATISTICS/MARKER
. . exported "MYSCHEMA"."PRODUCT"                        5.507 KB       1 rows
Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
  C:\APP\ORACLE\ADMIN\ORADEV\DPDUMP\EXPDP_MYSCHEMA.DMP
Job "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at Tue Aug 2 11:54:18 20
16 elapsed 0 00:00:09
4

0 に答える 0