SlideShare a Scribd company logo
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
Oracle 21c: New Features and Enhancements of Data Pump & TTS
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

Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
Oracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best PracticesOracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best Practices
Markus Michalewicz
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
Simon Huang
 
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
Markus Michalewicz
 
Top 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tipsTop 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tips
Nirav Shah
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
Anil Nair
 
Oracle SQL Basics
Oracle SQL BasicsOracle SQL Basics
Oracle SQL Basics
Dhananjay Goel
 
PostgreSQL
PostgreSQLPostgreSQL
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
Christian Gohmann
 
Understanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginnersUnderstanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginners
Carlos Sierra
 
Why Use an Oracle Database?
Why Use an Oracle Database?Why Use an Oracle Database?
Why Use an Oracle Database?
Markus Michalewicz
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
Hitesh Kumar Markam
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
Deepak Shetty
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
Jitendra Singh
 
Part1 of SQL Tuning Workshop - Understanding the Optimizer
Part1 of SQL Tuning Workshop - Understanding the OptimizerPart1 of SQL Tuning Workshop - Understanding the Optimizer
Part1 of SQL Tuning Workshop - Understanding the Optimizer
Maria Colgan
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
Kirill Loifman
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
Yudi Herdiana
 
Explain the explain_plan
Explain the explain_planExplain the explain_plan
Explain the explain_plan
Maria Colgan
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
Anil Nair
 

What's hot (20)

Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
 
Oracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best PracticesOracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best Practices
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
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
 
Top 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tipsTop 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tips
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Oracle SQL Basics
Oracle SQL BasicsOracle SQL Basics
Oracle SQL Basics
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
 
Understanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginnersUnderstanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginners
 
Why Use an Oracle Database?
Why Use an Oracle Database?Why Use an Oracle Database?
Why Use an Oracle Database?
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Part1 of SQL Tuning Workshop - Understanding the Optimizer
Part1 of SQL Tuning Workshop - Understanding the OptimizerPart1 of SQL Tuning Workshop - Understanding the Optimizer
Part1 of SQL Tuning Workshop - Understanding the Optimizer
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
Explain the explain_plan
Explain the explain_planExplain the explain_plan
Explain the explain_plan
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
 

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_Features
Alfredo 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 Administer
Andrejs Karpovs
 
40043 claborn
40043 claborn40043 claborn
40043 claborn
Baba 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 2
Alex 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 2
Alex Zaballa
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon ExportDataPump ile Single Parititon Export
DataPump ile Single Parititon Export
Anar 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 Control
Leighton 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 control
Marcin 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 technology
Kirill 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 Administration
KylieJonathan
 
SafePeak Configuration Guide
SafePeak Configuration GuideSafePeak Configuration Guide
SafePeak Configuration Guide
Vladi Vexler
 
SQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDCSQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDC
KoenVerbeeck
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradation
influxbob
 
PaaSTA: Autoscaling at Yelp
PaaSTA: Autoscaling at YelpPaaSTA: Autoscaling at Yelp
PaaSTA: Autoscaling at Yelp
Nathan 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 RAC
Secure-24
 
Collaborate2
Collaborate2Collaborate2
Collaborate2
Kirtish Solanki
 
