RE: recoving the temp tablespace

  • From: Carel-Jan Engel <cjpengel.dbalert@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 23 Mar 2004 23:25:43 +0200

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
/


Other related posts: