PL/SQL (MOSC)

MOSC Banner

Dividing dump file using plsql datapump api

in PL/SQL (MOSC) 2 commentsAnswered ✓

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);

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center