0% found this document useful (0 votes)
58 views8 pages

Oracle 19c Data Pump Parameter WR

Oracle dba

Uploaded by

Diwakar Reddy S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views8 pages

Oracle 19c Data Pump Parameter WR

Oracle dba

Uploaded by

Diwakar Reddy S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

ABOUT ME  DATABASE  RAC  ASM 

UPGRADE  MULTITENANT  RMAN 



DATAPUMP  ORACLE CLOUD  PATCHING 

TUNING GOLDENGATE

Oracle 19c New Achievement

Features Data Pump


Parameter
(MAX_DATAPUMP_PARALLEL_PER_JOB)
Oracle 19c New Database Parameter
(MAX_DATAPUMP_PARALLEL_PER_JOB)
Search
Description:-
Search here..
It speci es the maximum number of parallel processes
allowed per Oracle Data Pump job.
Categories

 Ansible (6)
AppsDBA (4)
Asm (2)

11g Asm (2)


Conferences/UsersGroup
(10)
Database (116)

11g Database (16)


When this parameter has a value of AUTO, Oracle Data 12cR2 database (39)
Pump derives its value to be 50 percent of the value of the 18c Database (35)
SESSIONS initialization parameter. 19c database (45)
Dataguard (64)
Note:This parameter is available starting with Oracle 11g Dataguard (10)
Database release 19c, version 19.1. 12c Dataguard (16)

18c Dataguard (9)


19c Dataguard (30)
It introduced to control the number of parallel workers that Datapump (66)

can be used for an individual Data Pump job. This is an 18c Datapump (63)

improvement to implement resource usage policies in 19c Datapump (3)

DataPump. General (16)


Goldengate (16)

In a database with MAX_DATAPUMP_PARALLEL_PER_JOB set Migration (4)


Multitenant (32)
to N, even if parallel>N is speci ed for the DataPump job,
12c Multitenant (21)
only N number of Worker processes will be started,
18c Multitenant (6)

Demo:- 19c Multitenant (5)


My Photos (3)

Changing Parameter at database level OEM (3)


Ora-Errors (17)

[oracle@dev19c ~]$ export ORACLE_SID=dbwr Oracle APEX (2)


Oracle Cloud (60)
[oracle@dev19c ~]$ sqlplus ‘/as sysdba’
AutonomousDB (10)

SQL*Plus: Release 19.0.0.0.0 – Production on Mon Sep 30 DBaaS (14)

23:50:54 2019 oracle cloud


infrastructure (32)
Version 19.3.0.0.0 OS Installation (1)
Copyright (c) 1982, 2019, Oracle. All rights reserved. Patching (20)
Connected to: Dataguard (1)
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Rac Database (4)
Production Single instance (9)
Version 19.3.0.0.0 Rac (36)

11g Rac (13)


SQL> show parameter MAX_DATAPUMP_PARALLEL_PER_JOB 12c Rac (12)
19c rac (14)
NAME TYPE VALUE
Rman (24)
———————————— ———– ——————————
12c Rman (5)
max_datapump_parallel_per_job string 50
18c Rman (12)
(default)
19c Rman (9)
Scripts (56)
Changing parameter from 50 to 1 (default is 50)
Tuning (16)
Upgrade (25)
SQL> alter system set
12c upgrade (4)
MAX_DATAPUMP_PARALLEL_PER_JOB=1 container=all;
18c upgrade (11)
19c upgrade (10)
System altered.
Archives
SQL> show parameter MAX_DATAPUMP_PARALLEL_PER_JOB
NAME TYPE VALUE Select Month
———————————— ———– ——————————
max_datapump_parallel_per_job string 1 Tags

Example 1:- 11g database

12c database 12c Rac


expdp job start with parallel=4
18c database 19c

[oracle@dev19c ~]$ expdp system/oracle@dbwrpdb 19c database


directory=DATA_PUMP_DIR dump le=djob1.dmp full=yes 19c rman aioug
parallel=4 logtime=all metrics=yes
Autonomous cdb

Export: Release 19.0.0.0.0 – Production on Tue Oct 1 chennai chapter


00:03:36 2019 Cloud conference
Version 19.3.0.0.0
Dataguard
Copyright (c) 1982, 2019, Oracle and/or its a liates. All rights
Datapump
reserved.
Connected to: Oracle Database 19c Enterprise Edition Goldengate

Release 19.0.0.0.0 – Production Installation


