Réinitialiser le tablespace temporaire
- Création d’un tablespace temporaire intermédiaire :
CREATE TEMPORARY TABLESPACE temp2 TEMPFILE '/chemin complet/temp2.dbf' SIZE 50M AUTOEXTEND ON NEXT 3M;- Affectation de ce tablespace TEMP2 comme tablespace temporaire par défaut de la base :
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp2;- Suppression de l’ancien tablespace temporaire :
DROP TABLESPACE temp INCLUDING CONTENTS AND DATAFILES;- Création du nouveau tablespace temporaire définitif :
CREATE TEMPORARY TABLESPACE temp TEMPFILE '/chemin complet/temp01.dbf' SIZE 1024M AUTOEXTEND OFF;- Affecter ce tablespace par défaut :
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;- Supprimer le tablespace intermédiaire :
DROP TABLESPACE temp2 INCLUDING CONTENTS AND DATAFILES;