Error Impdp/Expdp
Hello
Oracle: 10.2.0.3.0
OS: Windows 7
I have two files of dump as
dump14.dmp > > DATA_ONLY
dump15.dmp > > METADATA_ONLY
C:\Users\abc > remap_schema system/xyz@TDBIMPDP = dumpfile scott: akk1 = dump15. DMP [error no. all import metadata only]
Import: Release 10.2.0.3.0 - Production on Tuesday, September 3, 2013, 0:43:27
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
With partitioning, OLAP and Data Mining options
Main table 'SYSTEM '. "' SYS_IMPORT_FULL_01 ' properly load/unloaded
Start "SYSTEM". ' SYS_IMPORT_FULL_01 ': system/***@TDB remap_schema = dumpfile scott: akk1 = ".
dump15. DMP
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Object type SCHEMA_EXPORT/TABLE/TABLE processing
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment
Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment
Object type SCHEMA_EXPORT/FUNCTION/treatment
Object type SCHEMA_EXPORT/PROCEDURE/treatment PROCEDURE
Object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION of treatment
ORA-39082: object ALTER_FUNCTION type: 'AKK1. "' PAUSE_FOR_SECS ' created with compilation warning
s
Object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE processing
Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment
Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
Work 'SYSTEM '. "" SYS_IMPORT_FULL_01 "completed with error (s 1) at 00:43:30
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\abc >IMPDP akk1/xyz@TDB dumpfile = dump14. DMP
Import: Release 10.2.0.3.0 - Production on Tuesday, September 3, 2013, 0:44:01
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
With partitioning, OLAP and Data Mining options
Table main "AKK1. "' SYS_IMPORT_FULL_01 ' properly load/unloaded
Departure "AKK1. "' SYS_IMPORT_FULL_01 ': dumpfile akk1/***@TDB = dump14. DMP
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table object data 'SCOTT '. "' DEPT ' could not load/unload and being ignored due to
error:
ORA-00001: unique constraint (SCOTT. PK_DEPT) violated
. . imported 'SCOTT '. "" SALGRADE "15 ranks 5,726 KB
ORA-31693: Table object data 'SCOTT '. "' EMP ' could not load/unload and being ignored due to e
rror:
ORA-00001: unique constraint (SCOTT. PK_EMP) violated
. . imported 'SCOTT '. "" SQL_TRACE_TEST "5,351 KB 5 rows
. . imported 'SCOTT '. "" BONUS "0Ko 0 rows
Work 'AKK1. "' SYS_IMPORT_FULL_01 ' completed by 2 error (s) at 00:44:03
Why I get unique constraint violation error.
-----------------------------------------------------------------------------------------------------------------------------------
But when I use
C:\Users\abc > remap_schema system/xyz@TDB = dumpfile scott IMPDP: akk1 = dump14. DMP
There is no error.
Hello
the fact that you connect to IMPDP AKK1 wants not to say that the import will be in the schema AKK1. Unless you remap the schema explicitly, importation is made as is, that is to say SCOTT. DEPT will go to the SCOTT schema.
Best regards
Nikolai
Tags: Database
Similar Questions
-
Hello
I'm trying to export a schema with 2 tables with the CLOB (XML file stored) data type. While the expdp am getting error below.
ORA-39097: Data Pump job encountered the error unexpected-12801
ORA-39065: exception unexpected master process in HAND
ORA-12801: error reported in the PZ99, instance XXXXXX parallel query server
ORA-01460: dead letter or unreasonable conversion requested
Job 'XXXXXXXX '. "" SYS_EXPORT_SCHEMA_01 "stopped because of the mistake at 03:46:32
already my parameter PARALLEL_DEGREE_POLICY value is MANUAL. Help, please
The error that you get a little weird, so if I were you, and if the error is reproducible, I would trace your datapump for more information. You could follow the datapump job Oracle sessions or add "trace = 1FF0300" to the command line expdp; This will create tracking in your folder of trace files. Search for 'trace = 1FF0300' to find out how it works.
-
Hi all
11.1.0.7
I am the IMPDP scene and I got this error:
How to fix this or that avoid in the future?Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM Processing object type DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA ORA-39083: Object type PROCACT_SCHEMA failed to create with error: ORA-06550: line 2, column 1: PLS-00201: identifier 'DBMS_CUBE_EXP.SCHEMA_INFO_IMP_BEG' must be declared ORA-06550: line 2, column 1: PL/SQL: Statement ignored ORA-06550: line 3, column 1: PLS-00201: identifier 'DBMS_CUBE_EXP.SCHEMA_INFO_IMP_END' must be declared ORA-06550: line 3, column 1: PL/SQL: Statement ignored Failing sql is: BEGIN dbms_cube_exp.schema_info_imp_beg(0, '11.01.00.00.00'); dbms_cube_exp.schema_info_imp_end(0, '11.01.00 Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
Thank you
KinzTry to run impdp without option of SCHEMAS.
Why ignore you the error on the first case? the import was successful
Published by: Fran on October 19, 2012 05:33
-
Hi guru
When I try to use expdp I get the following error[oracle@localhost ~]$ expdp scott/tiger@oracl full=y directory=test dumpfile=fulldump.dmp logfile=full.log Export: Release 10.2.0.1.0 - Production on Sunday, 26 June, 2011 10:46:45 Copyright (c) 2003, 2005, Oracle. All rights reserved. UDE-00008: operation generated ORACLE error 12154 ORA-12154: TNS:could not resolve the connect identifier specified [oracle@localhost ~]$
expdp scott/tiger@oracl
spelling error
Change instead of ORACL ORCL
expdp scott/tiger@orcl
Published by: Azar on June 25, 2011 23:14
-
ORA-04063: package body 'SYS. DBMS_CUBE_EXP"got error in expdp
Oracle 11.2.0.2 on Redhat. Received the error when export a schema
Thhs is a routine operation and still works. Recent changes to the database are down some patterns that we thought is perhaps not helpful, refer to[oracle@cchorbi1 admin]$ expdp bi/pass@cchbi2 schemas=BISTG directory=DATA_PUMP_DIR parallel=12 dumpfile=bistg_bi2_0315_%U.dmp logfile=bistg_bi2_0315.log .... Starting "BI"."SYS_EXPORT_SCHEMA_02": bi/********@cchbi2 schemas=BISTG directory =DATA_PUMP_DIR parallel=12 dumpfile=bistg_bi2_0315_%U.dmp logfile=bistg_bi2_0315. log Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS [] ORA-31642: the following SQL statement fails: BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END; ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86 ORA-06512: at "SYS.DBMS_METADATA", line 1245 ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP" ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86 ORA-06512: at "SYS.KUPW$WORKER", line 8353
. Removed default schema users arehttp://abcdba.com/abcdbaserver11gdefaultschema
The remaining default schemas areANONYMOUS,APPQOSSYS,CTXSYS,DIP,EXFSYS,MDDATA,MDSYS,OE,OLAPSYS, ORACLE_OCM,ORDDATA,ORDPLUGINS,ORDSYS,OWBSYS,OWBSYS_AUDIT,PM,SCOTT, SH,SI_INFORMTN_SCHEMA,SPATIAL_CSW_ADMIN_USR,SPATIAL_WFS_ADMIN_USR WMSYS
SYS objects. DBMS_CUBE_EXP causing ORA-06508 exists but not validAPEX_030200,APEX_PUBLIC_USER,DBSNMP,FLOWS_FILES,MGMT_VIEW, OUTLN,SYS,SYSMAN,SYSTEM,XDB,XS$NULL
We cannot restore the State before drooping users as it occurred last week and the backup is replaced by a more recent and a newapplication schema is generated and we want to keep?select owner,object_name,object_type,status from dba_objects where object_name='DBMS_CUBE_EXP' SYS DBMS_CUBE_EXP PACKAGE VALID SYS DBMS_CUBE_EXP PACKAGE BODY INVALID PUBLIC DBMS_CUBE_EXP SYNONYM VALID
Is there a way to solve this problem without restoring database?
Thank youIn fact, I had the same problem with DBMS_CUBE_EXP. Oracle Enterprise Manager alert recommended remove EXECUTE on the public DBMS_LOB. This caused several * SYS packages and package bodies to go invalid. I have granted EXECUTE the user (CTXSYS, OLAPSYS, ect) and then compiled the object successfully.
-
Hello
I am using expdp successfully for some time, but now I'm in trouble. I had originally a database on the Windows Server. I added a second database for testing, but have now removed. I initially tried running expdp (I need to run it against my original db) when I got the two databases and it looked like he was pointing to the second database.
When I try to use expdp now (after the removal of the second db) I get "Error TNS:protocol adapter." Any ideas? My experience is still somewhat limited with Oracle so I'd be surprised if I'm not missing what is obvious.
Thank you very much for any help, I sincerely appreciate it.
Thank you
Nickuser1194782 wrote:
Jac I thought you meant an Oracle command that I never knew. Here's the result (I see not much connected to Oracle, I deleted the user and machine name values):ALLUSERSPROFILE = C:\programdata
APPDATA = C:\Users\Administrator\AppData\Roaming
CLASSPATH =. ; C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
CommonProgramFiles = c: files
CommonProgramFiles (x 86) = c: Program Files (x 86) \Common Files
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK = NO
Framework35Version = v3.5
FrameworkDir=c:\Windows\Microsoft.NET\Framework64
FrameworkVersion = v2.0.50727
HOMEDRIVE = C:
INCLUDE = c: Program Files (x 86) \Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\INCLUDE. C:\Program Files\Microsoft SDKs\Windows\v6.0A\include.
LIB = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\LIB\amd64. C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib\x64.
LIBPATH=c:\WINDOWS\Microsoft.NET\framework64\v3.5;c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;c:\WINDOWS\Microsoft.NET\framework64\v3.5;c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\LIB\amd64.
LOCALAPPDATA = C:\Users\Administrator\AppData\Local
NUMBER_OF_PROCESSORS = 4
OS = Windows_NT
Path = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\VC\BIN\amd64;c:\Windows\Microsoft.NET\Framework64\v3.5;c:\Windows\Microsoft.NET\Framework64\v3.5\Microsoft .NET Framework 3.5 (Pre - Release Version);c:\Windows\Microsoft.NET\Framework64\v2.0.50727;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\VCPackages;c:\Program files (x 86) \Microsoft Visual Studio 9.0\Common7\IDE;c:\Program files (x 86) \Microsoft Visual Studio 9.0\Common7\Tools;c:\Program files (x 86) \Microsoft Visual Studio 9.0\Common7\Tools\bin;) C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\x64. C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\win64\x64. C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin. C:\Ruby192\bin;d:\oracle\app\Administrator\product\11.2.0\dbhome_2\bin; C:\Program Files (x 86) \PHP\; C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem; C:\Program Files (x 86) \Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x 86) \Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\; C:\Program Files (x 86) \Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x 86) \Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\. C:\Windows\system32\WindowsPowerShell\v1.0\; C:\Program Files (x 86) \Microsoft SQL Server\90\Tools\binn\; C:\Program Files (x 86) \QuickTime\QTSystem\; C:\Program Files (x 86) \Calibre2\; C:\Program Files (x 86) \Gallio\bin
PATHEXT = .COM; EXE;. BEATS;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH;. MSC. ; RB;. RBW
PHPRC = c: Program Files (x 86) \PHP\
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_IDENTIFIER = Intel64 family 6 model 23 Stepping 7 GenuineIntel
PROCESSOR_LEVEL = 6
PROCESSOR_REVISION = 1707
ProgramData = ProgramData
ProgramFiles = c: Program Files
ProgramFiles (x 86) = c: Program Files (x 86)
PROMPT = $P$ G
PUBLIC = C:\Users\Public
QTJAVA = C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
SESSION = Console
SystemDrive = C:
SystemRoot = C:\Windows
TEMP = C:\Users\ADMINI~1\AppData\Local\Temp
TMP = C:\Users\ADMINI~1\AppData\Local\Temp
VCINSTALLDIR = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\VC
VS100COMNTOOLS = c: Program Files (x 86) \Microsoft Visual Studio 10.0\Common7\Tools\
VS90COMNTOOLS = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\Common7\Tools\
VSINSTALLDIR = c: Program Files (x 86) \Microsoft Visual Studio 9.0
windir = C:\Windows
WindowsSdkDir = c: SDKs\Windows\v6.0A\I don't see any Oracle variable defined environment (for example ORACLE_SID ORACLE_HOME and TNS_ADMIN etc.). Are there settings in the registry for the latter?
HTH
Srini -
Error weird expdp - cannot lock file.
Hello.
I followed all the steps required to begin using expdp on a database.
0 - set to help sid name "." oraenv.
1. create user identified by dpuser dpuser;
2 - create or replace directory datapump AS ' / u02/expdp/dbname ";
3 grant permission, connect, dpuser resources;
4 grant read, write on directory datapump dpuser;
This is the content of the directory.
/ U02/expdp/dbname > ls - la
drwxrwxr-x 3 oracle dba 4096 Apr 22 14:14.
drwxrwxr-x 6 oracle dba 4096 22 Apr 09:12...
It is empty.
Then I tried to run the expdp for the whole base of this directory.
expdp dpuser/dpuser full = y DIRECTORY = datapump DUMPFILE = datapump:test.dmp logfile = datapump:test.log;
This is the error I got.
Export: Release 10.2.0.4.0 - 64 bit Production Wednesday, April 22, 2009 14:18:32
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
With partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: failed to create the dump file ' / u02/expdp/dbname/test.dmp '.
ORA-27086: impossible to the locking file - already in use
Linux-x86_64 error: 13: permission denied
Additional information: 9
Additional information: 13
And finally, this is the new directory.
/ U02/expdp/dbname > ls - la
drwxrwxr-x 3 oracle dba 4096 Apr 22 14:16.
drwxrwxr-x 6 oracle dba 4096 22 Apr 09:12...
-rw - rw - 1 oracle dba 4096 Apr 22 14:16 test.dmp
-rw-rw-r - 1 oracle dba 592 22 Apr 14:16 test.log
ARGGGGGGGHHHHH.!
Who uses the file? It was not any file it and I just created the files (test.dmp and test.log)
Oracle should be more descriptive with error messages: P
Thanks for any help you can provide me.
Alex.
Published by: attitude on April 22, 2009 17:36Is the destination directory (OS level) local or a NFS mount point?
Try to use a local mount point (try/TMP or/usr/tmp)? -
Error in expdp in oracle 11g R2
Hello
I use the Oracle 11 g R2 database. I tried the command for the full database export to export. The process starts well but ends with 1 error.
ORA-39181: only partial table data can be exported due to the control of access to grain on "OE". "" PURCHASEORDER ", so I have issued the command
SQL > grant POLICE TAX-FREE ACCESS OE; But even once, I got the same error. Someone help me.Have you checked if there is political EVP can be disabled?
checked the ORA-39181: only partial data table exported Due To Fine Grain control of access (Doc ID 422480.1)?
-
Helllo,
I did expdp tables a, b, c of figure one.
Now I would like to import data from the tables in the schema of two which haves also has, b, c, but they are empty.
I'm on 11g and it's on the same datrabase, only users are different, and I don't ' know how to do this. Remap_table, remap_schema, maybe?INSERT in dest_user.table1 in select * from scr_user.table1;
INSERT in dest_user.table2 in select * from scr_user.table2;
INSERT in dest_user.table3 in select * from scr_user.table3;do as above is MUCH simpler
-
Error: ORA-02429 after using expdp/impdp
Hi all
I have a problem: when I save my 11g database and restore the database to another name I can't drop specific index.
I get this error: ORA-02429: cannot delete the index used for the application of unique primary key.
Note: I can easily delete this index before I run backup/restore procedures.
Here are the steps.
(1) creation of database D1
(2) Save:
expdp * schemas = D1 dumpfile = D1.dmp logfile = D1.log *.
(3) create a new db user
CREATE A USER IDENTIFIED BY D2 D2...
(4) restoration of D1 to D2:
Impdp D1/D1* remap_schema = D1: D2 dumpfile = D1.dmp *.
(5) at this point, I'm getting another identical database D2. but for some reason, I can't drop some clues as described above.
Any ideas what Miss me in the process. No impdp/expdp modifing my databes somehow?
Thank you very much.Ok
You can do the following1. disable all constraints.
2 create a script to drop and re-create the index
3 delete the index
4 turn off the constraints of
5 impdp CONTENT = DATA_ONLY
6. run the script to create indexes
7. activate the constraints
8 activate triggersSee this post
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/dp_import.htm#sthref273 -
EXPDP FULL = Y then IMPDP FULL = Y
I get these errors... Why is the data file "instead of the file name:
ORA-39083: Type THAT TABLESPACE could not create object error:
ORA-03280: DATAFILE specified file name is not valid
Because sql is:
CREATE TABLESPACE "FORCE" DATAFILE "SIZE 5242880 AUTOEXTEND ON NEXT 1048576 MAXSIZE 32767M AUTOEXTEND ON NEXT 1048 5242880
MAXSIZE 576 M 32767 "+ TS, osow, tempfile, temp_file3" SIZE 5242880 AUTOEXTEND ON NEXT 1048576 MAXSIZE 32767 M, SIZE 5242880 AUTOEXTEND ON NEXT 1048576 MAXSIZE 32767 M, SIZE 5242880 AUTOEXTEND ON NEXT 1048576 MAXSIZE 32767 M online CONNECTION PERMANENT BLOCKSIZE 8192
EX
ORA-39083: Type THAT TABLESPACE could not create object error:
EXPDP using Oracle Enterprise Database 11.2.0.2 to patch 12
IMPDP using Oracle Enterprise Database 11.2.0.3 to patch 22
Hello
You have two options, either you create Tablespace manually and then import or use of the remap_datafile Check this setting:Data Pump Import
HTH
-
Hello
I run this impdp and it returns syntax error
Impdp / schemas = ABC TABLE_EXSITS_ACTION = NETWORK_LINK REPLACE = linkdb exclude = TABLE: "NOT IN (SELECT TABLE_NAME FROM aaa.dp_tables where dp_ignore = 'Y')" "
the error is syntax error of lrm-00116 to "dp_ignore" after "where".
-select works well in sqlplusDetails of the message of pl of the OS and database versions.
I don't think that you can issue a statement select SQL that refers to a table with a WHERE clause - you list individual tables or use the LIKE operator. PL see the docs for a valid syntax - http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_import.htm#sthref231
In addition, do not use "/ as sysdba" to invoke expdp and impdp - see first "Note" article here http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_import.htm#autoId1
HTH
Srini -
fromuser/touser equivanet in expdp/impdp?
Hello.
I got a dump of the following cmmand file.
expdp dumpfile = logfile = studentinfo.log studentinfo.dmp system/123456@SCHDB tables = school.studentmaster, school.studentmarks, school.studentleave directory is mydir
now I want to import these 2 tables in a different schema (old_school) using impdp
What is the fromuser / equivalent touser in impdp/expdp?REMAP_DATA
Specify a data conversion function.
For example, REMAP_DATA = EMP. EMPNO:REMAPPKG. EMPNO.REMAP_DATAFILE
Redefine the references of data file in all DDL statements.REMAP_SCHEMA
A schema objects are loaded in another schema.REMAP_TABLE
Table names are remapped to another table.
For example, REMAP_TABLE = h. EMPLOYEES: EMPS.REMAP_TABLESPACE
Tablespace objects are remapped to a different tablespace.REUSE_DATAFILES
Tablespace will be initialized if it exists already [N]. -
necessary rights for expdp and impdp
Hello friends,
I use oralce 10g 10.2.0.4 in Sun os. I want to use the data with schema_remap option pump has: b and posibility network_link.
What are all grants and privileges of user database that I need to ask in the schema's and B?
What type of OS user could perform impdp /expdp? Finally, will it all special right if I want to use OEM?
Thanks for any comment and suggestion.Here is a good starting point:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/dp_overview.htm
You need permission to export schemas and other IMP_FULL_DATABASE to import other schemas (including SCHEMA_REMAP).
DataPump is authenticated by the user running, so if you run it from a client workstation or OEM or server (okay, not the server, you will need to be part of the DBA group for this) datapump will use the permissions of the user of your Oracle.
DataPump creates its files on the database server, so if you want to make these files in another directory, you must create and Oracle Directory.
-
Hello guys,.
I'll do the whole database 10 g 2 and impdp expdp 11 GR 2 database.
Index of UserA in the source database are created in the tablespace indexed.
and I would like to impdp this user in the database 11g target so when its index are created they are created not in indexed tablespaces but in
tablespace indexB.
Is there some order of remapping the colors for that?Dean Gagne says:
Hello2 responses that stated:
REMAP_TABLESPACE = USERA: indexed, WEAR: IndexB
and
Impdp UserA / spent REMAP_TABLESPACE= 'ADTB': 'tblB.
are incorrect. There are no these parameters in Data Pump. The remap_tablespace only takes the ancient name of tablespace and a new name of tablespace. He is not yet qualified by a type of object, schema of the object or object name.
The only thing you can do is:
REMAP_TABLESPACE = old_tablespace:new_tablespace
If you really need clues to be remapped to a different tablepace then the only thing you can do "with data pump" is to use the sql file and then edit the file. Here's what you can do:
exclude the user/password Impdp = index - this will import everything except the index.
Impdp username/password include sqlfile = index.sql index = - this will create a file named index.sql that will contain all the instructions for the index create
Then you can use your favorite editor and change the tablespace names until you are happy, you should also search for '-connect ' and add the passwords that are missing. Then sqlplus just run the index.sql file.
Thank you
Dean
Dean,
Please read the Oracle document:
REMAP_TABLESPACE
Default: no
Goal
Remappe all objects selected import with persisted data in the source to be created in the target tablespace tablespace.Syntax and Description
REMAP_TABLESPACE = source_tablespace:target_tablespaceSeveral REMAP_TABLESPACE parameters can be specified, but no two may have the same source tablespace. The target schema must have the quota in the target tablespace.
Note that the use of the REMAP_TABLESPACE parameter is the only way to remap a tablespace in Data Pump Import. It is a method easier and cleaner than that provided in the initial import utility. In original import, if you want to change the tablespace default for a user, you had to perform several steps, including export and deletion of users, creation of the user in the new tablespace and import the user from the dump file. This method has been subject to many restrictions (including the number of subdivisions of tablespace) sometimes resulting in the failure of certain DDL commands.
However, the Data Pump Import of using the REMAP_TABLESPACE parameter method works for all objects, including the user, and it works independently of how tablespace paragraphs are in the DDL statement.
--------
You say that my "impdp UserA / spent REMAP_TABLESPACE = 'ADTB':"tblB"" is false, then say you "there are no these parameters in Data Pump!" "The only thing you can do is: remap_tablespace = old_tablespace:new_tablespace '-what is the difference? Is there a syntax error or something?
Please provide details
Thank you
Grosbois
Maybe you are looking for
-
How to change the default print settings
My settings print continues to change 50% print size. How to set the default value to 100%?
-
HP 15-AC610TU: what port is usb 3.0 on HP 15-AC610TU laptop
I can't understend what port is usb 3.0 on HP 15-AC610TU laptop. You kindly would you say?
-
Hello Microsoft, I had a question about the pre-programmed buttons which came with my Sidewinder mouse, is possible to modify in order to link them to other keys in games? As the world of warcraft. Cause, that would be nice if these DPI 3 buttons and
-
have an email with rar file what should I do to open
need help to open very inportant email info a rar file I am running Windows XP Home 2002 Service Pack3 thank all
-
Product name: HP 15 Notebook: my card reader does not work - Mute red light does not
My card reader does not work It happened several times after the upgrade to Windows 10 It may work once or twice after the upgrade, but when there is an update from HP My antiverious is Kaspersky internet security and it is compatebale with windows 1