Extend an Oracle tablespace

by Wolfram Saringer  (2013-05-14)
last change: 2013-05-14

Add a datafile to an existing Oracle tablespace tb_name:

ALTER TABLESPACE tb_name ADD DATAFILE '/path/to/new/datafile.dbf' SIZE 200M AUTOEXTEND ON NEXT 100M MAXSIZE 4000M;

Show all datafiles associated with a tablespace tb_name:
SELECT * FROM dba_data_files WHERE tablespace_name='tb_name';

all articles represent the sole opinion of their respective author. all content comes without any warranty for correctnes, despite due diligence.