01-OCT-19 00:03:56.315: Starting Multitenant
“SYSTEM”.”SYS_EXPORT_FULL_01″:
oci block volume
system/********@dbwrpdb directory=DATA_PUMP_DIR
dump le=djob1.dmp full=yes parallel=4 logtime=all Ora-Errors oracle19c

metrics=yes oracle 19c


01-OCT-19 00:04:00.080: W-1 Startup took 2 seconds oracle 19c active
01-OCT-19 00:04:15.362: W-1 Processing object type dataguard
DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABL
oracle 19c asm
01-OCT-19 00:06:07.838: W-1 Processing object type
oracle 19c database
DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA
01-OCT-19 00:06:15.051: W-1 Processing object type oracle 19c database
DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TA dataguard broker

01-OCT-19 00:06:23.905: W-1 Processing object type oracle 19c dataguard


DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA oracle 19c dataguard
broker
Note:-Only one worker process is working.even though we
oracle 19c dataguard
have given parallel=4.
new features

Check at database level oracle 19c new


feature
select to_char(sysdate,’YYYY-MM-DD HH24:MI:SS’) “DATE”, oracle 19c rac
s.program, s.sid from v$session s, v$process p,
oracle 19c rac
dba_datapump_sessions d installation
where p.addr=s.paddr and s.saddr=d.saddr and UPPER
oracle background
(s.program) LIKE ‘%DM0%’ or UPPER (s.program) LIKE
process
‘%DW0%’;
Oracle cloud
DATE PROGRAM oracle cloud block
SID volume
——————- ———————————————— ———- Oracle Gen2 Cloud
2019-10-01 00:04:35 oracle@dev19c (DW00)
oracle rman Patching
76
pdb Rac Rman
Example:-2 scripts Tablespaces

Tuning upgrade
Changing Parameter at database level

[oracle@dev19c ~]$ sqlplus ‘/as sysdba’

SQL*Plus: Release 19.0.0.0.0 – Production on Tue Oct 1


00:16:20 2019
Version 19.3.0.
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 –
Production
Version 19.3.0.0.0

SQL> show parameter MAX_DATAPUMP_PARALLEL_PER_JOB

NAME TYPE VALUE


———————————— ———– ——————————
max_datapump_parallel_per_job string 1

– in a database with MAX_DATAPUMP_PARALLEL_PER_JOB


set to 2

SQL> alter system set


MAX_DATAPUMP_PARALLEL_PER_JOB=2 container=all;
System altered.

SQL> show parameter MAX_DATAPUMP_PARALLEL_PER_JOB

NAME TYPE VALUE


———————————— ———– ——————————
max_datapump_parallel_per_job string 2

– any DataPump job can have up to maximum 2 Workers,


even if the job is started with parallel>2:

[oracle@dev19c ~]$ expdp system/oracle@dbwrpdb


directory=DATA_PUMP_DIR dump le=djob2.dmp full=yes
parallel=4 logtime=all metrics=yes

Export: Release 19.0.0.0.0 – Production on Tue Oct 1


00:18:24 2019
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its a liates. All rights
reserved.

Connected to: Oracle Database 19c Enterprise Edition


Release 19.0.0.0.0 – Production
01-OCT-19 00:18:48.228: Starting
“SYSTEM”.”SYS_EXPORT_FULL_01″:
system/********@dbwrpdb directory=DATA_PUMP_DIR
dump le=djob2.dmp full=yes parallel=4 logtime=all
metrics=yes
01-OCT-19 00:18:50.177: W-1 Startup took 2 seconds
01-OCT-19 00:18:56.787: W-2 Startup took 1 seconds
01-OCT-19 00:18:56.954: W-2 Processing object type
DATABASE_EXPORT/PRE_SYSTEM_IMPCALLOUT/MARKER
01-OCT-19 00:18:56.988: W-2 Completed 1 MARKER objects
in 0 seconds
01-OCT-19 00:18:57.095: W-2 Processing object type
DATABASE_EXPORT/PRE_INSTANCE_IMPCALLOUT/MARKER
01-OCT-19 00:18:57.105: W-2 Completed 1 MARKER objects
in 0 seconds
01-OCT-19 00:19:10.888: W-1 Processing object type
DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABL
01-OCT-19 00:19:11.708: W-2 Processing object type
DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA
01-OCT-19 00:19:24.954: W-2 Processing object type
DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
01-OCT-19 00:19:26.095: W-2 Processing object type
DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/INDEX
01-OCT-19 00:19:26.900: W-2 Completed 8
INDEX_STATISTICS objects in 1 seconds
01-OCT-19 00:19:28.027: W-2 Processing object type
DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATI
01-OCT-19 00:19:28.212: W-2 Completed 1
TABLE_STATISTICS objects in 1 seconds
01-OCT-19 00:20:03.967: W-1 Processing object type
DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TA
01-OCT-19 00:20:04.733: W-1 Processing object type
DATABASE_EXPORT/TABLESPACE

select to_char(sysdate,’YYYY-MM-DD HH24:MI:SS’) “DATE”,


s.program, s.sid from v$session s, v$process p,
dba_datapump_sessions d
where p.addr=s.paddr and s.saddr=d.saddr and UPPER
(s.program) LIKE ‘%DM0%’ or UPPER (s.program) LIKE
‘%DW0%’;

DATE PROGRAM
SID
——————- ———————————————— ———-
2019-10-01 00:19:55 oracle@dev19c (DW00) 89
2019-10-01 00:19:55 oracle@dev19c (DW02) 84

Note:-There is no warning or error reported when the DP job


is started with a number of parallels higher than the value
de ned by MAX_DATAPUMP_PARALLEL_PER_JOB.

Connect with me:-


Telegram:https://t.me/oracledbwr
LinkedIn:https://www.linkedin.com/in/hariprasathdba
Facebook:https://www.facebook.com/HariPrasathdba
FB
Group:https://www.facebook.com/groups/894402327369506
FB Page : https://www.facebook.com/dbahariprasath/?
Twitter : https://twitter.com/hariprasathdba

19c 19c Database Database Oracle19c

You may also like

 Previous Post Next Post 


Oracle 19c New 3 PDBs at Oracle 19c…
Features…

Recent Posts

Con guring
Get updated
Transparent Data
Encryption In Oracle    
19c Database
Apply Patching on
Database and OJVM
Patch 32578972:
COMBO OF OJVM RU
COMPONENT
19.11.0.0.210420 + DB
RU 19.11.0.0.210420
Oracle 19c Database
Registry Components
Invalid
How to resolve
[COLLECTIONS_HALTED(UPLOAD
SYSTEM Threshold
(UploadMaxDiskUsedPct:
98) exceeded with
99.12537)]
Oracle Database
Critical Patch Update
Advisory – April 2021

    
© 2021 Oracledbwr - All Rights Reserved.

You might also like