Réinitialiser le TBS TEMP Oracle

  • Création d’un tablespace temporaire intermédiaire :
1
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 :
1
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp2;
  • Suppression de l’ancien tablespace temporaire :
1
DROP TABLESPACE temp INCLUDING CONTENTS AND DATAFILES;
  • Création du nouveau tablespace temporaire définitif :
1
CREATE TEMPORARY TABLESPACE temp TEMPFILE '/chemin complet/temp01.dbf' SIZE 1024M AUTOEXTEND OFF;
  • Affecter ce tablespace par défaut :
1
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
  • Supprimer le tablespace intermédiaire :
1
DROP TABLESPACE temp2 INCLUDING CONTENTS AND DATAFILES;
Configuration E/S - Oracle
Oracle 11G - réduire la taille du tablespacec temporaire

Leave a Comment

Your email address will not be published. Required fields are marked *