SlideShare a Scribd company logo
Oracle Data Pump Enhancements in Oracle 21c
Satishbabu Gunukula, Oracle ACE
• 20+ Years of Experience in Database Technologies and specialized in
high availability solutions.
• Masters Degree in Computer Applications
• Written articles for major publications
• Oracle Certified Professional Oracle 8i,9i,10g,
• Oracle Certified Expert Oracle 10g RAC
• SAP HANA Certified Associate
• AWS Certified Solutions Architect – Associate
http://www.oracleracexpert.com
Program Agenda
• Overview of Oracle Datapump
• Oracle Data Pump 21c New Features
 CHECKSUM, CHECKSUM_ALGORITHM
 VERIFY_ONLY and VERIFY_CHECKSUM
 INCLUDE and EXCLUDE in the Same Operation
 Index Compression
 Transportable Tablespace Enhancements
 JSON Data Type Support
 Export/Import from Cloud Object Store
• Demo
• Q& A
Overview of Oracle Datapump
• Oracle Data pump helps to move data and metadata from one database to
another database.
• Oracle Data pump has 3 components
– Command-Line clients expdp and impdp
– Package DBMS_DATA PUMP
– Package DBMS_METADAT
• Oracle The Roles DATAPUMP_EXP_FULL_DATABASE and
DATAPUMP_IMP_FULL_DATABASE are required for export/import operations
• Data pump jobs are monitored by using DBA_DATAPUMP_JOBS,
USER_DATAPUMP_JOBS or DBA_DATAPUMP_SESSIONS views
• To monitor Progress of the jobs query V$SESSION_LONGOPS dynamic
performance view
• The UTL_FILE_DIR de-supported in Oracle 18c and later releases
Oracle Data pump new features in 21c
Oracle release 21c has many new features and functionalities in below areas
 CHECKSUM and CHECKSUM_ALGORITHM
 VERIFY_ONLY and VERIFY_CHECKSUM
 INCLUDE and EXCLUDE in the Same Operation
 Index Compression
 Transportable Tablespace Enhancements
 JSON Data Type Support
 Export/Import from Cloud Object Store
CHECKSUM and CHECKSUM_ALGORITHM
• These parameters enables the export to perform checksum validation for
each of the dump files, you can enable using CHECKSUM_ALGORITHM or
CHECKSUM.
• In order to use these parameters the COMPATIBLE parameter must be set to
21.0 or higher
• The CHECKSUM_ALGORITHM parameter has SHA265 as default, you can set
other parameters CRC32, SHA348, SHA512
• User will encounter ORA-39411 error when there is an invalid checksum
$ expdp '/ AS SYSDBA' dumpfile=test.dmp schemas=testuser
DIRECTORY=test_dir LOGFILE=test.log CHECKSUM=YES
checksum_algorithm=SHA256
VERIFY_ONLY and VERIFY_CHECKSUM
• The VERIFY_ONLY , VERIFY_CHECKSUM parameter uses the checksum to
validate dump files during the import. The VERIFY_CHECKSUM and
VERIFY_ONLY parameters are mutually exclusive
• If the parameter verification fails, then import will not run
• In following examples, we have used VERIFY_CHECKSUM and VERIFY_ONLY
$ impdp '/ AS SYSDBA' dumpfile=test.dmp DIRECTORY=test_dir LOGFILE=test.log
verify_checksum=yes
$ impdp '/ AS SYSDBA' dumpfile=test.dmp DIRECTORY=test_dir LOGFILE=test.log
verify_only=yes
INCLUDE and EXCLUDE
• From Oracle 21c, the Include and exclude objects can be used within the
same export or import job
• In following example, we have used both INCLUDE and EXCLUDE in one
command to include table but exclude statistics
$ expdp '/ AS SYSDBA' dumpfile=test.dmp schemas=testuser
DIRECTORY=test_dir LOGFILE=test.log include=table exclude=statistics
Index Compression
• We can compress indexes while importing using the
INDEX_COMPRESSION_CLAUSE and the TRANSFORM parameter
• In following example, we have used TABLE_COMPRESSION_CLAUSE and
INDEX_COMPRESSION_CLAUSE in the TRANSFORM parameter
$ impdp '/ AS SYSDBA' dumpfile=test.dmp FULL=Y DIRECTORY=test_dir
TRANSFORM=TABLE_COMPRESSION_CLAUSE:"COMPRESS BASIC"
TRANSFORM=INDEX_COMPRESSION_CLAUSE:"COMPRESS ADVANCED LOW"
EXCLUDE=CONSTRAINT
Transportable Tablespace Enhancements
• Before Oracle 21c any failure user cannot be able to resume transportable
tablespace jobs , but now Oracle Data Pump Resumes Transportable
Tablespace Jobs and also Parallelizes Metadata Operations using PARALLEL
parameter
• In following example, we have used TRANSPORT_TABLESPACES with
PARALLEL parameter
$ expdp '/ AS SYSDBA' dumpfile=test.dmp TRANSPORT_TABLESPACES=testusr
DIRECTORY=test_dir TRANSPORT_FULL_CHECK=YES LOGFILE=test.log
REUSE_DUMPFILES=YES PARALLEL=2
JSON Data Type Support
• Oracle Data Pump enables export and import of Oracle Database native JSON
objects, We can also export and import of tables containing the JSON
Datatype in full, tablespaces and table modes using Transportable Tablespace
• In following example, the table1 contains a column defined as new JSON data
type
expdp '/ AS SYSDBA' dumpfile=test.dmp logfile=test.log tables=table1
DIRECTORY=test_dir
Export/Import from Cloud Object Store
• Oracle Data Pump can be used with Object Store export and import operation
and the DUMPFILE parameter supports uniform resource identified for Object
store.
For Ex: - DUMPFILE=
https://testobjectstore.<region>/n/<namespace>/<bucket>/test.dmp
• In following example, importing the data from Object store
impdp ctestuser@ctestdb
dumpfile=https://testobjectstore.<region>/n/<namespace>/<bucket>/test.dmp
logfile=test.log
Summary
Each Oracle Data pump has many new features to meet business
requirements and use Data pump to its fullest advantage.
Questions & Answers

