Oracle Database / Storage, Undo & Redo
Find Oracle datafiles approaching their autoextend ceiling
A file may report AUTOEXTENSIBLE while remaining unable to grow further. Compare current allocation, configured ceiling and underlying storage.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT tablespace_name, file_name, bytes, maxbytes, increment_by, autoextensible FROM dba_data_files WHERE autoextensible = 'YES';
What the results mean
MAXBYTES is the configured file ceiling; INCREMENT_BY is measured in blocks. The query does not measure free filesystem or ASM capacity.
Fix the cause and check again
Prioritize files near their supported ceiling and forecast growth. Plan a justified file or tablespace capacity change and validate the resulting allocation.
Before you make a change
Do not promise that enabling autoextend prevents space incidents. Storage quotas and maximum file sizes still apply.