Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: drop user

Re: drop user

From: Mladen Gogala <mgogala_at_adelphia.net>
Date: Mon, 04 Aug 2003 19:34:23 -0800
Message-ID: <F001.005C8E34.20030804193423@fatcity.com>


Hammer?? That's a nuclear bomb!
On 2003.08.04 23:14, Jared Still wrote:
>
> Everything looks like a big hammer to you,
> doesn't it Stephen?
>
> ;)
>
> On Mon, 2003-08-04 at 17:54, Stephen Lee wrote:
> >
> > Much faster:
> >
> > SQL> select file_name from dba_data_files where tablespace_name = 'SYSTEM';
> >
> > SQL> !rm file_name
> >
> > POOF!! User gone. Very fast.
> >
> > > -----Original Message-----
> > >
> > > Personnaly, I like to write a short script to generate the
> > > SQL to drop all
> > > the users tables with the 'cascade constraints' option.
> > >
> > > I then do a 'drop user cascade;'
> > >
> > > If there are a lot of tables/indexes, the recursive SQL can
> > > take awhile,
> > > assuming a fair number of extents per object.
> > >
> > > Then again, if you're using LMTs, then the recursive SQL
> > > shouldn't be too
> > > bad.
> > >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: Stephen Lee
> > INET: Stephen.Lee_at_DTAG.Com
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Jared Still
> INET: jkstill_at_cybcon.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Mladen Gogala
Oracle DBA
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: mgogala_at_adelphia.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Aug 04 2003 - 22:34:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US