Home » RDBMS Server » Server Administration » Exporting Data from a partitioned table
Exporting Data from a partitioned table [message #282449] Thu, 22 November 2007 00:43 Go to next message
M.Shakeel Azeem
Messages: 226
Registered: September 2006
Senior Member
Oracle Version: 9.0.2.0.0
Operating System: Windows Server 2003
Question (including full error messages and setup scripts where applicable):

Dear all,

I had a partitioned table with 30 partitions ,now i want to export data of specific partitions and import it into another partitioned table of same structure at different DB SERVER

Is it possible ?
if it is then how can v do it
please suggest?
Re: Exporting Data from a partitioned table [message #282452 is a reply to message #282449] Thu, 22 November 2007 00:53 Go to previous message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Export: Release 10.2.0.3.0 - Production on Thu Nov 22 07:51:04 2007

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



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

     Example: EXP SCOTT/TIGER

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

     Format:  EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
     Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
               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         export entire file (N)
BUFFER     size of data buffer        OWNER        list of owner usernames
FILE       output files (EXPDAT.DMP)  TABLES       list of table names
COMPRESS   import into one extent (Y) RECORDLENGTH length of IO record
GRANTS     export grants (Y)          INCTYPE      incremental export type
INDEXES    export indexes (Y)         RECORD       track incr. export (Y)
DIRECT     direct path (N)            TRIGGERS     export triggers (Y)
LOG        log file of screen output  STATISTICS   analyze objects (ESTIMATE)
ROWS       export data rows (Y)       PARFILE      parameter filename
CONSISTENT cross-table consistency(N) CONSTRAINTS  export constraints (Y)

OBJECT_CONSISTENT    transaction set to read only during object export (N)
FEEDBACK             display progress every x rows (0)
FILESIZE             maximum size of each dump file
FLASHBACK_SCN        SCN used to set session snapshot back to
FLASHBACK_TIME       time used to get the SCN closest to the specified time
QUERY                select clause used to export a subset of a table
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
TTS_FULL_CHECK       perform full or partial dependency check for TTS
TABLESPACES          list of tablespaces to export
TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
TEMPLATE             template name which invokes iAS mode export

Export terminated successfully without warnings.

Note the example for partition table.

In addition,
Table-Level and Partition-Level Export
Table-Level and Partition-Level Import

Regards
Michel
Previous Topic: Rapid clone on Database error
Next Topic: Identify a tabel with a corrupt block
Goto Forum:
  


Current Time: Mon Dec 02 05:42:19 CST 2024