Message-Id: <10575.113403@fatcity.com> From: "Steve Adams" Date: Tue, 1 Aug 2000 04:22:58 +1000 Subject: RE: Dropping Tablespaces - All Nighter Hi Kirsten, If the problem is large numbers of extents in some segments, then it may be quicker to take a full database export and rebuild the entire database. Regards, Steve Adams http://www.ixora.com.au/ http://www.oreilly.com/catalog/orinternals/ http://www.christianity.net.au/ -----Original Message----- From: root@fatcity.com [mailto:root@fatcity.com]On Behalf Of Weerd de E.C. Kirsten Sent: Tuesday, 1 August 2000 4:49 To: Multiple recipients of list ORACLE-L Subject: Dropping Tablespaces - All Nighter Hi, At this rate, this is gonna take all night ... So any advice as to how speed things up a little would be greatly appreciated ... I have to remove several tablespaces. The basic steps I use at this moment are : 1. Make an export of the main user, just in case (He is owner of every object that could be of any importance) 2. Drop all Tables of this particular user (One of my last resorts to speed things up, don't really know if it helps at all) 3. Take the tablespace offline and issue a 'Drop tablespace X including contents' This is one that is taking quite some time. 4. Drop the main user : 'Drop User X Cascade' Another one to stare at for quite a while. 5. Remove the datafiles on OS-level. After that it's creating a new TS, with a new main-user and importing etc. Someone suggested downing the database after dropping the tables, which could speed up dropping both TS and user, but don't know if he's right, or just guessing as I am. Thanx again for all the help ! Greets, Kirsten -- Author: Weerd de E.C. Kirsten INET: Kirsten.deWeerd@Oranjewoud.nl Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru@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).