I meant "one or the other"
Main Topics
Browse All Topicsexperts,
i have a problem with partition table export with data pump. i am planning to perform partition export by using data pump. here is the parameter i am using.
i have created datapump directory like this
set feed on echo on time on
20:32:51 BMVZWSTG:SYS> CREATE OR REPLACE DIRECTORY CDSVZW_TAB_EXP AS '/opt/mis2/oracle/data/BMV
Directory created.
20:32:54 BMVZWSTG:SYS> grant READ, WRITE ON DIRECTORY CDSVZW_TAB_EXP to CDSVZW;
Grant succeeded.
my parameter file contain
DUMPFILE=RAWTXN_200710_exp
DIRECTORY=CDSVZW_TAB_EXP
LOGFILE=RAWTXN_200710_exp.
SCHEMAS=CDSVZW
TABLES=CDSVZW.RAWTXN:RAWTX
QUERY=CDSVZW.RAWTXN:"WHERE
EXCLUDE=INDEXES,CONSTRAINT
JOB_NAME=export_rawtxn_200
PARALLEL=4
when in ran the expdp i got following error
BMVZWSTG-<ORACLE>-13% expdp cdsvzw/xxxxx@BMVZWSTG parfile=expdb_rawtxn_20071
Export: Release 10.2.0.3.0 - 64bit Production on Monday, 04 May, 2009 20:31:05
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
UDE-00010: multiple job modes requested, schema and tables.
i am trying to test the export functionlity by export 100 rows initially. and import those dump file in other database. it every thing looks file i will move my work in prod.
please help me where is the problem.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi,
Thanks for reply. now i have changed parameter file like this
DUMPFILE=RAWTXN_200710_exp
DIRECTORY=CDSVZW_TAB_EXP
LOGFILE=RAWTXN_200710_exp.
TABLES=CDSVZW.RAWTXN:RAWTX
QUERY=CDSVZW.RAWTXN:'"WHER
JOB_NAME=export_rawtxn_200
PARALLEL=4
i have made some changes in the par file. i was removed schema parameters and exclude list.
i got some more error.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Starting "CDSVZW"."EXPORT_RAWTXN_20
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_D
Total estimation using BLOCKS method: 11.65 GB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/O
ORA-31693: Table data object "CDSVZW"."RAWTXN":"RAWTXN_
ORA-06502: PL/SQL: numeric or value error
ORA-31605: the following was returned from LpxXSLSetTextVar in routine kuxslSetParam:
LPX-314: an internal failure occurred
Processing object type TABLE_EXPORT/TABLE/INDEX/I
Processing object type TABLE_EXPORT/TABLE/CONSTRA
Processing object type TABLE_EXPORT/TABLE/INDEX/S
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/TRIGGER
Processing object type TABLE_EXPORT/TABLE/STATIST
Master table "CDSVZW"."EXPORT_RAWTXN_20
**************************
Dump file set for CDSVZW.EXPORT_RAWTXN_20071
/opt/mis2/oracle/data/BMVZ
Job "CDSVZW"."EXPORT_RAWTXN_20
in my case i need to exclude triggers, constraints and indexes on the partition.
could you please help me to skip the index,triggers and constraints.
Experts,
Thanks for suggestion. i was able to export the entire partition data. but not some records in a particular partitions.
could you please suggest the modifications in my parameter file.
DUMPFILE=RAWTXN_200710_exp
DIRECTORY=CDSVZW_TAB_EXP
LOGFILE=RAWTXN_200710_exp.
TABLES=CDSVZW.RAWTXN:RAWTX
JOB_NAME=export_rawtxn_200
EXCLUDE=TRIGGER:"LIKE 'RTX%'",INDEX:"LIKE 'RAWTXN%'"
PARALLEL=4
now i want to export some of the records on RAWTXN_200710 PARTITION. what parameter i need to change in the parameter file.
2. i want to eliminate the statistics too. statistics are taking long time. how do i mention in exclude list .
3. i am planning to one schema level export. because i am planning to drop one schema, before dropping that schema i am taking schema level export. my question is here
do i need to take export of all the objects in the export dump.
do i need to take export dump as system user?
>>now i want to export some of the records on RAWTXN_200710 PARTITION. what parameter i need to change in the parameter file.
You are already exporting that partition, according to your parameter file.
>>2. i want to eliminate the statistics too. statistics are taking long time. how do i mention in exclude list .
Add STATISTICS to the EXCLUDE comma separated list
>>3. i am planning to one schema level export. because i am planning to drop one schema, before dropping that schema i am taking schema level export. my question is here
>>do i need to take export of all the objects in the export dump.
I don't know, do you wish to save those objects? You know that when you drop a schema the objects are gone forever. So you make the decision whether to export or back them up.
>>do i need to take export dump as system user?
Not unless you are doing a full export or multiple schemas. You can usually just use the schema user to export the particular schema.
Thanks for reply.
yes i have successfully exported partition. my requirement is
i need to export some of the records in the partition. for example, i need to export only 1000 records in the rawtxn_200710 partition. what is the parameter i need to add here.
yes i am taking export backup of the schema and trying to save it on 7 years retention policy on tape.
Good form is to ask another question, if it is a different topic.
You can create multiple directories.
Dropping the directory will only drop the Oracle definition, not the actual filesystem directory, but there may be programs / scripts dependant on it. If you are the one who created it, then you can drop it with no worries, but if it is a default directory, it is likely used by a standard Oracle module, and dropping it will break that module.
select owner, directory_name, directory_path from dba_directories;
The name should give you an indication how the application.
For example: DATA_PUMP_DIR is created by default, and is the default data pump directory if not specified, so it is not recommend to drop that one permanently.
Thanks for information,
i have create one directory for my use. here are the directories i have.
BMVZWSTG:SYSTEM> l
1* select owner, directory_name, directory_path from dba_directories
BMVZWSTG:SYSTEM> /
OWNER DIRECTORY_NAME DIRECTORY_PATH
---------- ---------------- --------------------------
SYS DATA_PUMP_DIR /opt/mis2/oracle/product/1
SYS CDSVZW_TAB_EXP /opt/mis2/oracle/data/BMVZ
SYS RAWTXN_DMP /opt/mis2/oracle/work/BMVZ
SYS TIMEZDIF_DIR /opt/mis2/oracle/product/1
BMVZWSTG:SYSTEM>
i was created "CDSVZW_TAB_EXP". can i drop this directory by using
drop directory CDSVZW_TAB_EXP;
and remove this directory at OS level. is this good action?
>>i was created "CDSVZW_TAB_EXP". can i drop this directory by using
>>
>>drop directory CDSVZW_TAB_EXP;
Of course. Dropping it in Oracle will not remove it from OS. Actually Oracle does not check existence of it until you try to use it.
>>and remove this directory at OS level. is this good action?
That is the usual way.
Business Accounts
Answer for Membership
by: mrjoltcolaPosted on 2009-05-04 at 14:26:43ID: 24299407
Don't combine SCHEMAS and TABLES params. Use one of the other.