SlideShare uma empresa Scribd logo
1 de 19
1
Data Pump Overview
2
What is Data Pump?
 A replacement of the traditional export/import utilities?
 The evolution of the traditional export/import utilities?
 A completely new 10g utility serving a similar yet
slightly different purpose?
3
Other Options for Moving Data
 Traditional Export and Import
Pros
 Easy to use – most DBAs have years of experience using these
utilities
 Versatile – various options available; can specify what to include
 Platform independent
 Serial output
Cons
 Comparatively slow
 Can be network intensive
 Non-interruptible / resumable
 Limited filtering options (for example, can exclude just VIEWS)
 Limited remapping options (i.e. from one tablespace to another)
4
Other Options for Moving Data
 Transportable Tablespaces
Pros
 Undoubtedly the fastest way to move data
 Can use the traditional exp/imp or Data Pump to move meta-data
 Cross-platform support if the platform byte-order is the same
Cons
 Tablespaces must be made read-only
 Not selective (must move the entire tablespace)
 Flashback is not possible (tablespace is read only when copied)
 No physical reorganization is performed
 Datafile sizes remain constant
 Must use RMAN to convert the datafile if migrating to a platform with
a different byte-order (check V$TRANSPORTABLE_PLATFORM)
5
Other Options Used Less Frequently
 Extraction to a flat file and loading using SQL Loader
 Direct copy using database links (SQL Plus COPY
command)
 Oracle Streams
 3rd
Party data ETL or reorg tools
6
Top 10 Reasons to Love DataPump
10. Similar look and feel to the old exp/imp
9. Can filter on the full range of object types
8. Can re-map datafiles and or tablespaces on import
7. Estimates the export file size (space needed)
6. Parallelizable
5. Significantly faster than the traditional exp/imp
4. PL/SQL Interface – programmable
3. A file is not actually required - can import through a
network link
2. Track in v$session_longops
1. Resumable (interruptible and restartable)
7
Top 10 Reasons Not to Love Data Pump
10. Still generates redo (unlike direct path inserts)
9. Aggregation of exported data is not possible (sort only)
8. Performance on the server
7. Harder to tell what it’s doing at any given time
6. No equivalent to the STATISTICS option
5. Cannot be used with sequential media such as tapes and
pipes (not read/written serially)
4. Only accesses files on the server, never the client
3. Oracle directories are required in the DB to access the files
2. Does not support COMMIT on imp or CONSISTENT on exp
1. If constraints are violated on import, the load is discontinued
8
Operation Fundamentals
 Export/Import
These utilities would basically connect to the Oracle database
via Oracle NET and run queries or DDL/DML
Processing of returned results and I/O operations were done
on the client
 Data Pump
The executables call PL/SQL APIs
Therefore processing is done on the database server
This can be an advantage or a disadvantage depending on the
situation
“Self-Tuning”: no longer need to use BUFFER or RECORDSET
9
Export Operation
Network
Export
File(s)
exp.exe
Oracle
Database
10
Data Pump Export Operation
Network
Export
File(s)
expdp.exe
Oracle
Database
11
Key Differences
 Dump and log files are on the server, not the client
 Must have a DIRECTORY created in the Oracle
database for I/O
Permissions for the userid connecting to the instance, not the
schemas being exported or imported
 Canceling the client process does not stop the job
 Doesn’t automatically overwrite dump file if it already
exists – returns an error instead
 Parameters (command line) are reported in the log file
 Exported objects order based on table size
(descending) instead of alphabetically
12
Multiple Interfaces
1. Command line utilities expdb and impdb
 Similar to the familiar exp and imp in usage
 Use HELP=Y for a list of commands
 Oracle documentation provides a comparison table to exp/imp
1. Enterprise Manager
2. PL/SQL
 Can be used independently but is difficult
 All of these call the DBMS_DATAPUMP API
 Uses Oracle Advanced Queuing
 Uses DBMS_METADATA
13
Unload Mechanisms
 Data Pump automatically chooses to unload data either
using:
Direct path
External Tables (new driver called ORACLE_DATAPUMP)
 Same “External Tables” mechanism that was introduced in
Oracle9i
 When will it use External tables:
When parallelism can be used
When the table contains a complex data type or structure that
prevents direct path unloads
 A lot of tables fall under this situation – see Oracle documentation for a
complete list
 It doesn’t really matter to us which method is used
14
Multiple Processes
 Master Control Process
