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;
 
docs/bdd/oracle/temp_tablespace.txt · Dernière modification: 2007/01/10 22:45 (édition externe)
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki DNS by XNAME LaFraise.com :: éditeur de bien jolis Tee-shirts