Rich,

I have a better set of steps for you:

1).  Create a new tablespace (TEMPLMT) and make it a LMT.
2).  One by one, issue ALTER USER {username} TEMPORARY TABLESPACE TEMPLMT;
3).  Bounce the database
4).  DROP TABLESPACE TEMP INCLUDING CONTENTS;
5).  Backup the database
6).  Let users at it.
7).  Go have a beer.

The only "negative" here is that your TEMP tablespace is called TEMPLMT, but
it just doesn't matter.  If you want, you can do it again, this time
creating the tablespace as TEMP if it makes you feel better.

Your method would work just fine.  Not sure if the users would lose the
designation of their TEMPORARY TABLESPACE, but if they do, you can easily
create a script to set their temp tablespace to TEMP again.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-----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
[EMAIL PROTECTED]              Quad/Tech International, Sussex, WI USA
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jesse, Rich
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to