SlideShare a Scribd company logo
1 of 26
Group Members:
~Suhana Sultan. ~Aleena Farooq(GR)
~Maheen Yameen ~Maham Shahid
 Describe and use methods to move data
 SQL Loader, objects, External Tables
 Oracle data pump, use of data pump
 Export and Import of data
 Data moving is the process of transferring data from one storage system or
computing environment to another.
 It refers to the data transfer between different types of file formats, databases and
storage systems.
 It is the process of Moving data between two database engines.
 It requires careful planning and testing as there are number of sub tasks involved
in the process like storage capacity estimation of the target database, testing
application and ensuring data confidentially.
It involves the following 5 steps;
1)Scope identification
2) Data mapping
3) Option selection
4) Migration
5) Validation
Three techniques for moving a database:
1.detach and copy
2.take the database offline and copy the files
3.back up the database and restore it on the other server.
 Once a database is detached, no users can connect to it, the files are unlocked, and
you are free to copy the files to a new location.
 When you attach the database to a new SQL Server, you have the option of
changing the locations of the data and log files
 Taking the Database Offline:-
 You can choose to take a database offline and copy the files to a new location as a
method for moving the server.
 Like the attach and detach method, the backup and restore GUI and Transact-
SQL commands support changing the file locations to the new SQL Server
instance.
 After you’ve backed up the database to a disk file or to tape, you can then restore
it to the new database location.
 SQL*Loader is the primary method to load data from external flat files
(ASCII/TEXT/CSV) into tables of an Oracle Database.
 SQL*Loader works based on a control file, which specifies the location of data,
how data should be parsed and interpreted, and target table
 where data should be loaded. It also takes inputs from one or more datafiles,
which contain data to be loaded into the database.
 Output from SQL*Loader for a load session is a table where data is loaded, a log
file, and a bad file (with details of bad formatted records) or
 Can load data from multiple datafiles and into multiple tables during same load
session.
 Can perform remote data loading
 Selective data loading (load records based on record values)
 Supports complex object relational data.
 Supports both conventional and direct path loading
 Supports loading from non-Oracle database
 First Non-Oracle database will export the data into a pre-defined file format.
 SQL loader will read this file and load the data into Oracle database tables
 External table is a table that come from flat files stored on outside the database .
 The flat files are files that stored on OS level .
 So here is the Difference between SQL loader and external table
 If there are multiple primary input datafiles with SQL*Loader loads,
 a bad file
 and a discard file are created for each input datafile.
 With external table loads, there is only one bad file and one discard file for all
input datafiles.
 It is the read only data
 For modify come to the data File and do the modification
 Oracle Data Pump technology enables very high-speed movement of
data and metadata from one database to another.
 It is a Server-based technology.
 Oracle data pump is available in Orcale 10 g version and above.
 Enables high speed movement of bulk data and metadata.
 Simplest approach to export objects from one source to target.
 Enhanced version of original/legacy import and export utilities.
 Performed as a server side job.
 Hence more efficient ( unlike legacy exp/imp where dump file is created at the
client side/location)
There are several Oracle Data Pump methods that you can use to
move data in and out of databases. You can select the method that
best fits your use case.
 Data pump is a utility for unloading data and metadata into a set of OS files
called a “Dump File Set”.
 The dump file set can be imported only by the Data pump import utility.
 The Dump file can be imported on the same or as well as on the other system.
 The dump file set is made up of one or more disl files that contain table data,
metadata, and control information.
 DATAPUMP_EXP_FULL_DATABASE
 DATAPUMP_IMP_FULL_DATABASE
 CREATE DIRECTORY DIR_NAME AS ‘PATH’;
 GRANT READ WRITE ON DIR TO USER_NAME
1) How many ways of moving data into database.
A)2. B)3 C)4 D) Many
2) Which version of oracle support Expdp/Impdp.
A) 8i. B) 11g C) 12c. D) 10g
~ Practical work will be performed practically.
THANK YOU!

More Related Content

Similar to moving data between the data bases in database

