Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
Use Expdp to Extract Data and Metadata

Use Expdp to Extract Data and Metadata

Ratings: (0)|Views: 128|Likes:
Published by zahirhussian

More info:

Published by: zahirhussian on Feb 21, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/25/2010

pdf

text

original

 
   
 
 

                                                                                                                
 
34|Oracle Utilities Pocket Reference
expdp
Use
expdp
toextractdataandmetadatafromanOracledatabaseintoanoperatingsystemfileinordertotransportthatdatatoanotherOracledatabase,copyobjectsanddatafromoneschemato another, or detect block corruption.
TIP
expdp
is a new utility in Oracle Database 10
 g
.
Syntax
expdp [
login | sysdba_login
] [
 paramval
[
 paramval
...]login ::=
username
[/
 password 
][@
net_service_name
]]sysdba_login ::= \'
username
/
 password 
AS SYSDBA\'
 paramval
::= {
 parameter
=one_value|
 parameter
=(value1[,value2...]) }parameter ::= {attach=[
schema_name
.]
expdp_job
|content={ALL | DATA_ONLY | METADATA_ONLY}|directory=
dir_name
|dumpfile=[
directory_name
:]
 file_name
[, ...]|estimate={BLOCKS | STATISTICS}|estimate_only={y|n}|exclude=
object_type
[:
name_filter
] [, ...]|filesize=
 fsize
[B | K | M | G]|flashback_scn=
 fscn
|flashback_time=
 ftime
|full={y|n}|help={y|n}|include=
object_type
[:
name_filter
] [, ...]|job_name=
expdp_job
|logfile=[
directory_name
:]
log_name
[, ...]|network_link=
source_db_link
|nologfile={y|n}|parallel=
dop
 
expdp|35
|parfile=
 parfile_name
|query=
q
|schemas=
schema_name
[, ...]|status=
interval
|tables=[
schema
.]
table
[:
 partition
] [, ...]|tablespaces=
tablespace_name
[, ...]|transport_full_check={y|n}|transport_tablespaces=
tablespace_name
[, ...]|version={COMPATIBLE | LATEST |
version_string
}
Parameters
attach=
[
schema_name
.
]
expdp_job
Specifiesthenameofthe(alreadyrunning)datapumpexporttheclientwillbeattachedto.Ifyouwantyourclienttoattachtoajobinaschemaotherthanyourown,youmusthavetheEXP_FULL_DATABASErole.Whenthisparameterisspeci-fied,nootherparameter(excepttheconnectionstring)isallowed. You’ll see an
Export>
prompt after you connect.
content={ALL | DATA_ONLY | METADATA_ONLY}
Specifiesthetypeofcontentfortheexport.Thedefaultvalueis
ALL
,whichmeansthatbothdataandmetadata(databaseobject definitions) are exported.
directory=
dir_name
SpecifiesthenameofanOracledirectoryobject,whichinturnpointstotheactualdirectorytowhichtheexportdump-file(s)andthelogfilewillbewritten.Ifyouspecifyadirectoryinthe
dumpfile
and
logfile
parameters,the
directory
param-eter is overridden.
TIP
Beforeyoucanuse
expdp
,youmusthaveadirectoryob- jectcreatedinthedatabase,andthedatabaseusermusthavereadandwriteprivileges(grantedviatheSQL
grant
command, not at the OS level) on the directory.
dumpfile=[
directory_name
:]
 file_name
[, ...]
Specifiesthename(s)oftheexportdumpfile(s).Thedefaultvalueis
expdat.dmp
.Optionally,youcanalsospecifythedirectory.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->