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: Convert TEMP tablespace from datafiles to tempfiles

RE: Convert TEMP tablespace from datafiles to tempfiles

From: Hand, Michael T <HANDM_at_polaroid.com>
Date: Thu, 07 Nov 2002 09:53:38 -0800
Message-ID: <F001.004FE082.20021107095338@fatcity.com>


Jesse,
I did the same thing last week on our sandbox system using the method others have prescribed. There is a note 140913.1 covering a LMT bug in 8.1.6. under OpenVMS. You might want to double check to make sure no equivalent problem exists on your platform.

Ron,
As Jared pointed out, it's the Temporary tablespace (not a tablespace with temporary contents) that permits local extent management. In 8.1.7 I'm sure you've already tried:

create tablespace temp_contents
datafile '/oracle/.../temp.data1' size 128M temporary
extent management local uniform size 4M;

or something similar and gotten a ORA-25144. Also be forwarned, 8.1.7 will let you assign a Permanent LMT as temporary_tablespace for a user, but won't let you create temporary segments there.

Mike

-----Original Message-----
Sent: Wednesday, November 06, 2002 10:56 AM To: Multiple recipients of list ORACLE-L

Hey all,

I've got some downtime coming up on an 8.1.6 DB on Solaris, and I'd like to take the opportunity to convert the datafiles of the TEMP tablespace to tempfiles. My reason for this change is primarily to get the TEMP tablespace LMT, but also to shrink our hotbacks w/o modifying the working script.

I've been trying to reason out this task in my head, as I can't find much on MetaLink, and here's what I've got so far:

  1. Shutdown DB.
  2. Backup DB.
  3. Startup restricted.
  4. Offline tablespace TEMP.
  5. Drop tablespace TEMP.
  6. Create new temporary TEMP LMT.
  7. Bounce instance.

I don't yet have an arena to try this in. Will users whose assigned TEMPORARY TABLESPACE is TEMP need to be ALTERed? Anyone have any comments on the procedure?

TIA! Rich

Rich Jesse                           System/Database Administrator
Rich.Jesse_at_qtiworld.com              Quad/Tech International, Sussex, WI USA

--

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

Author: Jesse, Rich
  INET: Rich.Jesse_at_qtiworld.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.com
--

Author: Hand, Michael T
  INET: HANDM_at_polaroid.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). Received on Thu Nov 07 2002 - 11:53:38 CST

Original text of this message

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