DBAtlas · Atlas für Datenbankbetrieb

Datafile zu einem vorhandenen Tablespace hinzufügen

OracleSpeicher

Befehl

ALTER TABLESPACE customer_data
  ADD DATAFILE '/u01/oradata/ORCL/customer_data02.dbf'
  SIZE 2G AUTOEXTEND ON NEXT 256M MAXSIZE 30G;

-- ASM:
ALTER TABLESPACE customer_data
  ADD DATAFILE '+DATA' SIZE 2G AUTOEXTEND ON NEXT 256M MAXSIZE 30G;

Was es tut

Erweitert die Kapazität eines vorhandenen Tablespace durch ein neues Datafile.

Wann einsetzen

Wenn der Tablespace voll ist und eine einzelne Datei sich dem Smallfile-Limit (32G/64G) nähert.

Vorsicht

Ein Smallfile-Tablespace hat ein Blocklimit pro Datei; füge bei Bedarf eine neue Datei hinzu. Gib MAXSIZE an.

In DBAtlas öffnen →

Verwandte Einträge