Bonjour,
Je souhaiter changer de tablespace undo car le fichier undotbs01.dbf a été effacé par mégarde.

Je voudrai faire
create a new undo tablespace
shutdown normal
change the init.ora file to change the undo_tablespace entry to the new
tablespace.
startup
drop the old undo tablespace.
Mais je ne peux pas créer de nouveau tablespace car la base ne peut pas s'ouvrir!

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
SQL> CREATE UNDO TABLESPACE "UNDOTS2" DATAFILE
  2  '/u01/app/oracle/oradata/orcl/undotbs01.dbf' SIZE 512M REUSE ;
CREATE UNDO TABLESPACE "UNDOTS2" DATAFILE
*
ERROR at line 1:
ORA-01109: database not open

Comment faire?