Export Dump content
Hi All,
I have export dump file created with the help of expdp as well as exp.how i will come to know the content of the dump file with out running impdp as well as imp??
Thanks ,
Regards
Hello,
how i will come to know the content of the dump file with out running impdp as well as imp??To get the content of the Dump, you may use the following parameter:
For Original Import:
SHOW=Yhttp://download.oracle.com/docs/cd/E11882_01/server.112/e16536/original_import.htm#i1019404
For Datapump Import:
SQLFILE=<file_name>.sqlhttp://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_import.htm#SUTIL933
Hope this help.
Best regards,
Jean-Valentin
Similar Messages
-
Seeing contents of an export dump
Hey experts,
I get a lot of export dumps from various people maintaining different versions of oracle from 8 to 10. I usually need to import them onto a 9i or 10g test server for testing or development purposes. 25% of the times I am told how has the export been done. ie. things like - it is a schema export, so do it using fromuser/touser parameters or it is just a few tables or it is a tablespace. 75% of times I am left to do the guessing work and I usually start trying out commands and see which one completes successfully without issues or warnings.
So - is there a specific way to find out what exactly is in the dump and determine how should it be imported. I was also given a datafile once and I sent it back yelling - WHAT THE F***!! Can we actually import a datafile from another server on a completely different environment?
Thanks for your responses!Thanks for a quick response.
Now, heres what I tried. I have a dump that contents two tables from mr X. I used
IMP show=Y file=c:\importtest.dmp log=C:\importest.log --asked me for a user and I entered Scott/tiger.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V09.02.00 via conventional path
Warning: the objects were exported by X, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing X's objects into SCOTT
Import terminated successfully without warnings.
This is wat it returned. It did not show me any tables or objects that it should have. What am I doing thats not correct. -
How to import external table, which exist in export dump file.
My export dump file has one external table. While i stated importing into my developement instance , I am getting the error "ORA-00911: invalid character".
The original definition of the extenal table is as given below
CREATE TABLE EXT_TABLE_EV02_PRICEMARTDATA
EGORDERNUMBER VARCHAR2(255 BYTE),
EGINVOICENUMBER VARCHAR2(255 BYTE),
EGLINEITEMNUMBER VARCHAR2(255 BYTE),
EGUID VARCHAR2(255 BYTE),
EGBRAND VARCHAR2(255 BYTE),
EGPRODUCTLINE VARCHAR2(255 BYTE),
EGPRODUCTGROUP VARCHAR2(255 BYTE),
EGPRODUCTSUBGROUP VARCHAR2(255 BYTE),
EGMARKETCLASS VARCHAR2(255 BYTE),
EGSKU VARCHAR2(255 BYTE),
EGDISCOUNTGROUP VARCHAR2(255 BYTE),
EGREGION VARCHAR2(255 BYTE),
EGAREA VARCHAR2(255 BYTE),
EGSALESREP VARCHAR2(255 BYTE),
EGDISTRIBUTORCODE VARCHAR2(255 BYTE),
EGDISTRIBUTOR VARCHAR2(255 BYTE),
EGECMTIER VARCHAR2(255 BYTE),
EGECM VARCHAR2(255 BYTE),
EGSOLATIER VARCHAR2(255 BYTE),
EGSOLA VARCHAR2(255 BYTE),
EGTRANSACTIONTYPE VARCHAR2(255 BYTE),
EGQUOTENUMBER VARCHAR2(255 BYTE),
EGACCOUNTTYPE VARCHAR2(255 BYTE),
EGFINANCIALENTITY VARCHAR2(255 BYTE),
C25 VARCHAR2(255 BYTE),
EGFINANCIALENTITYCODE VARCHAR2(255 BYTE),
C27 VARCHAR2(255 BYTE),
EGBUYINGGROUP VARCHAR2(255 BYTE),
QTY NUMBER,
EGTRXDATE DATE,
EGLISTPRICE NUMBER,
EGUOM NUMBER,
EGUNITLISTPRICE NUMBER,
EGMULTIPLIER NUMBER,
EGUNITDISCOUNT NUMBER,
EGCUSTOMERNETPRICE NUMBER,
EGFREIGHTOUTBOUNDCHARGES NUMBER,
EGMINIMUMORDERCHARGES NUMBER,
EGRESTOCKINGCHARGES NUMBER,
EGINVOICEPRICE NUMBER,
EGCOMMISSIONS NUMBER,
EGCASHDISCOUNTS NUMBER,
EGBUYINGGROUPREBATES NUMBER,
EGINCENTIVEREBATES NUMBER,
EGRETURNS NUMBER,
EGOTHERCREDITS NUMBER,
EGCOOP NUMBER,
EGPOCKETPRICE NUMBER,
EGFREIGHTCOSTS NUMBER,
EGJOURNALBILLINGCOSTS NUMBER,
EGMINIMUMORDERCOSTS NUMBER,
EGORDERENTRYCOSTS NUMBER,
EGRESTOCKINGCOSTSWAREHOUSE NUMBER,
EGRETURNSCOSTADMIN NUMBER,
EGMATERIALCOSTS NUMBER,
EGLABORCOSTS NUMBER,
EGOVERHEADCOSTS NUMBER,
EGPRICEADMINISTRATIONCOSTS NUMBER,
EGSHORTPAYMENTCOSTS NUMBER,
EGTERMCOSTS NUMBER,
EGPOCKETMARGIN NUMBER,
EGPOCKETMARGINGP NUMBER,
EGWEIGHTEDAVEMULTIPLIER NUMBER
ORGANIZATION EXTERNAL
( TYPE ORACLE_LOADER
DEFAULT DIRECTORY EV02_PRICEMARTDATA_CSV_CON
ACCESS PARAMETERS
LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv')
REJECT LIMIT UNLIMITED
NOPARALLEL
NOMONITORING;
While importing , when i seen the log file , it is failing the create the external table. Getting the error "ORA-00911: invalid character".
Can some one suggest how to import external tables
Addressing this issue will be highly appriciated.
NaveenHi Srinath,
When i observed the create table syntax of external table from import dump log file, it show few lines as below. I could not understand these special characters. And create table definationis failing with special character viz ORA-00911: invalid character
ACCESS PARAMETERS
LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv').
I even observed the create table DDL from TOAD. It is same as i mentioned earlier
Naveen -
IMPORT a VIEW from an export dump file
I'm trying to import a view from an export dump file. In using the Import Utility, do I use the TABLE parameter and give the View name ie: TABLES=view1
nullOnly I want to do is import ONE view from an export dmp file that contains hundereds of table, many views and procedures. I do not want to reimport everything from the export file.
-
500 internal server error while Export wedbdynpro content into Excel.
Hi Experts,
my requirement is export webdynpro content into excel sheet, so for this what i have did is
First step:
) created an Extneral library DC
2) imported the JARs to the libraries folder of the External Library DC project
3) Right-click on each of the JARs imported to the project and added them to the public part.
Second step:
1) Createed a new Reuse Web Dynpro DC
2) Created a new public part, selecting the "Can be packaged into other build results" option
3) extrcted the full content (folders and class files) to root folder
4) Imported the folders and files to the src/packages folder
5)binded the attributes, created 3 methods and writen the code for those methods.
Third Step:
1) created one more EXPORT EXCEL DC
2) ADDED LIB jar dc and Reuse DC IN used dc's
3) created usedwebdynpo component and binded attributes to Table VIEW and writen the code for exposing table values.
After this build and deployed i am getting clasnot found error
so what i have did now is
Fourth step:
1)Created "J2EE Library DC"
2) Refered "External Library DC" into J2EE Library DC.
3) Deployed "J2EE Library DC"
4) Refered this one in my Web Dynpro DC by giving Library Reference.
now when i deploy and run what happend i am getting
500 Internal Server Error SAP J2EE Engine/7.01
Application error occurred during request processing.
Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/export_file_excel_7.
Exception id: [00215E78C4C0006D00000AD9000E00F00004887F642A32FE]
Any one can tell what could be the problem.Thanks for sharing the solution.
-
HOW TO IMPORT DATA MORE THAN ONCE FROM THE SAME EXPORT DUMP FILE?
before asking my question i'd like to mention that i'm a french spoke...
so my english is a little bit bad. sorry for that.
my problem is : IMPORT
how to import data a SECOND TIME from an export dump file within oracle?
My Export dump file was made successfully (Full Export) and then i
tried to import datas for the first time.
I got this following message in my logfile: I ADDED SOME COMMENTS
Warning: the objects were exported by L1, not by you
. importing SYSTEM's objects into SYSTEM
REM ************** CREATING TABLESPACES *****
REM *********************************************
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "USER_DATA" DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' SI"
"ZE 3145728 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAX"
"EXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "ROLLBACK_DATA" DATAFILE 'E:\ORANT\DATABASE\RBS1ORCL.ORA"
"' SIZE 10485760 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS "
"1 MAXEXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
etc........
IMP-00017: following statement failed with ORACLE error 1119:
"CREATE TABLESPACE "L1" DATAFILE 'E:\ORADATA\L1.DBF' SIZE 1048576000 "
"DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 121 PCTIN"
"CREASE 50) ONLINE PERMANENT"
IMP-00003: ORACLE error 1119 encountered
ORA-01119: error in creating database file 'E:\ORADATA\L1.DBF'
ORA-09200: sfccf: error creating file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified
--->etc..........
the drive E: with the folder E:\ORADATA didn't exist, but after
all that i created it.
see below, before my IMPORT statement
REM ********************* CREATING USER *********
REM ********************************************
IMP-00017: following statement failed with ORACLE error 959:
"CREATE USER "L1" IDENTIFIED BY VALUES 'A6E0DAA6865E7627' DEFAULT TABLESPACE"
" "L1" TEMPORARY TABLESPACE "TEMPORARY_DATA""
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'L1' does not exist
IMP-00017: following statement failed with ORACLE error 959:
"CREATE USER "MLCO" IDENTIFIED BY VALUES '56AC6447B7D50467' DEFAULT TABLESPA"
"CE "MLCO" TEMPORARY TABLESPACE "TEMPORARY_DATA""
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'MLCO' does not exist
ETC.......
REM ********************* GRANTING ROLES ***********
REM ************************************************
IMP-00017: following statement failed with ORACLE error 1917:
"GRANT ALTER ANY TABLE to "L1" "
IMP-00003: ORACLE error 1917 encountered
ORA-01917: user or role 'L1' does not exist
ETC.........
IMP-00017: following statement failed with ORACLE error 1918:
"ALTER USER "L1" DEFAULT ROLE ALL"
IMP-00003: ORACLE error 1918 encountered
ORA-01918: user 'L1' does not exist
-- that is normal, since the creation of the
tablespace failed !!
REM******************************
IMP-00015: following statement failed because the object already exists:
"CREATE ROLLBACK SEGMENT RB_TEMP STORAGE (INITIAL 10240 NEXT 10240 MINEXTENT"
"S 2 MAXEXTENTS 121) TABLESPACE "SYSTEM""
IMP-00015: following statement failed because
. importing SCOTT's objects into SCOTT
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "EVT_PROFILE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999"
"999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE"
ETC............
importing L1's objects into L1
IMP-00017: following statement failed with ORACLE error 1435:
"ALTER SCHEMA = "L1""
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist
REM *************** IMPORTING TABLES *******************
REM ****************************************************
. importing SYSTEM's objects into SYSTEM
. . importing table "AN1999_BDAT" 243 rows imported
. . importing table "BOPD" 112 rows imported
. . importing table "BOINFO_AP" 49
ETC................
. . importing table "BO_WHF" 2 rows imported
IMP-00015: following statement failed because the object already exists:
"CREATE TABLE "DEF$_CALL" ("DEFERRED_TRAN_DB" VARCHAR2(128),
IMP-00015: following statement failed because the object already exists:
"CREATE SYNONYM "DBA_ROLES" FOR "SYS"."DBA_ROLES""
IMP-00015: following statement failed because the object already exists:
"CREATE SYNONYM "DBA_ERRORS" FOR "SYS"."DBA_ERRORS""
IMP-00008: unrecognized statement in the export file:
. importing L1's objects into L1
IMP-00017: following statement failed with ORACLE error 1435:
"ALTER SCHEMA = "L1""
IMP-00008: unrecognized statement in the export file:
J
Import terminated successfully with warnings.
-------------------------------------b]
So after analysing this log file, i created
the appropriate drives and folders... as the
import statement doesn't see them.
E:\ORADATA G:\ORDATA etc...
And i started to [b]IMPORT ONE MORE TIME. with:
$ IMP73 sys/pssw Full=Y FILE=c:\temp\FOLD_1\data_1.dmp BUFFER=64000
COMMIT=Y INDEXFILE=c:\temp\FOLD_1\BOO_idx.sql
LOG=c:\temp\FOLD_1\BOO_log.LOG DESTROY=Y IGNORE=Y;
after that i could not see the users nor the
tables created.
and the following message appeared in the log file:
Warning: the objects were exported by L1, not by you
. . skipping table "AN1999_BDAT"
. . skipping table "ANPK"
. . skipping table "BOAP"
. . skipping table "BOO_D"
ETC.....skipping all the tables
. . skipping table "THIN_PER0"
. . skipping table "UPDATE_TEMP"
Import terminated successfully without warnings.
and only 2 new tablespaces (originally 3) were
created without any data in ( i check that in
the Oracle Storage manager : the tablespaces exit
with 0.002 used space; originally 60 M for each !!)
so,
How to import data (with full import option) succefully
MORE THAN ONE TIME from an exported dump file ?
Even if we have to overwrite tablespaces , tables and users.
thank you very muchThe Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the appropriate Database forum.
The main URL is:
http://forums.oracle.com/forums/index.jsp?cat=18 -
Logical standby error with export dump
oracal 10g have a setup logical standby and when i am running export dump from logical i got this error.
EXP-00008: ORACLE error 16224 encountered
ORA-16224: Database Guard is enabled
EXP-00000: Export terminated unsuccessfully
can someone help me out how can it posibal to take export dump and datapump from logical standby.
thanks16224, 00000, "Database Guard is enabled"
// *Cause: Operation could not be performed because database guard is enabled
// *Action: Verify operation is correct and disable database guard -
Is it possible to import and export dump between oracle 9 and oracle 11?
Is it possible to import and export dump between oracle 9 and oracle 11?
Source DB : Oracle 11g(unix0
Oracle client : Oracle 9(Windows)
Export import utility : Oracle 9's
Destination DB : oracle 9I am getting the Following Error and export utility is not responding after this.
Export: Release 9.2.0.1.0 - Production on Thu Jul 15 14:37:01 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion) -
Export dump file and log file name as sysdate in script
Hi to All,
Can anybody help me to give logical backup export dump file namd log file name is as contain sysdate in its name so that we can Uniquelly identified it.
Regards
DXB_DBAOn windows it gets a bit hairy as there really is no clean and nice way of doing it.There are a couple of options.
1. If you can rely on dateformat not changing, you can use a static substring expression. For example, the following might work w/ finnish locale echo %date:~3,2%%date:~6,2%%date:~9,4%Similarly, when you know the dateformat you can tokenize the output of 'date /t' and discard the tokens you don't want.
2. You can set dateformat to your liking and then just use %date% in your script
3. You can run a "SELECT to_char(sysdate,..." into a file and then read that file in your script.
4. Simon Sheppard also has a solution you could use as a basis. I have a slight issue with the approach, but that could just be me.
5. Use gnuwin32 or similar ;)
Also note that %date% env var is set automatically from w2k onwards, so some of the solutions might not work w/ older versions. -
Exporting Catalog Content in CCM 2.0
Hello,
I would like to know if it is possible to export the content of a catalog to Excel.
In CCM 2.0 it seems to be that one can only export the structure of the catalog.
Thanks for any answer,
AartHi Imthiaz,
Sorry, out of ignorance I ask you,
Where can I have a look at this class /CCM/CL_CATALOG_EXPORT and method EXPORT_CATALOG ? What trx are we talking about?
It is not a report or a function, what is it, executable or not?
Please give me some more info.
Thanks in advance
Aart -
I have an Oracle 9i export dump (export.dmp) file and I want to know when this export dump was taken (database snapshot-datetime stamp).
Is there any utility or process to extract this information from dump file.
ThanksThere probably is a utiltiy somewhere.
However, I just open the file using a simple text editor (I use vi) and look at the date on about the 10th line of the file. Just don't save ... -
Import of Table data only from Full export Dump
I want to import data inot specified tables of a databse only. Is it possible to do this from a dump file which is the full export of the another database. The database i want to import into is the mirror of the database whose export dump i want to use. Let me know if this is possible and if yes then how i could do this.
Thanking in advance.Please check the following link for full instructions:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/part1.htm#435787
If on another release, the same documentation is available for it on OTN as well.
Thanks! -
Generation sql script form export dump
I have a export dump of oracle 9i database at table level. Now I have to generate all the sqls which are in that export dupm file. Is there any way without importing this export file I can generate sql script???
Thanks in advance!!!
SurajHi,
As correctly said by yingkuan use the indexfile option in imp.It would create a file like below
REM CREATE TABLE "SCOTT"."XYZ" ("ENO" NUMBER, "ENAME" VARCHAR2(20),
REM "DEPTNO" NUMBER) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE
REM "TS_DBUSER" LOGGING NOCOMPRESS ;
REM ... 10 rows
if ur on linux/solaris u can delete the REM by using awk command like
awk '{ $1= ""; print}' <filename>
and this should be somewhat ready for you to run as a script in sqlplus :)
Thanks -
hi all.
i am using Enterprise Linux server version 5.1.19.6 /Red Hat and Oracle database 11G R2.I want
to export dump files automatically like we are doing in windows xp with scheduled Task.
Is it Possible in Linux?plz help me out thanks in advance.Mehwish wrote:
hi all.
i am using Enterprise Linux server version 5.1.19.6 /Red Hat and Oracle database 11G R2.I want
to export dump files automatically like we are doing in windows xp with scheduled Task.
Is it Possible in Linux?plz help me out thanks in advance.Yes,possible,you can use cron job refer
http://adminschoice.com/crontab-quick-reference
But for backup recovery operation you should be use rman(recover manager),and through enterprise manager you can schedule backup job.
http://download.oracle.com/docs/cd/E10317_01/doc/backup.102/e05407/osb_rman_backup.htm
http://download.oracle.com/docs/cd/B12037_01/server.101/b10734/rcmrecov.htm -
How to write export dump commad with no datable data only table structure.
How to write export dump commad with no datable data only table structure will there and command for hole schma.
e.g. export dump command for scott schema and all table within scott schema in it no table data should be exported.If I understand the question, it sounds like you just need to add the flag "ROWS=N" to your export command (I assume that you're talking about the old export utility, not the Data Pump version).
Justin
Maybe you are looking for
-
Exit from a while loop in sub vi
Main vi has several sub-vi's. Each sub vi has a while loop and Boolean button. When program runs, sub-vi front panel appears, and I can stop/continue the while loop. But when I stopped a while loop in a sub-vi, I cannot control other while loops in o
-
What will be ABAP adaptaion for this VB code
Hi Experts, I am doing a program by integrating ABAP with EXCEL, i need to write the following code in ABAP which is recorded by macro. I need to change the Category Type of the AXIS from Default to Text. "ActiveChart.Axes(xlCategory).CategoryType =
-
SQL Reporting Services install
I've installed 2 SCOM 2012 management servers. I now need to install SQL reporting services. Can I install this on a seperate server (not the management server or the SQL server where the database will be)? I asked the SQL team if i could install SQL
-
I need to create a document that has "read only" access to some users. It cannot be attached to an email or "dragged" into another location. Does Adobe Acrobat provide this?
-
Playback volume on Harley Davidson Ipod interface
I purchased a ipod interface for my Harley and a new nano for it. I noticed on some songs put on my nano that I play on my Harley that the recording volume is low and I have to turn up the volume then when it gets to the next song its to loud. is the