Datastage parallell jobs vs datastage server jobs
Datastage parallell jobs vs datastage server jobsDatastage parallell jobs vs datastage server jobs
Datastage parallell jobs vs datastage server jobs
shanker_uma
 
Oracle data pump
Oracle data pumpOracle data pump
Oracle data pump
marcxav72
 
Building the DW - ETL
Building the DW - ETLBuilding the DW - ETL
Building the DW - ETL
ganblues
 

Similar to moving data between the data bases in database (20)

AWS RDS Migration Tool
AWS RDS Migration Tool AWS RDS Migration Tool
AWS RDS Migration Tool
 
Aucfanlab Datalake - Big Data Management Platform -
Aucfanlab Datalake - Big Data Management Platform -Aucfanlab Datalake - Big Data Management Platform -
Aucfanlab Datalake - Big Data Management Platform -
 
Datastage parallell jobs vs datastage server jobs
Datastage parallell jobs vs datastage server jobsDatastage parallell jobs vs datastage server jobs
Datastage parallell jobs vs datastage server jobs
 
Bt0066 database management system1
Bt0066 database management system1Bt0066 database management system1
Bt0066 database management system1
 
Oracle data pump
Oracle data pumpOracle data pump
Oracle data pump
 
Information Flow Mechanism in Data warehouse
Information Flow Mechanism in Data warehouseInformation Flow Mechanism in Data warehouse
Information Flow Mechanism in Data warehouse
 
5\9 SSIS 2008R2_Training - DataFlow Basics
5\9 SSIS 2008R2_Training - DataFlow Basics5\9 SSIS 2008R2_Training - DataFlow Basics
5\9 SSIS 2008R2_Training - DataFlow Basics
 
An overview of snowflake
An overview of snowflakeAn overview of snowflake
An overview of snowflake
 
Get started with data migration
Get started with data migrationGet started with data migration
Get started with data migration
 
ETL Tools Ankita Dubey
ETL Tools Ankita DubeyETL Tools Ankita Dubey
ETL Tools Ankita Dubey
 
Data loader.ppt
Data loader.pptData loader.ppt
Data loader.ppt
 
ORACLE Architechture.ppt
ORACLE Architechture.pptORACLE Architechture.ppt
ORACLE Architechture.ppt
 
Testing Strategies for Data Lake Hosted on Hadoop
Testing Strategies for Data Lake Hosted on HadoopTesting Strategies for Data Lake Hosted on Hadoop
Testing Strategies for Data Lake Hosted on Hadoop
 
Extract, Transform and Load.pptx
Extract, Transform and Load.pptxExtract, Transform and Load.pptx
Extract, Transform and Load.pptx
 
Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
 
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
 
Building the DW - ETL
Building the DW - ETLBuilding the DW - ETL
Building the DW - ETL
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
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
 
Working with informtiaca teradata parallel transporter
Working with informtiaca teradata parallel transporterWorking with informtiaca teradata parallel transporter
Working with informtiaca teradata parallel transporter
 

More from mqasimsheikh5 (6)

hydroboration and hydrocyanation of olefin 3.ppt
hydroboration and hydrocyanation of olefin 3.ppthydroboration and hydrocyanation of olefin 3.ppt
hydroboration and hydrocyanation of olefin 3.ppt
 
Data mining concepts and techniques Chapter 10
Data mining concepts and techniques Chapter 10Data mining concepts and techniques Chapter 10
Data mining concepts and techniques Chapter 10
 
Memorandum-A-Quick-Guide complete topic topic
Memorandum-A-Quick-Guide complete topic topicMemorandum-A-Quick-Guide complete topic topic
Memorandum-A-Quick-Guide complete topic topic
 
Computer network slides for easy prepration
Computer network slides for easy preprationComputer network slides for easy prepration
Computer network slides for easy prepration
 
Data mining techniques in data mining with examples
Data mining techniques in data mining with examplesData mining techniques in data mining with examples
Data mining techniques in data mining with examples
 
Database Management Systems - CS403 Power Point Slides Lecture 07 (1).ppt
Database Management Systems - CS403 Power Point Slides Lecture 07 (1).pptDatabase Management Systems - CS403 Power Point Slides Lecture 07 (1).ppt
Database Management Systems - CS403 Power Point Slides Lecture 07 (1).ppt
 

Recently uploaded

Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 

moving data between the data bases in database

  • 1. Group Members: ~Suhana Sultan. ~Aleena Farooq(GR) ~Maheen Yameen ~Maham Shahid
  • 2.  Describe and use methods to move data  SQL Loader, objects, External Tables  Oracle data pump, use of data pump  Export and Import of data
  • 3.  Data moving is the process of transferring data from one storage system or computing environment to another.  It refers to the data transfer between different types of file formats, databases and storage systems.
  • 4.  It is the process of Moving data between two database engines.  It requires careful planning and testing as there are number of sub tasks involved in the process like storage capacity estimation of the target database, testing application and ensuring data confidentially.
  • 5. It involves the following 5 steps; 1)Scope identification 2) Data mapping 3) Option selection 4) Migration 5) Validation
  • 6.
  • 7. Three techniques for moving a database: 1.detach and copy 2.take the database offline and copy the files 3.back up the database and restore it on the other server.
  • 8.  Once a database is detached, no users can connect to it, the files are unlocked, and you are free to copy the files to a new location.  When you attach the database to a new SQL Server, you have the option of changing the locations of the data and log files
  • 9.  Taking the Database Offline:-  You can choose to take a database offline and copy the files to a new location as a method for moving the server.
  • 10.  Like the attach and detach method, the backup and restore GUI and Transact- SQL commands support changing the file locations to the new SQL Server instance.  After you’ve backed up the database to a disk file or to tape, you can then restore it to the new database location.
  • 11.  SQL*Loader is the primary method to load data from external flat files (ASCII/TEXT/CSV) into tables of an Oracle Database.
  • 12.  SQL*Loader works based on a control file, which specifies the location of data, how data should be parsed and interpreted, and target table  where data should be loaded. It also takes inputs from one or more datafiles, which contain data to be loaded into the database.  Output from SQL*Loader for a load session is a table where data is loaded, a log file, and a bad file (with details of bad formatted records) or
  • 13.
  • 14.  Can load data from multiple datafiles and into multiple tables during same load session.  Can perform remote data loading  Selective data loading (load records based on record values)  Supports complex object relational data.  Supports both conventional and direct path loading  Supports loading from non-Oracle database
  • 15.  First Non-Oracle database will export the data into a pre-defined file format.  SQL loader will read this file and load the data into Oracle database tables
  • 16.  External table is a table that come from flat files stored on outside the database .  The flat files are files that stored on OS level .
  • 17.  So here is the Difference between SQL loader and external table  If there are multiple primary input datafiles with SQL*Loader loads,  a bad file  and a discard file are created for each input datafile.  With external table loads, there is only one bad file and one discard file for all input datafiles.  It is the read only data  For modify come to the data File and do the modification
  • 18.  Oracle Data Pump technology enables very high-speed movement of data and metadata from one database to another.  It is a Server-based technology.  Oracle data pump is available in Orcale 10 g version and above.
  • 19.
  • 20.  Enables high speed movement of bulk data and metadata.  Simplest approach to export objects from one source to target.  Enhanced version of original/legacy import and export utilities.  Performed as a server side job.  Hence more efficient ( unlike legacy exp/imp where dump file is created at the client side/location)
  • 21. There are several Oracle Data Pump methods that you can use to move data in and out of databases. You can select the method that best fits your use case.
  • 22.  Data pump is a utility for unloading data and metadata into a set of OS files called a “Dump File Set”.  The dump file set can be imported only by the Data pump import utility.  The Dump file can be imported on the same or as well as on the other system.  The dump file set is made up of one or more disl files that contain table data, metadata, and control information.
  • 24.  CREATE DIRECTORY DIR_NAME AS ‘PATH’;  GRANT READ WRITE ON DIR TO USER_NAME
  • 25. 1) How many ways of moving data into database. A)2. B)3 C)4 D) Many 2) Which version of oracle support Expdp/Impdp. A) 8i. B) 11g C) 12c. D) 10g
  • 26. ~ Practical work will be performed practically. THANK YOU!