I keep getting this error "ORA-01652: unable to extend temp segment by 128 in tablespace TEMP" but the DBA tells me there's over 500GB available.
While what I'm trying to run will return a few million rows, I have queries that create 100M rows run successfully.
what can be the cause of this one failing if there's so much free space available? The DBA doesn't seem to know what to do.
Upd. This was solved in comments, turned out my schema only had 60GB. Seems to work now. But I'm now confused, why isn't 60GB enough to run a query that will produce a few million rows. All tables in my schema add up to 1GB.
Also, when they say that I have 60GB available, is that at the time of the run?
select file_name, AUTOEXTENSIBLE, BYTES, MAXBYTES, INCREMENT_BY from dba_data_files where tablespace_name='TEMP'
on both CDB and PDB, then also do adf -h
on the file systems (or equivalent on ASM if using that). – TenG