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: recoving the temp tablespace

RE: recoving the temp tablespace

From: Carel-Jan Engel <cjpengel.dbalert_at_xs4all.nl>
Date: Tue, 23 Mar 2004 23:25:43 +0200
Message-Id: <6.0.1.1.0.20040323232325.44417060@pop.xs4all.nl>


Donald,

You don't need a different one. You can just -re-create the original (not-resoterd, because not backed up) tempfile for the tablespace. The tablespace is there in the dictionary, just the tempfiles are missing. They can be added to the tablespace again.

Regards, Carel-Jan

===
If you think education is expensive, try ignorance. (Derek Bok) ===

At 11:19 PM 3/23/2004, you wrote:
>Your database is going to be looking for the 'old' temp file. Create a
>new, different one. Drop the old one, recreate the old one, drop the new
>one. Is that too many 'olds' and 'news?' :-)
>
>
>CREATE TEMPORARY TABLESPACE TEMP1
> TEMPFILE 'F:\ORACLE\ORADATA\NEDSSARP\TEMP99.DBF' SIZE 2097152K
> AUTOEXTEND OFF
> EXTENT MANAGEMENT LOCAL UNIFORM SIZE 4096K
> SEGMENT SPACE MANAGEMENT MANUAL
>/
>ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP1
>/
>
>DROP TABLESPACE TEMP INCLUDING CONTENTS AND DATAFILES
>/
>
>CREATE TEMPORARY TABLESPACE TEMP
> TEMPFILE 'F:\ORACLE\ORADATA\NEDSSARP\TEMP01.DBF' SIZE 2097152K
> AUTOEXTEND OFF
> EXTENT MANAGEMENT LOCAL UNIFORM SIZE 4096K
> SEGMENT SPACE MANAGEMENT MANUAL
>/
>ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP
>/
>DROP TABLESPACE TEMP1 INCLUDING CONTENTS AND DATAFILES
>/
>



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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Tue Mar 23 2004 - 18:42:13 CST

Original text of this message

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