Dividing dump file using plsql datapump api
Hello,
I'm using Datapump Api with PL SQL on Oracle 19c.
Currently I'm working on a script which drops data from database which is for example older than 90 days.
First step is to export data using Datapump API with PL SQL. We have daily partitions and I export those which are old enough. Due to that our application generates much data per day it would be around 60 gigabytes to export.
My code looks like that :
hand := Dbms_Datapump.open(operation => 'EXPORT', job_mode => 'TABLE', version => 'COMPATIBLE') ;
Dbms_Datapump.add_file(handle => hand, filename => filename, directory => location , filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);