oracle alter tablespace add datafile autoextend max size code example
Example: oracle alter tablespace add datafile autoextend max size
ALTER TABLESPACE my_tbs ADD DATAFILE '/path/to/my_file.dbf'
SIZE 100M AUTOEXTEND OFF;
-- Autoextend with max size:
ALTER TABLESPACE my_tbs ADD DATAFILE '/path/to/my_file.dbf'
SIZE 10G AUTOEXTEND ON NEXT 1G MAXSIZE 32G;
-- For TEMP tablespace:
ALTER TABLESPACE my_tbs ADD TEMPFILE '/path/to/my_file.dbf'
SIZE 100M AUTOEXTEND OFF;