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:reattaching datafiles

Re:reattaching datafiles

From: <dgoulet_at_vicr.com>
Date: Fri, 02 Nov 2001 06:02:21 -0800
Message-ID: <F001.003BB43F.20011102061018@fatcity.com>

Guy,

    The 'drop tablespace' command does a number of items. It purges the data dictionary of all references to that tablespace, removes the file information from the control file, closes the datafile(s) and releases them back to the operating system. All that being said, if you then want to reuse the datafile as a new tablespace then you have to wipe it. The simplest reason being that you may be using it in a database with a different block size. Look at it this way, if you were starting to write a new book, would you use a notepad of erased paper? If you did there might end up being some very interesting side notes running around.

Dick Goulet

____________________Reply Separator____________________
Author: "Guy Hammond" <guy.hammond_at_avt.co.uk>
Date:       11/2/2001 5:40 AM

Hello all,

When a tablespace is dropped, the datafile is left on the disk. What exactly is the drop tablespace command doing, and is there a way to get that datafile and "re-attach" to a new tablespace in some way? For example, creating a tablespace using that datafile, but without wiping it, as the "reuse" clause does?

Thanks,

g

--

Guy Hammond
AVT Technologies
Classic House
174-180 Old Street
London EC1V 9BP

Desk: 020 7454 4174
Mobile: 07966 164687
Web: http://www.avt.co.uk/

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Guy Hammond
  INET: guy.hammond_at_avt.co.uk

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_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.com
--

Author:
  INET: dgoulet_at_vicr.com
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_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 Fri Nov 02 2001 - 08:02:21 CST

Original text of this message

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