SlideShare a Scribd company logo
1 of 25
Download to read offline
www.christian-gohmann.de
@CHGohmannDE
Oracle 21c
New Features and Enhancements of Data Pump & TTS
Christian Gohmann
AIOUG Webinar Series
21. April 2021
Christian Gohmann
• Principal Consultant at Trivadis Germany GmbH, Düsseldorf
• Instructor since 2014
• O-AI (Oracle Architecture and Internals)
• O-AI-DBA (Oracle Architecture and Internals for DBAs)
• Tool Owner of TVD-Backup
• Experiences with Oracle since 2006 (8i – 21c)
• Architecture, Installation & Configuration
• High Availability Solutions (RAC, Data Guard, GoldenGate)
• Migration Projects
• Backup & Recovery (RMAN, Data Pump)
• Cloud (Amazon, Oracle)
• Oracle ACE Associate
@CHGohmannDE www.christian-gohmann.de
Agenda
1. Introduction
2. Data Pump
3. Transportable Tablespaces (TTS)
Introduction
Oracle 21c
• Available since 8th of December 2020 as Cloud-first release
• Autonomous Database Service (including Always Free Tier (not in all regions))
• Database Service
• Virtual Machine (RAC, Single Instance)
• Bare Metal (Single Instance)
• Innovation release with Premier Support until 30. June 2023 (no Extended Support)
• See MOS note Release Schedule of Current Database Releases (Doc ID 742060.1)
• Oracle 21c Live Labs Workshops
• Link: https://apexapps.oracle.com/pls/apex/f?p=133:100:109140367598541::::SEARCH:21c
• No fix release date for the on-premises version
• Linux and Windows releases are planned for the 1st half-year 2021
• Other platforms will be released later
Use your 30-days Oracle Cloud free trial to get hands on experiences with Oracle 21c (RAC).
Always-free Autonomous Database 1/2
• Oracle 21c is available in the regions Ashburn (IAD), Phoenix (PHX), Frankfurt (FRA) and London (LHR)
• Can only be created in the home region of the user
• Navigate to Oracle Database > Autonomous Databases
• Direct link: https://cloud.oracle.com/db/adb
• Current workload types supported for always-free
Always-free Autonomous Database 2/2
Data Pump
Simultanenous use of EXCLUDE and INCLUDE
• Before 21c, the parameters EXCLUDE and INCLUDE were mutually exclusive
• This restriction is lifted with 21c
• When both parameters are used, the INCLUDE parameter is evaluated first
UDE-00011: parameter include is incompatible with parameter exclude
$> vi expdp_tables.par
...
SCHEMAS=HR,SH
INCLUDE=TABLE
EXCLUDE=TABLE:"IN ('COSTS', 'SALES')"
$> vi impdp_tables.par
...
SCHEMAS=HR
INCLUDE=TABLE
EXCLUDE=TABLE:"IN ('JOB_HISTORY')"
EXCLUDE=INDEX,STATISTICS
Checksum Support 1/3
• Oracle 21c supports the generation of checksums for the dump files using CHECKSUM parameter
• Can be used to confirm validity after transfer (to/from object storage, on-premises copy)
• Data Pump writes control information into the header block of each dump file
• Extended by checksums for the remaining blocks
• Use CHECKSUM_ALGORITHM to choose checksum algorithm
• CRC32
• SHA256 (default)
• SHA384
• SHA512
Generating checksums for dump file set
No new item codes in DBMS_DATAPUMP.GET_DUMPFILE_INFO for the checksum support.
Checksum Support 2/3
• Verify a dump file using impdp and VERIFY_ONLY parameter
• ORA-39411 is raised when an invalid checksum is detected
$> impdp ... VERIFY_ONLY=YES
…
Verifying dump file checksums
Master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
dump file set is complete
verified checksum for dump file "/backup/dumps/expdp_hr_sh.dmp"
dump file set is consistent
Job "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully completed at Sun Apr 18
16:20:58 2021 elapsed 0 00:00:03
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39411: header checksum error in dump file "/backup/dumps/expdp_hr_sh.dmp"
Checksum Support 3/3
• Use parameter VERIFY_CHECKSUM during import to validate the dump files as first step
• If turned off, a warning is written to the screen/log
$> impdp ... VERIFY_CHECKSUM=YES
…
Verifying dump file checksums
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/********@C21SFE1PDB1
parfile=impdp_21c_demo_checksum.par
Processing object type TABLE_EXPORT/TABLE/TABLE
Warning: dump file checksum verification is disabled
No warning/error is raised, when the dump file does not include checksums.
Object Storage Integration 1/4
• Data Pump can access the Object Store during export and import operations
• Parameter DUMPFILE now supports a Uniform Resource Identifier (URI)
• Credential for the target bucket is provided by the parameter CREDENTIAL
• Use the PL/SQL package DBMS_CLOUD to create the required credential
• MOS note How To Setup And Use DBMS_CLOUD Package (Doc ID 2748362.1)
• Currently only working in Autonomous Database (even with 19c)
Only the CDB architecture is supported by DBMS_CLOUD.
DBMS_CLOUD is pre-installed, configured and maintained in Oracle Autonomous Database
Manual installation steps
The following steps are required to manually install and enable DBMS_CLOUD for Oracle Database 19c beginning with 19.9 and higher.
Currently, Oracle Database 21c is not supported.
DUMPFILE=https://objectstorage.<Region>.oraclecloud.com/n/<Namespace>/b/<Bucket>/o/mydump_%u.dmp
Object Storage Integration 2/4
• Create credential and test access to the target bucket
SQL> BEGIN
DBMS_CLOUD.CREATE_CREDENTIAL(
credential_name => 'CLOUD_ACCESS',
username => 'christian.gohmann@trivadis.com',
password => '[Au_L8F0DRb_}lXmcM-G'
);
END;
/
SQL> SELECT COUNT(*) AS "OBJECT_COUNT"
FROM DBMS_CLOUD.LIST_OBJECTS('CLOUD_ACCESS','https://objectstorage.eu-
frankfurt-1.oraclecloud.com/n/kwq12gukapmy/b/datapump-dumps/o/');
OBJECT_COUNT
------------
1
Error ORA-20404 is raised, when the URI is invalid or the user is not authorized to access the
bucket.
Auth token
Object Storage Integration 3/4
• Perform export/import using command-line tools
$> vi expdp.par
USERID=system/manager
DIRECTORY=DATA_PUMP_DIR
DUMPFILE=https://objectstorage.eu-frankfurt-1.oraclecloud.com/n/cre01gulanmy/b/datapump-
dumps/o/test_%U.dmp
CREDENTIAL=CLOUD_ACCESS
SCHEMAS=SCOTT
$> expdp parfile=expdp.par
…
Master table "ADMIN"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for ADMIN.SYS_EXPORT_SCHEMA_01 is:
https://swiftobjectstorage.eu-frankfurt-1.oraclecloud.com/v1/cre01gulanmy/datapump-
dumps/test_01.dmp
Job "ADMIN"."SYS_EXPORT_SCHEMA_01" successfully completed at Wed Apr 7 19:14:01 2021
elapsed 0 00:02:10
Parameter DATA_PUMP_DIR is still required for the log file.
Object Storage Integration 4/4
• Data Pump splits the dump file(s) into 10 MiB chunks to increase the upload speed
• Use a Swift compatible tool like curl to download the dump file
• Parameter FILESIZE is supported, but each of the dump files is still split into chunks of 10 MiB
$> curl -O -X GET -u 'christian.gohmann@trivadis.com:[Au_L8F0DRb_}lXmcM-G' 
https://swiftobjectstorage.eu-frankfurt-1.oraclecloud.com/v1/cre01gulanmy/datapump-
dumps/test_01.dmp
Auth token
TRANSFORM Parameter Enhancements
• New transformation INDEX_COMPRESSION_CLAUSE for Data Pump Import
• Allows the control of adding, changing or removing index key compression
• All indexes of the Data Pump are affected
• Supported values:
• NONE (Tablespace default will be used)
• COMPRESS n (Prefix Compression)
• COMPRESS ADVANCED LOW (Advanced Index Compression, ACO required)
• COMPRESS ADVANCED HIGH (Advanced Index Compression, ACO required)
$> impdp ... TRANSFORM = INDEX_COMPRESSION_CLAUSE:"<Clause>"
The transformation TABLE_COMPRESSION_CLAUSE exists since Oracle 12c Release 1 to do the
same on table level.
Miscellaneous
• Support for the native JSON data type
• Tables with JSON data types are automatically excluded when VERSION is set to <= 19
• No warning or error is recorded in the log file
• Query to check if tables with JSON data type columns exist
SQL*Loader was also enhanced in 21c to support the native JSON data type for conventional
and direct path loads.
SQL> CREATE TABLE json_data (
ID NUMBER,
DATA JSON
);
SQL> SELECT DISTINCT owner, table_name FROM dba_tab_cols WHERE data_type = 'JSON';
OWNER TABLE_NAME
---------- --------------------
HR JSON_DATA
Transportable Tablespaces
(TTS)
Parallelize Metadata Operations 1/2
• Before 21c, only one Data Pump worker was supported
• In 21c, all defined Data Pump workers (PARALLEL parameter) are exporting/importing metadata
• Each worker processes one type of metadata at the same time
ORA-39002: invalid operation
ORA-39047: Jobs of type TRANSPORTABLE cannot use multiple execution streams.
20-APR-21 08:28:27.212: W-1 Startup on instance 1 took 1 seconds
20-APR-21 08:28:29.079: W-2 Startup on instance 1 took 1 seconds
...
20-APR-21 08:29:02.686: W-1 Processing object type TRANSPORTABLE_EXPORT/TABLE
20-APR-21 08:29:04.601: W-2 Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
20-APR-21 08:29:04.671: W-2 Completed 50 CONSTRAINT objects in 0 seconds
20-APR-21 08:29:11.621: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCACT_INSTANCE
20-APR-21 08:29:11.650: W-2 Completed 15 PROCACT_INSTANCE objects in 0 seconds
20-APR-21 08:29:12.304: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCDEPOBJ
20-APR-21 08:29:12.334: W-2 Completed 10 PROCDEPOBJ objects in 0 seconds
20-APR-21 08:29:47.203: W-1 Completed 57 TABLE objects in 0 seconds
Parallelize Metadata Operations 2/2
• Before 21c, only one Data Pump worker was supported
• In 21c, all defined Data Pump workers (PARALLEL parameter) are exporting/importing metadata
• Each worker processes one type of metadata at the same time
ORA-39002: invalid operation
ORA-39047: Jobs of type TRANSPORTABLE cannot use multiple execution streams.
20-APR-21 08:28:27.212: W-1 Startup on instance 1 took 1 seconds
20-APR-21 08:28:29.079: W-2 Startup on instance 1 took 1 seconds
...
20-APR-21 08:29:02.686: W-1 Processing object type TRANSPORTABLE_EXPORT/TABLE
20-APR-21 08:29:04.601: W-2 Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
20-APR-21 08:29:04.671: W-2 Completed 50 CONSTRAINT objects in 0 seconds
20-APR-21 08:29:11.621: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCACT_INSTANCE
20-APR-21 08:29:11.650: W-2 Completed 15 PROCACT_INSTANCE objects in 0 seconds
20-APR-21 08:29:12.304: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCDEPOBJ
20-APR-21 08:29:12.334: W-2 Completed 10 PROCDEPOBJ objects in 0 seconds
20-APR-21 08:29:47.203: W-1 Completed 57 TABLE objects in 0 seconds
Resume Jobs
• Starting with 21c, a failed Transportable Tablespace job can be restarted near the point of the
failure
Further Information
Oracle Database 21c – What’s new
https://docs.oracle.com/en/database/oracle/oracle-database/21/whats-new.html
Oracle Database 21c – Utilities
https://docs.oracle.com/en/database/oracle/oracle-database/21/sutil/index.html
My Oracle Support
https://support.oracle.com
Questions and answers..
Christian Gohmann
Principal Consultant
Tel. +49-211-58 6664 702
christian.gohmann@trivadis.com
@CGohmannDE

More Related Content

What's hot

Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceEnkitec
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACSandesh Rao
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsEnkitec
 
Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020 Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020 Oracle
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
 
AutoUpgrade and Best Practices
AutoUpgrade and Best PracticesAutoUpgrade and Best Practices
AutoUpgrade and Best PracticesJitendra Singh
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1Satishbabu Gunukula
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBANikhil Kumar
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsGokhan Atil
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMarkus Michalewicz
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewMarkus Michalewicz
 

What's hot (20)

Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020 Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
AutoUpgrade and Best Practices
AutoUpgrade and Best PracticesAutoUpgrade and Best Practices
AutoUpgrade and Best Practices
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBA
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAs
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 

Similar to Oracle 21c: New Features and Enhancements of Data Pump & TTS

Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import! Nabil Nawaz
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesAlfredo Abate
 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerAndrejs Karpovs
 
40043 claborn
40043 claborn40043 claborn
40043 clabornBaba Ib
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2Alex Zaballa
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2Alex Zaballa
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon ExportDataPump ile Single Parititon Export
DataPump ile Single Parititon ExportAnar Godjaev
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlLeighton Nelson
 
Take your database source code and data under control
Take your database source code and data under controlTake your database source code and data under control
Take your database source code and data under controlMarcin Przepiórowski
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyKirill Loifman
 
Exam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and AdministrationExam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and AdministrationKylieJonathan
 
SafePeak Configuration Guide
SafePeak Configuration GuideSafePeak Configuration Guide
SafePeak Configuration GuideVladi Vexler
 
SQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDCSQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDCKoenVerbeeck
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradationinfluxbob
 
PaaSTA: Autoscaling at Yelp
PaaSTA: Autoscaling at YelpPaaSTA: Autoscaling at Yelp
PaaSTA: Autoscaling at YelpNathan Handler
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACSecure-24
 
(ATS6-PLAT07) Managing AEP in an enterprise environment
(ATS6-PLAT07) Managing AEP in an enterprise environment(ATS6-PLAT07) Managing AEP in an enterprise environment
(ATS6-PLAT07) Managing AEP in an enterprise environmentBIOVIA
 
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...NomanKhalid56
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Bobby Curtis
 

Similar to Oracle 21c: New Features and Enhancements of Data Pump & TTS (20)

Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import!
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
 
40043 claborn
40043 claborn40043 claborn
40043 claborn
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon ExportDataPump ile Single Parititon Export
DataPump ile Single Parititon Export
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
 
Take your database source code and data under control
Take your database source code and data under controlTake your database source code and data under control
Take your database source code and data under control
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technology
 
Exam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and AdministrationExam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and Administration
 
SafePeak Configuration Guide
SafePeak Configuration GuideSafePeak Configuration Guide
SafePeak Configuration Guide
 
SQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDCSQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDC
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradation
 
PaaSTA: Autoscaling at Yelp
PaaSTA: Autoscaling at YelpPaaSTA: Autoscaling at Yelp
PaaSTA: Autoscaling at Yelp
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
 
Collaborate2
Collaborate2Collaborate2
Collaborate2
 
(ATS6-PLAT07) Managing AEP in an enterprise environment
(ATS6-PLAT07) Managing AEP in an enterprise environment(ATS6-PLAT07) Managing AEP in an enterprise environment
(ATS6-PLAT07) Managing AEP in an enterprise environment
 
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15
 

Recently uploaded

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Oracle 21c: New Features and Enhancements of Data Pump & TTS

  • 1. www.christian-gohmann.de @CHGohmannDE Oracle 21c New Features and Enhancements of Data Pump & TTS Christian Gohmann AIOUG Webinar Series 21. April 2021
  • 2. Christian Gohmann • Principal Consultant at Trivadis Germany GmbH, Düsseldorf • Instructor since 2014 • O-AI (Oracle Architecture and Internals) • O-AI-DBA (Oracle Architecture and Internals for DBAs) • Tool Owner of TVD-Backup • Experiences with Oracle since 2006 (8i – 21c) • Architecture, Installation & Configuration • High Availability Solutions (RAC, Data Guard, GoldenGate) • Migration Projects • Backup & Recovery (RMAN, Data Pump) • Cloud (Amazon, Oracle) • Oracle ACE Associate @CHGohmannDE www.christian-gohmann.de
  • 3.
  • 4. Agenda 1. Introduction 2. Data Pump 3. Transportable Tablespaces (TTS)
  • 6. Oracle 21c • Available since 8th of December 2020 as Cloud-first release • Autonomous Database Service (including Always Free Tier (not in all regions)) • Database Service • Virtual Machine (RAC, Single Instance) • Bare Metal (Single Instance) • Innovation release with Premier Support until 30. June 2023 (no Extended Support) • See MOS note Release Schedule of Current Database Releases (Doc ID 742060.1) • Oracle 21c Live Labs Workshops • Link: https://apexapps.oracle.com/pls/apex/f?p=133:100:109140367598541::::SEARCH:21c • No fix release date for the on-premises version • Linux and Windows releases are planned for the 1st half-year 2021 • Other platforms will be released later Use your 30-days Oracle Cloud free trial to get hands on experiences with Oracle 21c (RAC).
  • 7. Always-free Autonomous Database 1/2 • Oracle 21c is available in the regions Ashburn (IAD), Phoenix (PHX), Frankfurt (FRA) and London (LHR) • Can only be created in the home region of the user • Navigate to Oracle Database > Autonomous Databases • Direct link: https://cloud.oracle.com/db/adb • Current workload types supported for always-free
  • 10. Simultanenous use of EXCLUDE and INCLUDE • Before 21c, the parameters EXCLUDE and INCLUDE were mutually exclusive • This restriction is lifted with 21c • When both parameters are used, the INCLUDE parameter is evaluated first UDE-00011: parameter include is incompatible with parameter exclude $> vi expdp_tables.par ... SCHEMAS=HR,SH INCLUDE=TABLE EXCLUDE=TABLE:"IN ('COSTS', 'SALES')" $> vi impdp_tables.par ... SCHEMAS=HR INCLUDE=TABLE EXCLUDE=TABLE:"IN ('JOB_HISTORY')" EXCLUDE=INDEX,STATISTICS
  • 11. Checksum Support 1/3 • Oracle 21c supports the generation of checksums for the dump files using CHECKSUM parameter • Can be used to confirm validity after transfer (to/from object storage, on-premises copy) • Data Pump writes control information into the header block of each dump file • Extended by checksums for the remaining blocks • Use CHECKSUM_ALGORITHM to choose checksum algorithm • CRC32 • SHA256 (default) • SHA384 • SHA512 Generating checksums for dump file set No new item codes in DBMS_DATAPUMP.GET_DUMPFILE_INFO for the checksum support.
  • 12. Checksum Support 2/3 • Verify a dump file using impdp and VERIFY_ONLY parameter • ORA-39411 is raised when an invalid checksum is detected $> impdp ... VERIFY_ONLY=YES … Verifying dump file checksums Master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded dump file set is complete verified checksum for dump file "/backup/dumps/expdp_hr_sh.dmp" dump file set is consistent Job "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully completed at Sun Apr 18 16:20:58 2021 elapsed 0 00:00:03 ORA-39001: invalid argument value ORA-39000: bad dump file specification ORA-39411: header checksum error in dump file "/backup/dumps/expdp_hr_sh.dmp"
  • 13. Checksum Support 3/3 • Use parameter VERIFY_CHECKSUM during import to validate the dump files as first step • If turned off, a warning is written to the screen/log $> impdp ... VERIFY_CHECKSUM=YES … Verifying dump file checksums Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/********@C21SFE1PDB1 parfile=impdp_21c_demo_checksum.par Processing object type TABLE_EXPORT/TABLE/TABLE Warning: dump file checksum verification is disabled No warning/error is raised, when the dump file does not include checksums.
  • 14. Object Storage Integration 1/4 • Data Pump can access the Object Store during export and import operations • Parameter DUMPFILE now supports a Uniform Resource Identifier (URI) • Credential for the target bucket is provided by the parameter CREDENTIAL • Use the PL/SQL package DBMS_CLOUD to create the required credential • MOS note How To Setup And Use DBMS_CLOUD Package (Doc ID 2748362.1) • Currently only working in Autonomous Database (even with 19c) Only the CDB architecture is supported by DBMS_CLOUD. DBMS_CLOUD is pre-installed, configured and maintained in Oracle Autonomous Database Manual installation steps The following steps are required to manually install and enable DBMS_CLOUD for Oracle Database 19c beginning with 19.9 and higher. Currently, Oracle Database 21c is not supported. DUMPFILE=https://objectstorage.<Region>.oraclecloud.com/n/<Namespace>/b/<Bucket>/o/mydump_%u.dmp
  • 15. Object Storage Integration 2/4 • Create credential and test access to the target bucket SQL> BEGIN DBMS_CLOUD.CREATE_CREDENTIAL( credential_name => 'CLOUD_ACCESS', username => 'christian.gohmann@trivadis.com', password => '[Au_L8F0DRb_}lXmcM-G' ); END; / SQL> SELECT COUNT(*) AS "OBJECT_COUNT" FROM DBMS_CLOUD.LIST_OBJECTS('CLOUD_ACCESS','https://objectstorage.eu- frankfurt-1.oraclecloud.com/n/kwq12gukapmy/b/datapump-dumps/o/'); OBJECT_COUNT ------------ 1 Error ORA-20404 is raised, when the URI is invalid or the user is not authorized to access the bucket. Auth token
  • 16. Object Storage Integration 3/4 • Perform export/import using command-line tools $> vi expdp.par USERID=system/manager DIRECTORY=DATA_PUMP_DIR DUMPFILE=https://objectstorage.eu-frankfurt-1.oraclecloud.com/n/cre01gulanmy/b/datapump- dumps/o/test_%U.dmp CREDENTIAL=CLOUD_ACCESS SCHEMAS=SCOTT $> expdp parfile=expdp.par … Master table "ADMIN"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded ****************************************************************************** Dump file set for ADMIN.SYS_EXPORT_SCHEMA_01 is: https://swiftobjectstorage.eu-frankfurt-1.oraclecloud.com/v1/cre01gulanmy/datapump- dumps/test_01.dmp Job "ADMIN"."SYS_EXPORT_SCHEMA_01" successfully completed at Wed Apr 7 19:14:01 2021 elapsed 0 00:02:10 Parameter DATA_PUMP_DIR is still required for the log file.
  • 17. Object Storage Integration 4/4 • Data Pump splits the dump file(s) into 10 MiB chunks to increase the upload speed • Use a Swift compatible tool like curl to download the dump file • Parameter FILESIZE is supported, but each of the dump files is still split into chunks of 10 MiB $> curl -O -X GET -u 'christian.gohmann@trivadis.com:[Au_L8F0DRb_}lXmcM-G' https://swiftobjectstorage.eu-frankfurt-1.oraclecloud.com/v1/cre01gulanmy/datapump- dumps/test_01.dmp Auth token
  • 18. TRANSFORM Parameter Enhancements • New transformation INDEX_COMPRESSION_CLAUSE for Data Pump Import • Allows the control of adding, changing or removing index key compression • All indexes of the Data Pump are affected • Supported values: • NONE (Tablespace default will be used) • COMPRESS n (Prefix Compression) • COMPRESS ADVANCED LOW (Advanced Index Compression, ACO required) • COMPRESS ADVANCED HIGH (Advanced Index Compression, ACO required) $> impdp ... TRANSFORM = INDEX_COMPRESSION_CLAUSE:"<Clause>" The transformation TABLE_COMPRESSION_CLAUSE exists since Oracle 12c Release 1 to do the same on table level.
  • 19. Miscellaneous • Support for the native JSON data type • Tables with JSON data types are automatically excluded when VERSION is set to <= 19 • No warning or error is recorded in the log file • Query to check if tables with JSON data type columns exist SQL*Loader was also enhanced in 21c to support the native JSON data type for conventional and direct path loads. SQL> CREATE TABLE json_data ( ID NUMBER, DATA JSON ); SQL> SELECT DISTINCT owner, table_name FROM dba_tab_cols WHERE data_type = 'JSON'; OWNER TABLE_NAME ---------- -------------------- HR JSON_DATA
  • 21. Parallelize Metadata Operations 1/2 • Before 21c, only one Data Pump worker was supported • In 21c, all defined Data Pump workers (PARALLEL parameter) are exporting/importing metadata • Each worker processes one type of metadata at the same time ORA-39002: invalid operation ORA-39047: Jobs of type TRANSPORTABLE cannot use multiple execution streams. 20-APR-21 08:28:27.212: W-1 Startup on instance 1 took 1 seconds 20-APR-21 08:28:29.079: W-2 Startup on instance 1 took 1 seconds ... 20-APR-21 08:29:02.686: W-1 Processing object type TRANSPORTABLE_EXPORT/TABLE 20-APR-21 08:29:04.601: W-2 Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT 20-APR-21 08:29:04.671: W-2 Completed 50 CONSTRAINT objects in 0 seconds 20-APR-21 08:29:11.621: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCACT_INSTANCE 20-APR-21 08:29:11.650: W-2 Completed 15 PROCACT_INSTANCE objects in 0 seconds 20-APR-21 08:29:12.304: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCDEPOBJ 20-APR-21 08:29:12.334: W-2 Completed 10 PROCDEPOBJ objects in 0 seconds 20-APR-21 08:29:47.203: W-1 Completed 57 TABLE objects in 0 seconds
  • 22. Parallelize Metadata Operations 2/2 • Before 21c, only one Data Pump worker was supported • In 21c, all defined Data Pump workers (PARALLEL parameter) are exporting/importing metadata • Each worker processes one type of metadata at the same time ORA-39002: invalid operation ORA-39047: Jobs of type TRANSPORTABLE cannot use multiple execution streams. 20-APR-21 08:28:27.212: W-1 Startup on instance 1 took 1 seconds 20-APR-21 08:28:29.079: W-2 Startup on instance 1 took 1 seconds ... 20-APR-21 08:29:02.686: W-1 Processing object type TRANSPORTABLE_EXPORT/TABLE 20-APR-21 08:29:04.601: W-2 Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT 20-APR-21 08:29:04.671: W-2 Completed 50 CONSTRAINT objects in 0 seconds 20-APR-21 08:29:11.621: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCACT_INSTANCE 20-APR-21 08:29:11.650: W-2 Completed 15 PROCACT_INSTANCE objects in 0 seconds 20-APR-21 08:29:12.304: W-2 Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCDEPOBJ 20-APR-21 08:29:12.334: W-2 Completed 10 PROCDEPOBJ objects in 0 seconds 20-APR-21 08:29:47.203: W-1 Completed 57 TABLE objects in 0 seconds
  • 23. Resume Jobs • Starting with 21c, a failed Transportable Tablespace job can be restarted near the point of the failure
  • 24. Further Information Oracle Database 21c – What’s new https://docs.oracle.com/en/database/oracle/oracle-database/21/whats-new.html Oracle Database 21c – Utilities https://docs.oracle.com/en/database/oracle/oracle-database/21/sutil/index.html My Oracle Support https://support.oracle.com
  • 25. Questions and answers.. Christian Gohmann Principal Consultant Tel. +49-211-58 6664 702 christian.gohmann@trivadis.com @CGohmannDE