More Related Content

Similar to Oracle Data Pump Enhancements in Oracle 21c.pptx (20)

PPT
Store programs
Hitesh Kumar Markam
 
PPTX
Stored procedures
Prof.Nilesh Magar
 
PDF
ebs-performance-tuning-part-1-470542.pdf
ElboulmaniMohamed
 
PPTX
Dan Hotka's Top 10 Oracle 12c New Features
Embarcadero Technologies
 
PPTX
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Ronald Francisco Vargas Quesada
 
PPT
Data migration
Vatsala Chauhan
 
PPTX
Exciting Features for SQL Devs in SQL 2012
Brij Mishra
 
PPTX
Sql and PL/SQL Best Practices I
Carlos Oliveira
 
PPT
All Change
Jason Arneil
 
PDF
Oracle SQL Tuning
Alex Zaballa
 
PPTX
Session 4/5 working with salesforce data including LDS
Hamza942706
 
PDF
Q4.11: Getting Started in LAVA
Linaro
 
PPTX
Day 6.pptx
atreesgalaxy
 
PPTX
Explain the explain_plan
Maria Colgan
 
PDF
Oracle EBS Release 12: Tips for Patching
Scott Jenner
 
PPTX
OOW13 Exadata and ODI with Parallel
Kellyn Pot'Vin-Gorman
 
PPTX
Dan Hotka’s PL SQL Tips and Techniques, Part II
Embarcadero Technologies
 
PPTX
PL/SQL Tips and Techniques Webinar Presentation
Embarcadero Technologies
 
PPT
Less17 Util
vivaankumar
 
PDF
PBDL.pdf
souzatg
 
Store programs
Hitesh Kumar Markam
 
Stored procedures
Prof.Nilesh Magar
 
ebs-performance-tuning-part-1-470542.pdf
ElboulmaniMohamed
 
Dan Hotka's Top 10 Oracle 12c New Features
Embarcadero Technologies
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Ronald Francisco Vargas Quesada
 
Data migration
Vatsala Chauhan
 
Exciting Features for SQL Devs in SQL 2012
Brij Mishra
 
Sql and PL/SQL Best Practices I
Carlos Oliveira
 
All Change
Jason Arneil
 
Oracle SQL Tuning
Alex Zaballa
 
Session 4/5 working with salesforce data including LDS
Hamza942706
 
Q4.11: Getting Started in LAVA
Linaro
 
Day 6.pptx
atreesgalaxy
 
Explain the explain_plan
Maria Colgan
 
Oracle EBS Release 12: Tips for Patching
Scott Jenner
 
OOW13 Exadata and ODI with Parallel
Kellyn Pot'Vin-Gorman
 
Dan Hotka’s PL SQL Tips and Techniques, Part II
Embarcadero Technologies
 
PL/SQL Tips and Techniques Webinar Presentation
Embarcadero Technologies
 
Less17 Util
vivaankumar
 
PBDL.pdf
souzatg
 

More from Satishbabu Gunukula (16)

PPTX
Oracle Database 23c Security New Features.pptx
Satishbabu Gunukula
 
PPTX
Cloning an Oracle Home or Oracle Install.pptx
Satishbabu Gunukula
 
PPTX
What’s New in Oracle Database 19c - Part 1
Satishbabu Gunukula
 
PPTX
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
Satishbabu Gunukula
 
PPTX
Why oracle data guard new features in oracle 18c, 19c
Satishbabu Gunukula
 
PPTX
One database solution for your enterprise business - Oracle 12c
Satishbabu Gunukula
 
PPTX
What’s new in oracle 12c recovery manager (rman)
Satishbabu Gunukula
 
PPTX
Why virtual private catalog?
Satishbabu Gunukula
 
PPTX
Install oracle binaris or clonse oracle home
Satishbabu Gunukula
 
PPTX
Oracle golden gate 12c New Features
Satishbabu Gunukula
 
PDF
Sql server mission_critical_performance_tdm_white_paper
Satishbabu Gunukula
 
PDF
Time for Change: Migrate your Non-RAC Database to RAC
Satishbabu Gunukula
 
PPTX
Convert single instance to RAC
Satishbabu Gunukula
 
PDF
Ioug tip book11_gunukula
Satishbabu Gunukula
 
PPTX
Data Guard Architecture & Setup
Satishbabu Gunukula
 
PPTX
Understand oracle real application cluster
Satishbabu Gunukula
 
Oracle Database 23c Security New Features.pptx
Satishbabu Gunukula
 
Cloning an Oracle Home or Oracle Install.pptx
Satishbabu Gunukula
 
What’s New in Oracle Database 19c - Part 1
Satishbabu Gunukula
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
Satishbabu Gunukula
 
Why oracle data guard new features in oracle 18c, 19c
Satishbabu Gunukula
 
One database solution for your enterprise business - Oracle 12c
Satishbabu Gunukula
 
What’s new in oracle 12c recovery manager (rman)
Satishbabu Gunukula
 
Why virtual private catalog?
Satishbabu Gunukula
 
Install oracle binaris or clonse oracle home
Satishbabu Gunukula
 
Oracle golden gate 12c New Features
Satishbabu Gunukula
 
Sql server mission_critical_performance_tdm_white_paper
Satishbabu Gunukula
 
Time for Change: Migrate your Non-RAC Database to RAC
Satishbabu Gunukula
 
Convert single instance to RAC
Satishbabu Gunukula
 
Ioug tip book11_gunukula
Satishbabu Gunukula
 
Data Guard Architecture & Setup
Satishbabu Gunukula
 
Understand oracle real application cluster
Satishbabu Gunukula
 
Ad

Recently uploaded (20)

PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
The Future of Artificial Intelligence (AI)
Mukul
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Ad

Oracle Data Pump Enhancements in Oracle 21c.pptx

  • 1. Oracle Data Pump Enhancements in Oracle 21c Satishbabu Gunukula, Oracle ACE • 20+ Years of Experience in Database Technologies and specialized in high availability solutions. • Masters Degree in Computer Applications • Written articles for major publications • Oracle Certified Professional Oracle 8i,9i,10g, • Oracle Certified Expert Oracle 10g RAC • SAP HANA Certified Associate • AWS Certified Solutions Architect – Associate http://www.oracleracexpert.com
  • 2. Program Agenda • Overview of Oracle Datapump • Oracle Data Pump 21c New Features  CHECKSUM, CHECKSUM_ALGORITHM  VERIFY_ONLY and VERIFY_CHECKSUM  INCLUDE and EXCLUDE in the Same Operation  Index Compression  Transportable Tablespace Enhancements  JSON Data Type Support  Export/Import from Cloud Object Store • Demo • Q& A
  • 3. Overview of Oracle Datapump • Oracle Data pump helps to move data and metadata from one database to another database. • Oracle Data pump has 3 components – Command-Line clients expdp and impdp – Package DBMS_DATA PUMP – Package DBMS_METADAT • Oracle The Roles DATAPUMP_EXP_FULL_DATABASE and DATAPUMP_IMP_FULL_DATABASE are required for export/import operations • Data pump jobs are monitored by using DBA_DATAPUMP_JOBS, USER_DATAPUMP_JOBS or DBA_DATAPUMP_SESSIONS views • To monitor Progress of the jobs query V$SESSION_LONGOPS dynamic performance view • The UTL_FILE_DIR de-supported in Oracle 18c and later releases
  • 4. Oracle Data pump new features in 21c Oracle release 21c has many new features and functionalities in below areas  CHECKSUM and CHECKSUM_ALGORITHM  VERIFY_ONLY and VERIFY_CHECKSUM  INCLUDE and EXCLUDE in the Same Operation  Index Compression  Transportable Tablespace Enhancements  JSON Data Type Support  Export/Import from Cloud Object Store
  • 5. CHECKSUM and CHECKSUM_ALGORITHM • These parameters enables the export to perform checksum validation for each of the dump files, you can enable using CHECKSUM_ALGORITHM or CHECKSUM. • In order to use these parameters the COMPATIBLE parameter must be set to 21.0 or higher • The CHECKSUM_ALGORITHM parameter has SHA265 as default, you can set other parameters CRC32, SHA348, SHA512 • User will encounter ORA-39411 error when there is an invalid checksum $ expdp '/ AS SYSDBA' dumpfile=test.dmp schemas=testuser DIRECTORY=test_dir LOGFILE=test.log CHECKSUM=YES checksum_algorithm=SHA256
  • 6. VERIFY_ONLY and VERIFY_CHECKSUM • The VERIFY_ONLY , VERIFY_CHECKSUM parameter uses the checksum to validate dump files during the import. The VERIFY_CHECKSUM and VERIFY_ONLY parameters are mutually exclusive • If the parameter verification fails, then import will not run • In following examples, we have used VERIFY_CHECKSUM and VERIFY_ONLY $ impdp '/ AS SYSDBA' dumpfile=test.dmp DIRECTORY=test_dir LOGFILE=test.log verify_checksum=yes $ impdp '/ AS SYSDBA' dumpfile=test.dmp DIRECTORY=test_dir LOGFILE=test.log verify_only=yes
  • 7. INCLUDE and EXCLUDE • From Oracle 21c, the Include and exclude objects can be used within the same export or import job • In following example, we have used both INCLUDE and EXCLUDE in one command to include table but exclude statistics $ expdp '/ AS SYSDBA' dumpfile=test.dmp schemas=testuser DIRECTORY=test_dir LOGFILE=test.log include=table exclude=statistics
  • 8. Index Compression • We can compress indexes while importing using the INDEX_COMPRESSION_CLAUSE and the TRANSFORM parameter • In following example, we have used TABLE_COMPRESSION_CLAUSE and INDEX_COMPRESSION_CLAUSE in the TRANSFORM parameter $ impdp '/ AS SYSDBA' dumpfile=test.dmp FULL=Y DIRECTORY=test_dir TRANSFORM=TABLE_COMPRESSION_CLAUSE:"COMPRESS BASIC" TRANSFORM=INDEX_COMPRESSION_CLAUSE:"COMPRESS ADVANCED LOW" EXCLUDE=CONSTRAINT
  • 9. Transportable Tablespace Enhancements • Before Oracle 21c any failure user cannot be able to resume transportable tablespace jobs , but now Oracle Data Pump Resumes Transportable Tablespace Jobs and also Parallelizes Metadata Operations using PARALLEL parameter • In following example, we have used TRANSPORT_TABLESPACES with PARALLEL parameter $ expdp '/ AS SYSDBA' dumpfile=test.dmp TRANSPORT_TABLESPACES=testusr DIRECTORY=test_dir TRANSPORT_FULL_CHECK=YES LOGFILE=test.log REUSE_DUMPFILES=YES PARALLEL=2
  • 10. JSON Data Type Support • Oracle Data Pump enables export and import of Oracle Database native JSON objects, We can also export and import of tables containing the JSON Datatype in full, tablespaces and table modes using Transportable Tablespace • In following example, the table1 contains a column defined as new JSON data type expdp '/ AS SYSDBA' dumpfile=test.dmp logfile=test.log tables=table1 DIRECTORY=test_dir
  • 11. Export/Import from Cloud Object Store • Oracle Data Pump can be used with Object Store export and import operation and the DUMPFILE parameter supports uniform resource identified for Object store. For Ex: - DUMPFILE= https://testobjectstore.<region>/n/<namespace>/<bucket>/test.dmp • In following example, importing the data from Object store impdp ctestuser@ctestdb dumpfile=https://testobjectstore.<region>/n/<namespace>/<bucket>/test.dmp logfile=test.log
  • 12. Summary Each Oracle Data pump has many new features to meet business requirements and use Data pump to its fullest advantage.

Editor's Notes