We encountered ORA-39095 while performing EBS R12.1.3 database export.
It stopped twice with below error.
ORA-39095: Dump file space has been exhausted: Unable to allocate 4096 bytes
Job “SYSTEM”.”SYS_EXPORT_FULL_01″ stopped due to fatal error at Thu Mar 19 14:42:31 2020 elapsed 0 05:01:01
We had sufficient disk space, however we encountered this issue because we limited filesize to 10G that led to creation of 99 dump files so far.
The wildcard format for dump (dumpfile=_%U.dmp) can expand up to 99 files. However in our case the database size was around 2TB and total dump size 1.4TB. Since 99 files(99*10G=990G dump created) have been generated (1.4TB – 990GB=still to go) before the export has completed, it probably ran into the ORA-39095 error.
To overcome this issue, we can set a bigger FILESIZE parameter or use dumpfile format like (dumpfile=1_%U.dmp, 2_%U.dmp, 3_%U.dmp), which can expand up to 3*99 files.
Since we had network bandwidth restriction mandated by the IT team, so instead of setting bigger filesize we used dumpfile=1_%U.dmp, 2_%U.dmp, 3_%U.dmp.
Here’s revised export par file auexpdp.dat:
$ cat auexpdp.dat
directory=dmpdir
dumpfile=expdp_full_1_%U.dmp,expdp_full_2_%U.dmp,expdp_full_3_%U.dmp
filesize=10G
full=y
logfile=LOGDIR:expdp_full.log
metrics=y
parallel=16
logtime=all
EXCLUDE=STATISTICS
CLUSTER=N
QUERY=applsys.wf_item_attribute_values:”where item_type!=’WFERROR’ and name != ‘EVENT_MESSAGE'”