Spawns worker processes
Populates the master control table and log file
The master control table can be queried to track the job’s
process
At the end of an export, the master control table is written to
the dump file and dropped from the database
 Worker Processes
Performs the loading/unloading
Number of processes depends on the degree of parallelism
(the PARALLEL option)
15
Detaching and Re-Attaching
 Issuing “Ctrl-C” from the data pump import will
detach
Import is running on the server so it will continue
Brings you into “interactive-command” mode
 To re-attach, run impdp with the ATTACH= option
Example: impdp userid=system/oracle attach=JOB_01
Brings you back into “interactive-command” mode
16
New Views
 DBA_DATAPUMP_JOBS and USER_DATABASE_JOBS
Identify all jobs regardless of their state
Identify any master tables not associated with an active job
 DBA_DATAPUMP_SESSIONS
Identify user sessions that are attached to a job
 Data pump sessions populate v$session_longops
Documentation says that it is 100% accurate for imports but
testing proves otherwise!!!
17
Security Considerations
 Still uses the EXP_FULL_DATABASE and
IMP_FULL_DATABASE
 A privileged user will have these two roles
 A privileged user can:
Export/import objects owned by other schemas
Export non-schema objects (metadata)
Attach to, monitor, and control jobs initiated by others
Perform schema, datafile, and tablespace remapping
 Similar to the traditional export/import
 Supports label security
If exporting user has the EXEMPT ACCESS POLICY role
18
Object Statistics
 From Oracle documentation regarding data pump
exports:
“A parameter comparable to STATISTICS is not needed.
Statistics are always saved for tables.”
 From Oracle documentation regarding data pump
imports:
“A parameter comparable to STATISTICS is not needed. If the
source table has statistics, they are imported.”
19
Other Random Points
 Can still use a parameter file and the PARFILE
command line option
 Fully supports Automatic Storage Management (ASM)
 Can still flashback to a specified time or SCN
 Can still extract (or backup) DDL (meta data)
Using the SQLFILE option instead of the traditional
INDEXFILE or SHOW options
 Full support of LOBS

Mais conteúdo relacionado

Mais procurados

What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)Satishbabu Gunukula
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginnersPini Dibask
 
Less01 architecture
Less01 architectureLess01 architecture
Less01 architectureAmit Bhalla
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentationVimlendu Kumar
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMarkus Flechtner
 
Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architectureSimon Huang
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman scriptMaris Elsins
 
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or..."It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or...Markus Michalewicz
 
DB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerDB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerAndrejs Vorobjovs
 
Indexes and Indexing in Oracle 12c
Indexes and Indexing in Oracle 12cIndexes and Indexing in Oracle 12c
Indexes and Indexing in Oracle 12cOren Nakdimon
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningScott Jenner
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the TradeCarlos Sierra
 
Oracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cNabeel Yoosuf
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 

Mais procurados (20)

What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Less01 architecture
Less01 architectureLess01 architecture
Less01 architecture
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
 
Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architecture
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or..."It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
 
DB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerDB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource Manager
 
High Performance PL/SQL
High Performance PL/SQLHigh Performance PL/SQL
High Performance PL/SQL
 
Indexes and Indexing in Oracle 12c
Indexes and Indexing in Oracle 12cIndexes and Indexing in Oracle 12c
Indexes and Indexing in Oracle 12c
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance Tuning
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the Trade
 
Rac 12c optimization
Rac 12c optimizationRac 12c optimization
Rac 12c optimization
 
Oracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12c
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 

Destaque

Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksGuatemala User Group
 
Oracle 11g expdp alib oracle 10g import etmek
Oracle 11g expdp alib oracle 10g import etmekOracle 11g expdp alib oracle 10g import etmek
Oracle 11g expdp alib oracle 10g import etmekUlfet Tanriverdiyev
 
Hcm export data rahul vishwanath
Hcm export data rahul vishwanathHcm export data rahul vishwanath
Hcm export data rahul vishwanathmohamed refaei
 
Exalogic Technical Overview
Exalogic Technical OverviewExalogic Technical Overview
Exalogic Technical OverviewAndrey Akulov
 
Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4Fran Navarro
 
Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex clusterGhanshyam Khetan
 
Oracle dba interview questions with answer
Oracle dba interview questions with answerOracle dba interview questions with answer
Oracle dba interview questions with answerupenpriti
 
Dba 3+ exp qus
Dba 3+ exp qusDba 3+ exp qus
Dba 3+ exp quskrreddy21
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterMaaz Anjum
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 
Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)Guy Harrison
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overviewhonglee71
 
How to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionHow to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionMarkus Michalewicz
 
How to Create a Slideshare Account
How to Create a Slideshare AccountHow to Create a Slideshare Account
How to Create a Slideshare AccountAna Villarmente
 

Destaque (18)

Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
 
Oracle 11g expdp alib oracle 10g import etmek
Oracle 11g expdp alib oracle 10g import etmekOracle 11g expdp alib oracle 10g import etmek
Oracle 11g expdp alib oracle 10g import etmek
 
Hcm export data rahul vishwanath
Hcm export data rahul vishwanathHcm export data rahul vishwanath
Hcm export data rahul vishwanath
 
Exalogic Technical Overview
Exalogic Technical OverviewExalogic Technical Overview
Exalogic Technical Overview
 
Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4
 
153 Oracle dba interview questions
153 Oracle dba interview questions153 Oracle dba interview questions
153 Oracle dba interview questions
 
Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex cluster
 
Oracle dba interview questions with answer
Oracle dba interview questions with answerOracle dba interview questions with answer
Oracle dba interview questions with answer
 
Dba 3+ exp qus
Dba 3+ exp qusDba 3+ exp qus
Dba 3+ exp qus
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex Cluster
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
 
How to use slideshare
How to use slideshareHow to use slideshare
How to use slideshare
 
How to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionHow to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support Question
 
How to Create a Slideshare Account
How to Create a Slideshare AccountHow to Create a Slideshare Account
How to Create a Slideshare Account
 
Rac questions
Rac questionsRac questions
Rac questions
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Semelhante a Oracle data pump

Changing platforms of Oracle database
Changing platforms of Oracle databaseChanging platforms of Oracle database
Changing platforms of Oracle databasePawanbir Singh
 
40043 claborn
40043 claborn40043 claborn
40043 clabornBaba Ib
 
moving data between the data bases in database
moving data between the data bases in databasemoving data between the data bases in database
moving data between the data bases in databasemqasimsheikh5
 
Import option in Oracle Database : tip & trick🧶.pdf
Import option in Oracle Database : tip & trick🧶.pdfImport option in Oracle Database : tip & trick🧶.pdf
Import option in Oracle Database : tip & trick🧶.pdfAlireza Kamrani
 
Intro to Talend Open Studio for Data Integration
Intro to Talend Open Studio for Data IntegrationIntro to Talend Open Studio for Data Integration
Intro to Talend Open Studio for Data IntegrationPhilip Yurchuk
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questionsNaveen P
 
Test Data Transfer Tool
Test Data Transfer ToolTest Data Transfer Tool
Test Data Transfer ToolHai Nguyen
 
Oracle migrations and upgrades
Oracle migrations and upgradesOracle migrations and upgrades
Oracle migrations and upgradesDurga Gadiraju
 
Building High Performance MySQL Query Systems and Analytic Applications
Building High Performance MySQL Query Systems and Analytic ApplicationsBuilding High Performance MySQL Query Systems and Analytic Applications
Building High Performance MySQL Query Systems and Analytic ApplicationsCalpont
 
Building High Performance MySql Query Systems And Analytic Applications
Building High Performance MySql Query Systems And Analytic ApplicationsBuilding High Performance MySql Query Systems And Analytic Applications
Building High Performance MySql Query Systems And Analytic Applicationsguest40cda0b
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import! Nabil Nawaz
 
Intro to Data warehousing lecture 09
Intro to Data warehousing   lecture 09Intro to Data warehousing   lecture 09
Intro to Data warehousing lecture 09AnwarrChaudary
 
data stage-material
data stage-materialdata stage-material
data stage-materialRajesh Kv
 
PostgreSQL Database Slides
PostgreSQL Database SlidesPostgreSQL Database Slides
PostgreSQL Database Slidesmetsarin
 
ELT Publishing Tool Overview V3_Jeff
ELT Publishing Tool Overview V3_JeffELT Publishing Tool Overview V3_Jeff
ELT Publishing Tool Overview V3_JeffJeff McQuigg
 
Oracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methodsOracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methodsSatishbabu Gunukula
 
__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.ppt__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.pptVinayShekarReddy
 

Semelhante a Oracle data pump (20)

