Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: export & import FULL =Y
Or
('SYS', 'OUTLN', 'SYSTEM', 'CTXSYS', 'DBSNMP',
'LOGSTDBY_ADMINISTRATOR', 'ORDSYS',
'ORDPLUGINS', 'OEM_MONITOR', 'WKSYS', 'WKPROXY',
'WK_TEST', 'WKUSER', 'MDSYS', 'LBACSYS', 'DMSYS',
'WMSYS', 'OLAPDBA', 'OLAPSVR', 'OLAP_USER',
'OLAPSYS', 'EXFSYS', 'SYSMAN', 'MDDATA',
'SI_INFORMTN_SCHEMA', 'XDB', 'ODM')
Joel Patterson
Database Administrator
joel.patterson_at_crowley.com
x72546
904 727-2546
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Allen, Brandon
Sent: Thursday, August 02, 2007 12:22 PM
To: godwin.ror_at_gmail.com; Oracle-L Freelists
Subject: RE: export & import FULL =Y
Just drop the existing users & schemas in dev with the DROP USER . . . CASCADE command - here is a query that will generate the script to drop all users for you other than the exceptions in the IN list:
select 'drop user ' || username || ' cascade;'
from dba_users where username not in
('SYS','SYSTEM','OUTLN','DBSNMP','DIP','TSMSYS');
Also, you'll probably want to add direct=y to your exp command - it will
most likely make it MUCH faster.
Regards,
Brandon
Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Aug 02 2007 - 11:49:42 CDT
![]() |
![]() |