- Newest
- Most votes
- Most comments
Yes, parallelism for Oracle Data Pump is available in AWS RDS for Oracle Enterprise Edition. In Oracle Database 19c on Amazon RDS, there is a specific parameter called max_datapump_parallel_per_job that controls the maximum number of parallel processes allowed for each Oracle Data Pump job.
This parameter can be set to a value between 1 and 1024, or to AUTO. It is a modifiable parameter, so you can adjust it according to your needs.
When using Data Pump in RDS for Oracle, you should be able to use the dbms_datapump.set_parallel function, but the actual parallelism will be constrained by the max_datapump_parallel_per_job parameter setting. If your parallelism isn't working as expected, you might need to check this parameter's current value and adjust it if necessary.
Also, ensure that you have sufficient resources (CPU, memory) on your RDS instance to support the level of parallelism you're requesting. The instance class and size can impact the effective parallelism that can be achieved.
Sources
RDS for Oracle releases - Amazon Relational Database Service
answered a year ago
Hi The parameter max_datapump_parallel_per_job is set to 50 but set_parallel does not work. Thanks
answered a year ago
Hi,
Just catching up on this thread, not sure if you were able to already fix it.
I was able to import using the DBMS_DATAPUMP package with parallel parameter using the below commands in RDS for Oracle without any issues.
DBMS_DATAPUMP.SET_PARALLEL(
handle => v_hdnl,
degree => 4);
Complete IMPORT Command,
`DECLARE
v_hdnl NUMBER;
BEGIN
v_hdnl := DBMS_DATAPUMP.OPEN(
operation => 'IMPORT',
job_mode => 'SCHEMA',
job_name => null);
DBMS_DATAPUMP.ADD_FILE(
handle => v_hdnl,
filename => 'export_dms_sample_13Nov25_%U.dmp',
directory => 'DATA_PUMP_DIR',
filetype => dbms_datapump.ku$_file_type_dump_file);
DBMS_DATAPUMP.ADD_FILE(
handle => v_hdnl,
filename => 'impdp_DMS_SAMPLE_13Nov25_parallel_01.log',
directory => 'DATA_PUMP_DIR',
filetype => dbms_datapump.ku$_file_type_log_file);
DBMS_DATAPUMP.METADATA_FILTER(v_hdnl,'SCHEMA_EXPR','IN (''DMS_SAMPLE'')');
DBMS_DATAPUMP.SET_PARALLEL(
handle => v_hdnl,
degree => 4);
DBMS_DATAPUMP.SET_PARAMETER(
handle => v_hdnl,
name => 'METRICS',
value => 1
);
DBMS_DATAPUMP.START_JOB(v_hdnl);
END;
/`
Output from the database,
SQL> SELECT s.sid, s.serial#, s.username, s.program, s.status, s.state, s.module
FROM v$session s, dba_datapump_sessions d
WHERE s.saddr = d.saddr
AND d.job_name = 'SYS_IMPORT_SCHEMA_01'; 2 3 4
SID SERIAL# USERNAME PROGRAM STATUS STATE MODULE
---------- ---------- ------------------------------ ------------------------------------------------ -------- ------------------- ----------------------------------------------------------------
1892 58538 ADMIN sqlplus@ip-<masked>.ec2.internal (TNS V1-V3 ACTIVE WAITED SHORT TIME SQL*Plus
650 54791 ADMIN oracle@ip-<masked> (DM00) ACTIVE WAITING Data Pump Master
1267 28375 ADMIN oracle@ip-<masked> (DW00) ACTIVE WAITED SHORT TIME Data Pump Worker
22 24346 ADMIN oracle@ip-<masked> (DW01) ACTIVE WAITING Data Pump Worker
23 48425 ADMIN oracle@ip-<masked> (DW02) ACTIVE WAITING Data Pump Worker
655 14807 ADMIN oracle@ip-<masked> (DW03) ACTIVE WAITING Data Pump Worker
Please check if there are any errors in the database alert log to check if there are any other issues which might be causing the problem.
answered a year ago
Relevant content
asked a year ago
asked 2 years ago
asked 2 years ago