Changing platforms of Oracle database
Changing platforms of Oracle databaseChanging platforms of Oracle database
Changing platforms of Oracle database
 
Less17 Util
Less17  UtilLess17  Util
Less17 Util
 
40043 claborn
40043 claborn40043 claborn
40043 claborn
 
moving data between the data bases in database
moving data between the data bases in databasemoving data between the data bases in database
moving data between the data bases in database
 
Import option in Oracle Database : tip & trick🧶.pdf
Import option in Oracle Database : tip & trick🧶.pdfImport option in Oracle Database : tip & trick🧶.pdf
Import option in Oracle Database : tip & trick🧶.pdf
 
Intro to Talend Open Studio for Data Integration
Intro to Talend Open Studio for Data IntegrationIntro to Talend Open Studio for Data Integration
Intro to Talend Open Studio for Data Integration
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questions
 
IDUG 2015 NA Data Movement Utilities final
IDUG 2015 NA Data Movement Utilities finalIDUG 2015 NA Data Movement Utilities final
IDUG 2015 NA Data Movement Utilities final
 
Test Data Transfer Tool
Test Data Transfer ToolTest Data Transfer Tool
Test Data Transfer Tool
 
Oracle migrations and upgrades
Oracle migrations and upgradesOracle migrations and upgrades
Oracle migrations and upgrades
 
Building High Performance MySQL Query Systems and Analytic Applications
Building High Performance MySQL Query Systems and Analytic ApplicationsBuilding High Performance MySQL Query Systems and Analytic Applications
Building High Performance MySQL Query Systems and Analytic Applications
 
Building High Performance MySql Query Systems And Analytic Applications
Building High Performance MySql Query Systems And Analytic ApplicationsBuilding High Performance MySql Query Systems And Analytic Applications
Building High Performance MySql Query Systems And Analytic Applications
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import!
 
Intro to Data warehousing lecture 09
Intro to Data warehousing   lecture 09Intro to Data warehousing   lecture 09
Intro to Data warehousing lecture 09
 
data stage-material
data stage-materialdata stage-material
data stage-material
 
PostgreSQL Database Slides
PostgreSQL Database SlidesPostgreSQL Database Slides
PostgreSQL Database Slides
 
Plproxy
PlproxyPlproxy
Plproxy
 
ELT Publishing Tool Overview V3_Jeff
ELT Publishing Tool Overview V3_JeffELT Publishing Tool Overview V3_Jeff
ELT Publishing Tool Overview V3_Jeff
 
Oracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methodsOracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methods
 
__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.ppt__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.ppt
 

Último

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 

