Oracle

Aus MeinWiki
Wechseln zu: Navigation, Suche

Tablespace erweitern

  • um ein File
   ALTER TABLESPACE "Tablespace" 
   ADD 
   DATAFILE '/opt/oracle/oradata/"SID"/"Tablespace".dbf' SIZE 100M 
   AUTOEXTEND 
   ON NEXT  100M MAXSIZE  2048M;
  • um mehrere Files
   ALTER TABLESPACE "Tablespace" 
   ADD 
   DATAFILE '/opt/oracle/oradata/"SID"/"Tablespace".dbf' SIZE 100M 
   AUTOEXTEND 
   ON NEXT  100M MAXSIZE  2048M, '/opt/oracle/oradata/"SID"/"Tablespace"..dbf' SIZE 100M AUTOEXTEND 
   ON NEXT  100M MAXSIZE  2048M, '/opt/oracle/oradata/"SID"/"Tablespace"..dbf' SIZE 100M AUTOEXTEND 
   ON NEXT  100M MAXSIZE  2048M;