Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

expdp or impdp as 'sys'

732974Aug 18 2011 — edited Nov 2 2012
This question probably been asked before, but I'm not able to find it, so here goes (again):

I've read in Oracle docs that it is usually adviseable to export (exp or expdp), or import (imp or impdp) using the SYSTEM account rather than the SYS account (mainly for FULL exports and imports).

I guess my question is if this is really true, and if so, why?

Is it because sys and system data will not be exported or imported, or something related to that?

Also, in our scripts, while using the SYSTEM account, I have to pass a password to run expdp (or impdp), such as
 expdp system/$SYSTEM . . .
but this method allows someone who queries the system processes to see the password (bad).

but as sys, I can simply use
expdp  \'/ as sysdba\' . . .
But I recall that exporting or importing as SYS was not recommended by Oracle.

Can anyone help clear this up?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2012
Added on Aug 18 2011
7 comments
54,063 views