Import database using impdp
Hello,
I wanna import a database using impdp. Can i import while i'm logged with system/<password> ? On which database should i be logged? I have a single database, 'orcl'
Thanks
I wanna import a database using impdp.
Can i import while i'm logged with system/<password> ?
On which database should i be logged? I have a single database, 'orcl'You don't have to login to any database to perform the import using datapump import.
You just have to set the oracle database environment where you want to import into.
suppose, you have an export dump generated already,using datapump export(expdp) and if you want to import into orcl database,
set the oracle environment to orcl
You have to have the directory object created with read,write access to the user performing export/import(expdp or impdp)
use impdp help=y at the command line to see the list of available options.
http://download.oracle.com/docs/cd/B13789_01/server.101/b10825/dp_import.htm
-Anantha
Similar Messages
-
Unable to import database using impdp via network_link
Dear All,
I am trying to import database from remote location's dump to my local database after creating dblink from local db to remote db.
At Remote Server:
- Directory created and granted the privileges. Dir Name: PREMLIVE_EXPDP
At Local server:
Username: expuser with dba, imp and exp full database privileges.
DB Link name: to_premiatest14
I faced an error of directory invalid when I run the below command in local server to import schema from remote database.
C:\>impdp expuser/expuser network_link=to_premiatest14 directory=PREMLIVE_EXPDP remap_schema=PREMIATEST:PREMIATEST15 logfile=2013-09-02_premiatest15.log
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
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name PREMLIVE_EXPDP is invalid
Any help or advice's would be really highly appreciated.
Regards,
SyedSome more details follows.
Server 1: Remote Server
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
TNS-Entry:
PREMIATEST14=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = XX.XX.XX.14)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = malath)
DIRECTORY:
PREMLIVE_EXPDP AS
'C:\Dump\PREMLIVE_EXPDP'; ---->>>> This location/directory holds the dump file.
Server 2: Local Server
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
TNS-Entry:
PREMIATEST15=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=XX.XX.XX.15)
(PORT=1521)
(CONNECT_DATA=
(SERVICE_NAME=PREMIA15)
PREMIATEST14 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = XX.XX.XX.14)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = malath)
Network/DBLink:
CREATE PUBLIC DATABASE LINK TO_PREMIATEST14 CONNECT TO EXPUSER IDENTIFIED BY <PWD> USING 'PREMIATEST14';
DBLink tested :
SQL> select count(*) from premiatest.brkdivion@to_premiatest14;
COUNT(*)
94
Error on importing:
C:\>impdp expuser/expuser network_link=to_premiatest14 directory=PREMLIVE_EXPDP
remap_schema=PREMIATEST:PREMIATEST15 logfile=2013-09-02_premiatest15.log
Import: Release 10.2.0.5.0 - 64bit Production on Tuesday, 03 September, 2013 1:2
3:10
Copyright (c) 2003, 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
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name PREMLIVE_EXPDP is invalid
I don't know where am i going wrong . Valuable advice's/assistance will be highly appreciated.
Thanks & Regards,
Syed -
Errors importing TTS using impdp
Hello All,
I am seeing following errors when importing TTS using impdp. Please let me know if you know any work around.
Thanks,
Sunny boy
Corp_DEODWPRD$ impdp parfile=impdp_tts.par
Import: Release 11.2.0.3.0 - Production on Mon Jul 30 13:23:50 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Master table "SYS"."SYS_IMPORT_TRANSPORTABLE_02" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_TRANSPORTABLE_02": /******** AS SYSDBA parfile=impdp_tts.par
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_row, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, base_object_type, base_object_schema, base_object_name, base_process_order, property, size_estimate, in_progress, original_object_schema, original_object_name, creation_level, object_int_oid FROM "SYS"."SYS_IMPORT_TRANSPORTABLE_02" WHERE process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY process_order]
ORA-39183: internal error -19 ocurred during decompression phase 2
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x5d9562370 20462 package body SYS.KUPW$WORKER
0x5d9562370 9028 package body SYS.KUPW$WORKER
0x5d9562370 4185 package body SYS.KUPW$WORKER
0x5d9562370 9725 package body SYS.KUPW$WORKER
0x5d9562370 1775 package body SYS.KUPW$WORKER
0x59c4fbb90 2 anonymous block
Job "SYS"."SYS_IMPORT_TRANSPORTABLE_02" stopped due to fatal error at 13:52:57
PAR file:
USERID='/ as sysdba'
directory=ODW_MIG_DIR
dumpfile=exp_full_ODW_tts_20120719_01.dmp
logfile=imp_FULL_ODW_TTS_20120730.log
exclude=PROCACT_INSTANCE
TRANSPORT_DATAFILES=(
'+DEODW_DATA_GRP/deodwprd/data/ts_appsds_d_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/ts_appsds_i_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_aud_d_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_capone_d01_02.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_capone_d01_03.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_capone_d01_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_capone_d_p2012_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_capone_i01_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_ts_ccr_d01_3.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_ts_ccr_d01_2.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_ts_ccr_d01_1.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_cst_stage_d_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_cst_stage_i_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_dsdw_doc_stg_d01_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_x_etl_d01_02.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_x_report_work_d01_01.dbf',
'+DEODW_DATA_GRP/deodwprd/data/deodw_x_sas_d01_01.dbf')Still the same error with system account. Working with oracle about this iissue.
Corp_DEODWPRD$ impdp parfile=impdp_tts.par
Import: Release 11.2.0.3.0 - Production on Tue Jul 31 11:47:32 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
UDI-28002: operation generated ORACLE error 28002
ORA-28002: the password will expire within 6 days
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01": system/******** parfile=impdp_tts.par
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_row, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, base_object_type, base_object_schema, base_object_name, base_process_order, property, size_estimate, in_progress, original_object_schema, original_object_name, creation_level, object_int_oid FROM "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" WHERE process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY process_order]
ORA-39183: internal error -19 ocurred during decompression phase 2
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x5dac10b98 20462 package body SYS.KUPW$WORKER
0x5dac10b98 9028 package body SYS.KUPW$WORKER
0x5dac10b98 4185 package body SYS.KUPW$WORKER
0x5dac10b98 9725 package body SYS.KUPW$WORKER
0x5dac10b98 1775 package body SYS.KUPW$WORKER
0x59c554178 2 anonymous block
Job "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" stopped due to fatal error at 12:13:04
Edited by: Sunny boy on Jul 31, 2012 12:16 PM -
Importing tablespace using impdp
Hi,
I am trying to transport tablespace using expdp/impdp like:
source side: expdp dumpfile=tbs1.dmp logfile=tbs1.log directory=datapump transport_tablespaces=tbs1
transformed to target side
target side: impdp dumpfile=tbs1.dmp directory=datapump transport_datafiles='/u01/app/oracle/sales/tbs1.dbf'
it is giving:
ORA-39123: Data Pump transportable tablespace job aborted
ORA-29345: cannot plug a tablespace into a database using an incompatible character set
when i searched in google some suggestions are given like do transport using rman.
But when we have the option in impdp why i need to go to rman tool.
i want to use impdp only. but i ma unable to use it properly while importing.
can you please alter me.
thank you!Hello,
ORA-29345: cannot plug a tablespace into a database using an incompatible character setIt cannot work due to the error ORA-29345 above:
ORA-29345: cannot plug a tablespace into a database using an incompatible character set
Cause: Oracle does not support plugging a tablespace into a database using an
incompatible character set.
Action: Use import/export or unload/load to move data instead.
i want to use impdp only. but i ma unable to use it properly while importing.So, as suggested, move the data by import/export. But, be careful, as you have different character set you may have conversions.
Hope this help.
Best regards,
Jean-Valentin -
Import database using enterprise manager
Hello,
I am trying to import a database using enterprise manager. I've finished the installation of 10g and i need to import a database that is in a different server.
The Oracle Enterprise Manager window, has a tab 'maintenance' that allows me to import from another database.
The problem is that at some point the wizard ask's me for the user credentials (user and password), and i don't no who is the user, is it refering to the others server's credentials or is it referring to the database credentials?
Can You help me, please?
Is there some tutorial for this?
Thank you,
Sara.I don't know of a tutorial, sorry. This forum is about Globalization Support (e.g. national language support features) so it is really the wrong place for EM Grid/Database Control questions. I suggest your try here instead:
Enterprise Manager -
Import database using 10g imp utility.
Hi,
I have database on my local drive that is kind of old. I need to replace it with the one from the server.
I created oesexport.dmp file using the following command:
exp ledger/xxxxxx FILE='oesexport.dmp' OWNER=LEDGER
oesexport.dmp file contains everything that belongs to LEDGER : tables, sequences, views, etc.
Now I need to import database to my local drive. If I use the following statement:
imp ledger/xxxxxx file=oesexport.dmp fromuser=ledger
the procedure will not replace tables, sequences, views with the new ones from the server with the same names because it will try to recreate existing tables, sequences, views, etc. in my local database and they already exist there. I will get error messages. The procedure will only add the stuff from server to my local database that does not exist on my local. Since I need to replace tables/sequences/views, etc if they exist on my local and add new stuff if does not exist on my local, HOW SHOULD I MODIFY THE IMP STATAMENT?
Thanks. Lev.Yes, of couse, I can drop the whole ledger scema and use and the imp procedure I specified and it will work just fine, but I heard the the new 10g import utility will allow replacemet (if they exist in the database) and addition (if they do not exist in the database) of Oralce objects without dropping the objects belonging to the user.
Therefore my qustion was how should I change my IMP procedure to make it work.
Lev. -
Import database using 10g imp utility - need your advice.
I created export.dmp file on the database server that contains all schema objects (tables, indexes, views, etc.) and successfully moved it from the server to my laptop using telnet and ftp.
Now I want to use this file to import ALL objects into my local database on the laptop where some objects that belong to the same schema already exist. I need to drops and recreate all objects in schema in my local database (tables, indexes, views, etc.) if they already exist before loading and add new objects to the schema if they do not exist in my local database.
How will IMP statement that does all this look like?
Thanks.Thanks!
But could you be more specific about expdp and impdp statements that
will give me what I need? And I need to drops and recreate all objects in schema in my local database (tables, indexes, views, etc.) if they already exist before loading and add new objects to the schema if they do not exist in my local database. -
Hello all,
I have a full database dump file. which was taken from production server. i want to create a test db in my laptop
Is ther any step by step guide in order to do this impdp from the begining i mean from creating initialiazation parameter,
directory structure or creation of tablespaces.
Thanks948024 wrote:
thanks but it says
Here are the steps to do the * schema copy from one database to another*. You need to be admin user for performing some tasks.
also what about the tablespaces do i need to create them, there is a clause mentioned
remap_tablespace=mytablespace:yourtablespace
how to use the above for multiple tablespaces
and if the tablespaces are not there will it create new?
thanksNo it won't create tablespace , You use remap option for your tablespace like the following :
REMAP_TABLESPACE=(OLD:NEW,OLD:NEW,OLD:NEW,OLD:NEW)if you don't want to use remap then you should create your tablespace . -
ORA-02374: conversion error loading table during import using IMPDP
HI All,
We are trying to migrate the data from one database to an other database.
The source database is having character set
SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
VALUE
US7ASCII
The destination database is having character set
SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
VALUE
AL32UTF8
We took an export of the whole database using expdp and when we try to import to the destination database using impdp. We are getting the following error.
ORA-02374: conversion error loading table <TABLE_NAME>
ORA-12899: value too large for column <COLUMN NAME> (actual: 42, maximum: 40)
ORA-02372: data for row:<COLUMN NAME> : 0X'4944454E5449464943414349E44E204445204C4C414D414441'
Kindly let me know how to overcome this issue in destination.
Thanks & Regards,
Vikas KrishnaHi,
You can overcome this issue by increasing the column width in the target database for the max value required for all data to be imported successfully in the table.
Regards -
Memory fault while using impdp
I'm unable to import a database using impdp; as soon as I start the impdp cmd it errors out with a memory fault
I was able to previously import 1 TB out of a total of 3 TB, and then got an error related to the new MEMORY_TARGET parameter, complaining about insufficient tmpfs.
I resolved that error, and then after that I can't invoke impdp without the memory fault error as described below..
$ nohup impdp "'/ as sysdba'" JOB_NAME=LANCE_FULL_01 parfile=auexpdp.dat &
[1] 32118
$ nohup: appending output to `nohup.out'
[1] + Memory fault nohup impdp "'/ as sysdba'" JOB_NAME=LANCE_FULL_01 parfile=auexpdp.dat &
$
I also get the following error in the import log
ORA-39012: Client detached before the job started.
This is what my parfile looks like
directory=dmpdir
dumpfile=aexp1_%U.dmp,aexp2_%U.dmp,aexp3_%U.dmp,aexp4_%U.dmp
parallel=8
full=y
exclude=SCHEMA:"='MDDATA'"
exclude=SCHEMA:"='OLAPSYS'"
exclude=SCHEMA:"='ORDSYS'"
exclude=SCHEMA:"='DMSYS'"
exclude=SCHEMA:"='OUTLN'"
exclude=SCHEMA:"='ORDPLUGINS'"
include=tablespace
#transform=oid:n
logfile=expdpapps.log
trace=1FF0300
Has anybody seen this type of error before ?
ThanksPl post details of OS and database versions
>
$ nohup impdp "'/ as sysdba'" JOB_NAME=LANCE_FULL_01 parfile=auexpdp.dat &
>
You should not use '/ as sysdba' for expdp/impdp - use SYSTEM account instead - see the first NOTE sections in these links
http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#i1012781
http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_import.htm#i1012504
HTH
Srini -
Database full compile while doing schema import using impdp
hi,
oracle 10g
Database full compile while doing schema import using impdp..
what is happening here..
regards,
DeepakMy scenario
I need to import the particular schema from the full export dump. which has taken by using expdp. while importing i am using remap_schema for a single schema.
But it try to import the full dump and compile all the schema objects.
regards,
Deepak -
Can we use impdp to import the data from an normal exp dump?
Hi All,
I have a export dump taken from a 9i database. Can i use impdp to import the data into 10g database from that 9i exp dump?
Please suggest
thanks and Regards
ArunHi,
I have a export dump taken from a 9i database. Can i use impdp to import the data into 10g database from that 9i exp dump?Yes, it can be.
Refer:
http://wiki.oracle.com/thread/3734722/can+a+9i+dump+file+be+imported+into+10%3F
thanks,
X A H E E R -
Impdp - Problem with import database
Hi Gurus,
just a short question. What is the procedure for import oracle database ?
I have exported dump file of my oracle instance and I would like to import it on some other servers.
I dont know why I can import it correctly. My procedure is:
1) export oracle instance using expdp from server A
2) on the server B I`m creating clean oracle instance
3) On server B I`m importing oracle file exported from server A using impdp
Is this ok ? Should I create new oracle instance ? Or it will be installed automaticly.
During import proces I have a lot of errors, mostly...
Table allready exist (CTXSYS for example)...
Who can tell me if its good procedure ?Dlugasx wrote:
Hi Gurus,
just a short question. What is the procedure for import oracle database ?
I have exported dump file of my oracle instance and I would like to import it on some other servers.
I dont know why I can import it correctly. My procedure is:
1) export oracle instance using expdp from server A
2) on the server B I`m creating clean oracle instance
i hope you have created looking from the below errors you have described
3) On server B I`m importing oracle file exported from server A using impdp
Is this ok ? Should I create new oracle instance ? Or it will be installed automaticly.
During import proces I have a lot of errors, mostly...
Table allready exist (CTXSYS for example)...
Who can tell me if its good procedure ?I think you are trying to do a full expdp and full impdb. you can ignore the already exist objects as when you insall oracle and create database it will have those objects too. when these exists it will through these errors. you may be interested to see the application objects reather. once import is completed you can query dba_objects and comapare with prod data whether all objects have imported or not.
Anil Malkai -
Unable to import table using SOA database adapter in jdeveloper
I am trying to build a simple flow to access database so I have dropped a database adapter in composite.xml and trying to configure the adapter.
I have successfully tested the database connection within the adapter configuration wizard and can view the tables as well.
But when I am selecting a table to import then I don't see any table imported in Step-5.
It doesn't show me any error. I have tried with other tables and also with other databases but can't import the tables
i have selected the table using the right arrow to right side and then clicked "OK". But the table hasn't come-up and it still says "No tables imported" in Step 5. I am trying to import from oracle database using oracle jdbc.
am doing Perform an operation(Select query) on a table
Regards,
Kishor MThread moved form Japanese SOA Suite.
-
Only to import JAVA CLASS and JAVA SOURCE from .DMP file using IMPDP
hi,
I have a schema X, In that schema some of the *"JAVA CLASS" and "JAVA SOURCE"* objects are missing ..
The procedures ,functions..etc objects were updated at X schema..
I have 1 dmp file of Y schema , containing the missing "JAVA CLASS" and "JAVA SOURCE" s.. Can I import the the same to the schema X using IMPDP
i tried using INCLUDE clause but it is not working
eg:
impdp john1/john1@me11g22 directory=datadump dumpfile=DEVF2WAR.DMP remap_schema=devf2war:john INCLUDE="JAVA CLASS","JAVA CLASS"but error..
ORA-39001: invalid argument value
ORA-39041: Filter "INCLUDE" either identifies all object types or no object types.regards,
jpDouble post: IMPDP to import JAVA CLASS and JAVA SOURCE from .DMP file
Already replied.
Regards
Gokhan
Maybe you are looking for
-
When I connect my iPod Touch, I can't change the content of my Apps.
I have an iPhone, an ipod touch and several nano's between my family. When i plug my son's 32gb ipod touch into my itunes, the apps sub menu will be frozen in place. It will sync new apps that i have purchased, but i cannot change the layout of the s
-
Is it possible to make an iphoto book that has mostly text on some of the pages? I would like to make a book that has more text than photos on some pages.
-
Hi, I need to save only changed data in my ALV. I created a button SAVE and have an event handler for this data. SAVE action should only be triggered when user presses this button. ON_DATA_CHECK method is what I need since I can pull out changed con
-
when prototyping an existing class, for example: Array.prototype.myMethod = function():Void{ //Perform some action here for...each loops return the new method, for exmple, after the previous prototype has been declared: my_arr = new Array[1,2,3] for(
-
Check standard HTTP response code for 301
Hello, EveryBody, I have an error when i deployment a sao project , [11:26:11 AM] Deploying profile... [11:26:11 AM] Wrote SAR file to C:\JDeveloper\mywork\weichaiESBApplication\WCPumaReceiveProject\deploy\sca_WCPumaReceiveProject_rev1.0.jar [11:26:1