Home » RDBMS Server » Server Utilities » how to specify log files for exporting and importing logical objects
how to specify log files for exporting and importing logical objects [message #379768] Wed, 07 January 2009 22:42 Go to next message
rajasekhar857
Messages: 500
Registered: December 2008
Senior Member
hi,

i want to export and import all the logical objects from oracle in windows machine to unix.how can i do this and also i want to specify log file information too in command.
Re: how to specify log files for exporting and importing logical objects [message #379773 is a reply to message #379768] Wed, 07 January 2009 23:03 Go to previous messageGo to next message
BlackSwan
Messages: 25037
Registered: January 2009
Location: SoCal
Senior Member
http://www.orafaq.com/forum/t/88153/0/
You have not read or followed Posting Guideline as stated in URL above.


>i want to export and import all the logical objects from oracle in windows machine to unix.

Use the export & import utilities; as documented in the UTILITIES manual found at http://tahiti.oracle.com

>how can i do this and also i want to specify log file information too in command.
So proceed to do so.
how to import exported full date base [message #379812 is a reply to message #379768] Thu, 08 January 2009 00:47 Go to previous messageGo to next message
rajasekhar857
Messages: 500
Registered: December 2008
Senior Member
hai,

i have exported full data base from oracle sever. now i want to import it to linux installed oracle server.intially i have did this in windows installed oracle server

exp ezEMRxPub_QC/ ezEMRxPub_QC file= ezEMRxPub_QC.dmp log= ezEMRxPub_QC.log full=y.

i want to import it to linux installed oracle server.how?
Re: how to import exported full date base [message #379813 is a reply to message #379812] Thu, 08 January 2009 00:49 Go to previous messageGo to next message
Michel Cadot
Messages: 64110
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
imp help=yes

Import: Release 10.2.0.4.0 - Production on Thu Jan 8 07:48:35 2009

Copyright (c) 1982, 2007, Oracle.  All rights reserved.



You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:

     Example: IMP SCOTT/TIGER

Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:

     Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
     Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
               or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

USERID must be the first parameter on the command line.

Keyword  Description (Default)       Keyword      Description (Default)
--------------------------------------------------------------------------
USERID   username/password           FULL         import entire file (N)
BUFFER   size of data buffer         FROMUSER     list of owner usernames
FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
SHOW     just list file contents (N) TABLES       list of table names
IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
GRANTS   import grants (Y)           INCTYPE      incremental import type
INDEXES  import indexes (Y)          COMMIT       commit array insert (N)
ROWS     import data rows (Y)        PARFILE      parameter filename
LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
DESTROY                overwrite tablespace data file (N)
INDEXFILE              write table/index info to specified file
SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
FEEDBACK               display progress every x rows(0)
TOID_NOVALIDATE        skip validation of specified type ids
FILESIZE               maximum size of each dump file
STATISTICS             import precomputed statistics (always)
RESUMABLE              suspend when a space related error is encountered(N)
RESUMABLE_NAME         text string used to identify resumable statement
RESUMABLE_TIMEOUT      wait time for RESUMABLE
COMPILE                compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION  import streams general metadata (Y)
STREAMS_INSTANTIATION  import streams instantiation metadata (N)

The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set

Regards
Michel
Re: how to specify log files for exporting and importing logical objects [message #379814 is a reply to message #379768] Thu, 08 January 2009 00:49 Go to previous messageGo to next message
Michel Cadot
Messages: 64110
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
imp help=yes

Import: Release 10.2.0.4.0 - Production on Thu Jan 8 07:48:35 2009

Copyright (c) 1982, 2007, Oracle.  All rights reserved.



You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:

     Example: IMP SCOTT/TIGER

Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:

     Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
     Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
               or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

USERID must be the first parameter on the command line.

Keyword  Description (Default)       Keyword      Description (Default)
--------------------------------------------------------------------------
USERID   username/password           FULL         import entire file (N)
BUFFER   size of data buffer         FROMUSER     list of owner usernames
FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
SHOW     just list file contents (N) TABLES       list of table names
IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
GRANTS   import grants (Y)           INCTYPE      incremental import type
INDEXES  import indexes (Y)          COMMIT       commit array insert (N)
ROWS     import data rows (Y)        PARFILE      parameter filename
LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
DESTROY                overwrite tablespace data file (N)
INDEXFILE              write table/index info to specified file
SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
FEEDBACK               display progress every x rows(0)
TOID_NOVALIDATE        skip validation of specified type ids
FILESIZE               maximum size of each dump file
STATISTICS             import precomputed statistics (always)
RESUMABLE              suspend when a space related error is encountered(N)
RESUMABLE_NAME         text string used to identify resumable statement
RESUMABLE_TIMEOUT      wait time for RESUMABLE
COMPILE                compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION  import streams general metadata (Y)
STREAMS_INSTANTIATION  import streams instantiation metadata (N)

The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set

Same thing with exp.

Regards
Michel
Re: how to import exported full date base [message #379815 is a reply to message #379813] Thu, 08 January 2009 00:52 Go to previous messageGo to next message
rajasekhar857
Messages: 500
Registered: December 2008
Senior Member
where i have to do all this at linux or windows where i did exp
earlier.
Re: how to specify log files for exporting and importing logical objects [message #379823 is a reply to message #379768] Thu, 08 January 2009 00:59 Go to previous messageGo to next message
BlackSwan
Messages: 25037
Registered: January 2009
Location: SoCal
Senior Member
>where i have to do all this at linux or windows where i did exp earlier.
yes, the answers are available if you are willing to RTFM at http://tahiti.oracle.com
Re: how to import exported full date base [message #379825 is a reply to message #379815] Thu, 08 January 2009 01:04 Go to previous message
Michel Cadot
Messages: 64110
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
rajasekhar857 wrote on Thu, 08 January 2009 07:52
where i have to do all this at linux or windows where i did exp
earlier.

Do it where there is your database.

Regards
Michel

Previous Topic: Load data into table but delete some reocrds using sql*loader
Next Topic: changing char set imp-00037 error
Goto Forum:
  


Current Time: Mon Dec 05 11:02:13 CST 2016

Total time taken to generate the page: 0.07358 seconds