(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
BIOVIA
 
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 15
Bobby 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

Demystifying Neural Networks And Building Cybersecurity Applications
Demystifying Neural Networks And Building Cybersecurity ApplicationsDemystifying Neural Networks And Building Cybersecurity Applications
Demystifying Neural Networks And Building Cybersecurity Applications
Priyanka Aash
 
FIDO Munich Seminar Introduction to FIDO.pptx
FIDO Munich Seminar Introduction to FIDO.pptxFIDO Munich Seminar Introduction to FIDO.pptx
FIDO Munich Seminar Introduction to FIDO.pptx
FIDO Alliance
 
The History of Embeddings & Multimodal Embeddings
The History of Embeddings & Multimodal EmbeddingsThe History of Embeddings & Multimodal Embeddings
The History of Embeddings & Multimodal Embeddings
Zilliz
 
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partesExchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
jorgelebrato
 
The Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdfThe Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdf
Sara Kroft
 
What's New in Teams Calling, Meetings, Devices June 2024
What's New in Teams Calling, Meetings, Devices June 2024What's New in Teams Calling, Meetings, Devices June 2024
What's New in Teams Calling, Meetings, Devices June 2024
Stephanie Beckett
 
Generative AI Reasoning Tech Talk - July 2024
Generative AI Reasoning Tech Talk - July 2024Generative AI Reasoning Tech Talk - July 2024
Generative AI Reasoning Tech Talk - July 2024
siddu769252
 
Zaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdfZaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdf
AmandaCheung15
 
Top 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdfTop 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdf
Marrie Morris
 
UiPath Community Day Amsterdam: Code, Collaborate, Connect
UiPath Community Day Amsterdam: Code, Collaborate, ConnectUiPath Community Day Amsterdam: Code, Collaborate, Connect
UiPath Community Day Amsterdam: Code, Collaborate, Connect
UiPathCommunity
 
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptxFIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Alliance
 
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise ExcellenceCracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Quentin Reul
 
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and ConsiderationsChoosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
webbyacad software
 
Perth MuleSoft Meetup July 2024
Perth MuleSoft Meetup July 2024Perth MuleSoft Meetup July 2024
Perth MuleSoft Meetup July 2024
Michael Price
 
Self-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - HealeniumSelf-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Keynote : Presentation on SASE Technology
Keynote : Presentation on SASE TechnologyKeynote : Presentation on SASE Technology
Keynote : Presentation on SASE Technology
Priyanka Aash
 
TrustArc Webinar - Innovating with TRUSTe Responsible AI Certification
TrustArc Webinar - Innovating with TRUSTe Responsible AI CertificationTrustArc Webinar - Innovating with TRUSTe Responsible AI Certification
TrustArc Webinar - Innovating with TRUSTe Responsible AI Certification
TrustArc
 
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Zilliz
 
FIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptx
FIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptxFIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptx
FIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptx
FIDO Alliance
 
Discovery Series - Zero to Hero - Task Mining Session 1
Discovery Series - Zero to Hero - Task Mining Session 1Discovery Series - Zero to Hero - Task Mining Session 1
Discovery Series - Zero to Hero - Task Mining Session 1
DianaGray10
 

Recently uploaded (20)

Demystifying Neural Networks And Building Cybersecurity Applications
Demystifying Neural Networks And Building Cybersecurity ApplicationsDemystifying Neural Networks And Building Cybersecurity Applications
Demystifying Neural Networks And Building Cybersecurity Applications
 
FIDO Munich Seminar Introduction to FIDO.pptx
FIDO Munich Seminar Introduction to FIDO.pptxFIDO Munich Seminar Introduction to FIDO.pptx
FIDO Munich Seminar Introduction to FIDO.pptx
 
The History of Embeddings & Multimodal Embeddings
The History of Embeddings & Multimodal EmbeddingsThe History of Embeddings & Multimodal Embeddings
The History of Embeddings & Multimodal Embeddings
 
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partesExchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
 
The Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdfThe Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdf
 
What's New in Teams Calling, Meetings, Devices June 2024
What's New in Teams Calling, Meetings, Devices June 2024What's New in Teams Calling, Meetings, Devices June 2024
What's New in Teams Calling, Meetings, Devices June 2024
 
Generative AI Reasoning Tech Talk - July 2024
Generative AI Reasoning Tech Talk - July 2024Generative AI Reasoning Tech Talk - July 2024
Generative AI Reasoning Tech Talk - July 2024
 
Zaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdfZaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdf
 
Top 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdfTop 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdf
 
UiPath Community Day Amsterdam: Code, Collaborate, Connect
UiPath Community Day Amsterdam: Code, Collaborate, ConnectUiPath Community Day Amsterdam: Code, Collaborate, Connect
UiPath Community Day Amsterdam: Code, Collaborate, Connect
 
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptxFIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
 
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise ExcellenceCracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
 
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and ConsiderationsChoosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
 
Perth MuleSoft Meetup July 2024
Perth MuleSoft Meetup July 2024Perth MuleSoft Meetup July 2024
Perth MuleSoft Meetup July 2024
 
Self-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - HealeniumSelf-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - Healenium
 
Keynote : Presentation on SASE Technology
Keynote : Presentation on SASE TechnologyKeynote : Presentation on SASE Technology
Keynote : Presentation on SASE Technology
 
TrustArc Webinar - Innovating with TRUSTe Responsible AI Certification
TrustArc Webinar - Innovating with TRUSTe Responsible AI CertificationTrustArc Webinar - Innovating with TRUSTe Responsible AI Certification
TrustArc Webinar - Innovating with TRUSTe Responsible AI Certification
 
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
 
FIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptx
FIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptxFIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptx
FIDO Munich Seminar: Biometrics and Passkeys for In-Vehicle Apps.pptx
 
Discovery Series - Zero to Hero - Task Mining Session 1
Discovery Series - Zero to Hero - Task Mining Session 1Discovery Series - Zero to Hero - Task Mining Session 1
Discovery Series - Zero to Hero - Task Mining Session 1
 

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
  • 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