Último (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

Oracle data pump

  • 2. 2 What is Data Pump?  A replacement of the traditional export/import utilities?  The evolution of the traditional export/import utilities?  A completely new 10g utility serving a similar yet slightly different purpose?
  • 3. 3 Other Options for Moving Data  Traditional Export and Import Pros  Easy to use – most DBAs have years of experience using these utilities  Versatile – various options available; can specify what to include  Platform independent  Serial output Cons  Comparatively slow  Can be network intensive  Non-interruptible / resumable  Limited filtering options (for example, can exclude just VIEWS)  Limited remapping options (i.e. from one tablespace to another)
  • 4. 4 Other Options for Moving Data  Transportable Tablespaces Pros  Undoubtedly the fastest way to move data  Can use the traditional exp/imp or Data Pump to move meta-data  Cross-platform support if the platform byte-order is the same Cons  Tablespaces must be made read-only  Not selective (must move the entire tablespace)  Flashback is not possible (tablespace is read only when copied)  No physical reorganization is performed  Datafile sizes remain constant  Must use RMAN to convert the datafile if migrating to a platform with a different byte-order (check V$TRANSPORTABLE_PLATFORM)
  • 5. 5 Other Options Used Less Frequently  Extraction to a flat file and loading using SQL Loader  Direct copy using database links (SQL Plus COPY command)  Oracle Streams  3rd Party data ETL or reorg tools
  • 6. 6 Top 10 Reasons to Love DataPump 10. Similar look and feel to the old exp/imp 9. Can filter on the full range of object types 8. Can re-map datafiles and or tablespaces on import 7. Estimates the export file size (space needed) 6. Parallelizable 5. Significantly faster than the traditional exp/imp 4. PL/SQL Interface – programmable 3. A file is not actually required - can import through a network link 2. Track in v$session_longops 1. Resumable (interruptible and restartable)
  • 7. 7 Top 10 Reasons Not to Love Data Pump 10. Still generates redo (unlike direct path inserts) 9. Aggregation of exported data is not possible (sort only) 8. Performance on the server 7. Harder to tell what it’s doing at any given time 6. No equivalent to the STATISTICS option 5. Cannot be used with sequential media such as tapes and pipes (not read/written serially) 4. Only accesses files on the server, never the client 3. Oracle directories are required in the DB to access the files 2. Does not support COMMIT on imp or CONSISTENT on exp 1. If constraints are violated on import, the load is discontinued
  • 8. 8 Operation Fundamentals  Export/Import These utilities would basically connect to the Oracle database via Oracle NET and run queries or DDL/DML Processing of returned results and I/O operations were done on the client  Data Pump The executables call PL/SQL APIs Therefore processing is done on the database server This can be an advantage or a disadvantage depending on the situation “Self-Tuning”: no longer need to use BUFFER or RECORDSET
  • 10. 10 Data Pump Export Operation Network Export File(s) expdp.exe Oracle Database
  • 11. 11 Key Differences  Dump and log files are on the server, not the client  Must have a DIRECTORY created in the Oracle database for I/O Permissions for the userid connecting to the instance, not the schemas being exported or imported  Canceling the client process does not stop the job  Doesn’t automatically overwrite dump file if it already exists – returns an error instead  Parameters (command line) are reported in the log file  Exported objects order based on table size (descending) instead of alphabetically
  • 12. 12 Multiple Interfaces 1. Command line utilities expdb and impdb  Similar to the familiar exp and imp in usage  Use HELP=Y for a list of commands  Oracle documentation provides a comparison table to exp/imp 1. Enterprise Manager 2. PL/SQL  Can be used independently but is difficult  All of these call the DBMS_DATAPUMP API  Uses Oracle Advanced Queuing  Uses DBMS_METADATA
  • 13. 13 Unload Mechanisms  Data Pump automatically chooses to unload data either using: Direct path External Tables (new driver called ORACLE_DATAPUMP)  Same “External Tables” mechanism that was introduced in Oracle9i  When will it use External tables: When parallelism can be used When the table contains a complex data type or structure that prevents direct path unloads  A lot of tables fall under this situation – see Oracle documentation for a complete list  It doesn’t really matter to us which method is used
  • 14. 14 Multiple Processes  Master Control Process Spawns worker processes Populates the master control table and log file The master control table can be queried to track the job’s process At the end of an export, the master control table is written to the dump file and dropped from the database  Worker Processes Performs the loading/unloading Number of processes depends on the degree of parallelism (the PARALLEL option)
  • 15. 15 Detaching and Re-Attaching  Issuing “Ctrl-C” from the data pump import will detach Import is running on the server so it will continue Brings you into “interactive-command” mode  To re-attach, run impdp with the ATTACH= option Example: impdp userid=system/oracle attach=JOB_01 Brings you back into “interactive-command” mode
  • 16. 16 New Views  DBA_DATAPUMP_JOBS and USER_DATABASE_JOBS Identify all jobs regardless of their state Identify any master tables not associated with an active job  DBA_DATAPUMP_SESSIONS Identify user sessions that are attached to a job  Data pump sessions populate v$session_longops Documentation says that it is 100% accurate for imports but testing proves otherwise!!!
  • 17. 17 Security Considerations  Still uses the EXP_FULL_DATABASE and IMP_FULL_DATABASE  A privileged user will have these two roles  A privileged user can: Export/import objects owned by other schemas Export non-schema objects (metadata) Attach to, monitor, and control jobs initiated by others Perform schema, datafile, and tablespace remapping  Similar to the traditional export/import  Supports label security If exporting user has the EXEMPT ACCESS POLICY role
  • 18. 18 Object Statistics  From Oracle documentation regarding data pump exports: “A parameter comparable to STATISTICS is not needed. Statistics are always saved for tables.”  From Oracle documentation regarding data pump imports: “A parameter comparable to STATISTICS is not needed. If the source table has statistics, they are imported.”
  • 19. 19 Other Random Points  Can still use a parameter file and the PARFILE command line option  Fully supports Automatic Storage Management (ASM)  Can still flashback to a specified time or SCN  Can still extract (or backup) DDL (meta data) Using the SQLFILE option instead of the traditional INDEXFILE or SHOW options  Full support of LOBS