Utility IMP EXP in Linux.
Hi all
I'm Imp the diagram but I'm not able to do this successfully.
Step, I've done so far.
1. I have a Exp. DMP folder under as follows
Directory = DATA_PUMP_DIR
what lsgdev/dpdumpexp_tbsbi.dmp
2Select * from dba_directories;
SYSlsgdev/dpdump/.
3GRANT READ on DIRECTORY DATA_PUMP_DIR FOR system
GRANT WRITING ON DIRECTORY DATA_PUMP_DIR ON the system
4linux permission rwxrwxrwx on the file exp_tbsbi
Linux permission dpdump rwxrwxrwx
[oracle@lsgapps ~]impdp system $ / * remap_tablespace = directory USERS TBSBI:= DATA_PUMP_DIR exp_tbsbi. = dumpfile dmp full = y imp_tbsbi1. = logfile Open a parallel session = 4
Import: Free 11.2.0.1.0 - Production on Mon Aug 12 09:50:01, 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31640: could not open the dump file ' /lsgdb/dpdumpexp_tbsbi.dmp ' to read
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
Can you pls help on this.
Thank you
You have two choices
1. place the export file in the location/u02/app/oracle/admin/lsgdev/dpdump and then run the import.
2. create a directory in the database (see CREATE a DIRECTORY ) pointing to/u02/app/oracle/admin/lsgdb/dpdump , and then call impdp using this directory.
HTH
Srini
Tags: Database
Similar Questions
-
language of stdout IMP/exp
Hi all
I'm interested in changing language exp or imp log files? Oracle version is 10.2.0.4.0, version of the OS is Win 2k3R2.
I have Oracle DB installed on the OS of the Hungarian language and when starts a command exp, I get the log on the Hungarian language file. I need language stdout for utility imp/exp on English. Can I do this?
For as far as I know language stdout to query for the current session sqlplus can be changed with alter session set nls_language = ENGLISH.
A little demonstration:
current log file:
desired logfile:. . . . . . . a következo tábla exportálása: A 3 sor exportálva . . a következo tábla exportálása: B 2 sor exportálva . . a következo tábla exportálása: C 0 sor exportálva . . . . .
TNX in advance.. . . . . . . exporting table A 3 rows exported . . exporting table B 2 rows exported . . exporting table C 0 rows exported . . . . .
Before walking exp or imp (and why use exp and imp?)
Set nls_lang =
_ . Don't know why but it seems that it is "Question Doc day" again.
-------------
Sybrand Bakker
Senior Oracle DBA -
IMP/exp utility will not work
Hello world
I have windows 7 64 bit, I installed oracle 10 g 2 and oracle 11G without obstacles or problems.
recently I formatted and reinstalled the same windows, but when I install oracle 10 g 2 imp/exp utility does not work, and he just gave
C:\Users\Ashraf\Oracle\product\10.2.0\db_1\BIN > imp
Import: Release 10.2.0.1.0 - Production on Fri Apr 15 18:12:58 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
IMP-00058:
IMP-00000: Import terminated unsuccessfully
C:\Users\Ashraf\Oracle\product\10.2.0\db_1\BIN >
any ideas? I thought virus, about reinstalled again a new to different drives, but the same...
Thanks a lot guysRight-click on cmd.exe, then "Run as Administrator". After that command the class IMP.
-
Hi all
We do nightly exp as our backup for certain pattern... and shell script we used the password hardcoded in the script system and we want to avoid this... so I try to create another user who can make exp/IMP... and what's my user statement like... to give full grant create imp exp/full...
CREATE test USER
IDENTIFIED BY THE VALUES OF 'PASS '.
DEFAULT TABLESPACE USERS
TEMPORARY TEMP TABLESPACE
DEFAULT PROFILE
RELEASE OF ACCOUNT;
-3 roles for test
GRANT IMP_FULL_DATABASE TO test.
GRANT CONNECT TO test;
GRANT permission TO test;
Test of ALTER USER DEFAULT ROLE;
-1 privilege system for test
GRANT UNLIMITED TABLESPACE TO test;
but now, here's the thing... This test user is able to query every single table in any schema... or drop something... . How can I stop that...
all I want to do for test user is exp/imp and nothing else... the user can select on any table but cannot modify or drop whatever it is... what according to give for it? some exp/IMP...
If not, how can I avoid hard codding the password in my shell script? Can I have one parfile but then again who will need to have the password... and we try to avoid that...Anyone (with the appropriate privileges) can import the dump file later. You wouldn't need the TEST user to be able to import the file. If the only thing that the TEST user generates a FULL dump file = a, then the user would only need permission privileges. If the user does not have a full export because you're that concerned about a few diagrams, the user didn't even need permission privileges.
Justin
-
Hi all
Could someone provide a few links on imp/exp metalink in Oracle?
I'm under Unix OS.
Thanks in advance!
ConcerningHello
Please refer to:
Oracle® Database Utilities 10 g Release 2 (10.2)
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/TOC.htmOracle9i Database Release 2 (9.2) Utilities
http://www.Oracle.com/pls/db92/db92.to_toc?pathname=server.920%2Fa96652%2Ftoc.htm&remark=docindexNote: 556636.1 - Oracle - Export Data Pump Import DataPump FAQ and server
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=556636.1Note: 132904.1 - matrix compatibility for export and import between different Versions of Oracle
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=132904.1Note: 553337.1 - Import/Export DataPump parameter VERSION - data pump compatibility between different Versions of Oracle
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=553337.1For import and export Oracle E-Business Suite, please see:
Note 230627.1 - process of Import/Export for Instances of Oracle Applications Release 11i with Oracle9i Enterprise Edition database
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=230627.1Note 362205.1 - process of Import/Export for Oracle Applications Release 11i with Oracle Database 10 g Release 2 Database Instances
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=362205.1Kind regards
Hussein -
Hi friends;
I have a Linux (64-bit) with installation of oracle instant client. Can use instant customer exp/imp utilities?
If can how? need a new configuration?
Concerning
VKYou cannot use instant customer exp/imp utilities. You can install the database oracle or oracle database client software in order to use exp/IMP.
-
DPM backup: imp/exp with system/password
Hello
I export the database as:
exp system/passwd owner=mi file=/var/Downloads/dmp/MI61015.dmp log=/var/Downloads/dmp/MI61015.log statistics=none
Import database as:
imp system/passwd fromuser=mi touser=mi file=/var/Downloads/dmp/MI61015.dmp log=/dmp/MI61015.log
Question-1: An oracle expert says that's not good. Why?
Question-2: If I do not write in the command export statistics = none then its display of warnings. Why should I use it?
Thanks to anitcipation
Hi H. Christy
As you mentioned in the previous post, your database schema source GSW has segments in the following storage spaces;
SQL > select tablespace_name distinct from dba_segments where owner = 'GSW ';
TABLESPACE_NAME
------------------------------
USERS
SYSTEM
When you import, you specify:
REMAP_TABLESPACE = SYSTEM: GSW
But the import process fails with:
ORA-39083: TABLE object type: 'GSW '. "' REPORTS ' unable to create with the error:
ORA-00959: tablespace 'GSW' does not exist
Above means GSW tablespace must be created in the target database because you specify that all segments of the SYSTEM tablespace must be redirected (created) in tablespace GSW.
Also, you must rewrite your import like this command:
Impdp gsw/pass remap_tablespace = SYSTEM: GSW remap_tablespace = the rΘpertoire of USERS: GSW dumpfile = gsw.dmp = dmpdir
Then, you must restart all import process in the target database:
SQL> CREATE TABLESPACE gsw ....... SQL> drop user gsw cascade; SQL> create user gsw identified by pass; SQL> grant connect, resource to gsw; SQL> grant read, write on directory dmpdir to gsw; SQL> grant create database link to gsw; impdp gsw/pass remap_tablespace=SYSTEM:GSW remap_tablespace=USERS:GSW dumpfile=gsw.dmp directory=dmpdir
Kind regards
Juan M
-
IMP/exp expdp/impdp vs
Hi all;
which is better in performance the traditional exp/imp or expdp/impdp?Hello
Oracle Data Pump is a more recent, rapid and flexible alternative to utilities 'exp' and 'imp' used in previous versions of Oracle. In addition to export and import of basic feature data pump provides a PL/SQL API and support for external tables
If Oracle is recommended for all 10g databases and more use of Data Pump and pre 10g use old exp/imp :)
-
GRANTS OF $ EXP SCOTT/TIGER = Y TABLES =(EMP,DEPT,MGR)
ksh: syntax error: '(' unexpected)Anurag Tibrewal says:
Given that you have exported the user scott, you should be important with a user with dba privilege. And the syntax is
Only if the export user DBA. Otherwise, you don't need:
SQL> create user u1 identified by u1 default tablespace users quota unlimited on users 2 / User created. SQL> grant create table,create session to u1 2 / Grant succeeded. SQL> create table u1.emp as select * from scott.emp; Table created. SQL> create user u2 identified by u2 default tablespace users quota unlimited on users 2 / User created. SQL> grant create table,create session to u2 2 / Grant succeeded.
Now:
C:\Temp>exp u1/u1 tables=emp Export: Release 10.2.0.4.0 - Production on Sun Jan 31 22:30:04 2010 Copyright (c) 1982, 2007, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Produc tion With the Partitioning, OLAP, Data Mining and Real Application Testing options Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set About to export specified tables via Conventional Path ... . . exporting table EMP 14 rows exported Export terminated successfully without warnings. C:\Temp>imp u2/u2 fromuser=u1 touser=u2 ignore=y Import: Release 10.2.0.4.0 - Production on Sun Jan 31 22:30:06 2010 Copyright (c) 1982, 2007, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Produc tion With the Partitioning, OLAP, Data Mining and Real Application Testing options Export file created by EXPORT:V10.02.01 via conventional path Warning: the objects were exported by U1, not by you import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set . importing U1's objects into U2 . . importing table "EMP" 14 rows imported Import terminated successfully without warnings. C:\Temp>
SY.
-
9i to 10g using conventional problem imp/exp migration patterns
I have a 9i on windows xp and a 10g in a windows server 2003
I want to export example tablespace for 9i and 10g.
10g has no schema sample.
I tried full export of export and a tablespace then when I imported all the imported schemas, tables 10g base in human resources, Ow, sh, ix and other tables were imported except for the pm.
There is only 1 table that cannot be imported into the schema of the pm, which is online_media.
This is my command imp system/oracle import file = full.dmp fromuser = touser = pm pm
Here is the log:
Export file created by EXPORT: V09.02.00 by conventional means
import in WE8MSWIN1252 and AL16UTF16 NCHAR character set
import server uses the AL32UTF8 (possible character set conversion) character set
. import objects from the PM to PM
IMP-00060: WARNING: jump table "PM". «' ONLINE_MEDIA ' because the object type ADR «»
YS. "" ORDDOC ' does not exist or to identify different
. . table import 'PRINT_MEDIA' 4 imported lines
. . importing table "TEXTDOCS_NESTEDTAB" 12 imported lines
IMP-00017: statement failed with error ORACLE 942:
'ALTER TABLE 'ONLINE_MEDIA' ADD 'LOC_C_ID_FK' FOREIGN KEY ('PROD' CONSTRAINT '.
"CT_ID") REFERENCES 'OE '. "" "PRODUCT_INFORMATION" ('PRODUCT_ID') ACTIVATE NOVALID.
"SSA".
IMP-00003: ORACLE error 942
ORA-00942: table or view does not exist
IMP-00017: statement failed with error ORACLE 942:
'ALTER TABLE 'PRINT_MEDIA' ADD 'PRINTMEDIA_FK' FOREIGN KEY ('PROD' CONSTRAINT '.
"UCT_ID") REFERENCES 'OE '. "" "PRODUCT_INFORMATION" ('PRODUCT_ID') ACTIVATING NOVALI.
"DATE OF".
IMP-00003: ORACLE error 942
ORA-00942: table or view does not exist
IMP-00017: statement failed with error ORACLE 942:
"SCAN TABLE"ONLINE_MEDIA"ESTIMATE STATISTICS.
IMP-00003: ORACLE error 942
ORA-00942: table or view does not exist
About to activate the constraints...
IMP-00017: statement failed with error ORACLE 942:
' ALTER TABLE 'ONLINE_MEDIA' ENABLE CONSTRAINT "LOC_C_ID_FK"
IMP-00003: ORACLE error 942
ORA-00942: table or view does not exist
IMP-00017: statement failed with error ORACLE 2430:
"ALTER TABLE"PRINT_MEDIA"ENABLE CONSTRAINT"PRINTMEDIA_FK"
Import completed successfully with warnings.
Note that I created the example tablespace and patterns.
desc online_media output is:
SQL > desc online_media
Name Null? Type
----------------------------------------- -------- -------------------------
PRODUCT_ID NOT NULL NUMBER (6)
PRODUCT_PHOTO ORDSYS. ORDIMAGE
PRODUCT_PHOTO_SIGNATURE ORDSYS. ORDIMAGESIGNATURE
PRODUCT_THUMBNAIL ORDSYS. ORDIMAGE
PRODUCT_VIDEO ORDSYS. ORDVIDEO
PRODUCT_AUDIO ORDSYS. ORDAUDIO
CLOB PRODUCT_TEXT
PRODUCT_TESTIMONIALS ORDSYS. ORDDOC
If you copied the definitions of objects ORDSYS of 9i and 10g, so I think that it is incorrect. You should have instead installed/activated ORDSYS in 10g according to the 1078222.1
HTH
Srini -
Hello
I had two diagrams in my database with the following information.
I want to spend the DataSet from the schema of the user to the schema for which I followed as a result of scenario and hmsSchema name1 --> Test User --> test Default Tablespace --> Users Schema Name2 -->hms user --> hms Default tablespace --> hms
First of all, exported all test pattern
Then import all schema in the schema of hmsexpdp test/password schemas=test directory=my_data_pump_directory dumpfile=testdump1.dmp logfile=testexp1.log
Well were imported, but my concern is that after import in the hms scheme, the data set continues in tablespace users rather than hms tablespace that is the default tablespace for the user to hmsimpdp hms/password schemas=test directory=my_data_pump_directory dumpfile=testdump1.dmp logfile=testimp1.log remap_schema=test:hms;
What is the problem? Two objects with the same name may reside in the same table. I don't see a problem with that.
Always concern you, change the default tablespace OR use the REMAP_TABLESPACE parameter.
REMAP_TABLESPACE = user: hms -
We have been important (not datapump) export with a provider, and it appeared at the top of the log file:
Previously, we only used expdp/impdp and then only between our servers configured in the same way. What kind of problem that can create, if any?import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set import server uses AL32UTF8 character set (possible charset conversion) export client uses US7ASCII character set (possible charset conversion)
Thank you
-= ChuckWhat kind of problem that can create, if any?
NO result of problems
-
oracle11g oracle introduced the new feature called oracle data dump. What is the difference in comparing utility imp/exp? can someone explain how to use this new feature
for example, by using the user scott to export some tables in my diagram.Data pump is very fast, parallel importation is made in 11g. exp/imp sometimes fails due to problems of space on the server. but by using method of parallel import is performed. parallel importation is nothing but imported when 1 row have exported the corresponding row in the table, thus saving disk space. With Data Pump Import, a single stream of data load is about 15 to 45 times faster than the initial import.
-
exp/expdp of 32-bit, and then imp/impdp 9i to 11 GR 2 64-bit
Hi all
This process is supported?
exp/expdp of 32-bit, and then imp/impdp 9i to 11 GR 2 64-bit
Thank you very much
JC
Hi, Jenna.
Yes, it is supported.
Import/export is done at the level of the data files OS no not really something to do with the system, the data files are the same regardless of the oracle software binary level. However, you should check if any problem with the compatibility of data on levels of oracle version.
But please make sure that you use the same utility dump file, i.e., imp - exp and expdp-impdp(introduced from 10g)
Thank you
AbbasDBA
-
IMP logging/nologging is aware?
Hello
I'm looking for a way to reduce the generation of redo during import through the imp utility in oracle 10g (imp exp was made in 9i so no impdp authorized).
And I wonder if the definition of array to be NOLOGGING after importation with lines = n can reduce the generation of redo note when
do the second step which is IMP... GRANTS = n = N = CONSTRAINTS LINES INDEX y = ANALYZE n = n = validation is ignore = buffer = 8388608 = 65535 recordlength...
Kind regards.
GregPlease read Re: import with no option of logging
Maybe you are looking for
-
Group in the Photos app photos
I have pictures in the Photos I want for the group. I can do this by creating an album and then drag and drop the photos I want in the album. However, I would now like to transfer to another computer. I used a USB, transfer photos in the USB key and
-
L775-11N satellite does not power ON battery new
Hello I recently bought a new battery for my Toshiba Satellite L775 11N. When I plug in the battery, the battery led blinking stars (according to the manual, it means that the battery has any energy and does not load). When it is plugged in, I cannon
-
Satellite A300 - how to install Windows XP
Hello In order to use certain virtual machines of Windows, I need to change my OS from Vista to Windows XP... My laptop is a Toshiba Satellite A300, equipped with Centrino 2 (2.26 Ghz), 4 GB of RAM I would like to know if it is easy to install Window
-
I'm trying to sync my IPAQ with my pc. It is said: this version of Windows Media Technologies is incompatible with this version of Windows.
-
folder Windows will compress not do I need shellbrd.dll
I tried to reduce my windows folder (in this moment is 17 GB) to give me more disk space (very slow pc) on a 32 GB L/top. All the others check the pc is clean, defraged, swept, blown, washed and dried. Told me to compress the folder but it stops sayi