SlideShare a Scribd company logo
1 of 21
Download to read offline
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Database Platform Migration Using ZDLRA
Oracle Server Technology
High Availability Systems Development
Maximum Availability Architecture
September 2020
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
3
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Solution Overview
ZDLRA Backup and Restore Strategy
Database Migration Process using dbmigusera.pl
Customer Case Study
1
2
3
4
4
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Solution Overview
5
• Database migration is the process of moving databases to a new
platform, including Exadata and ExaCC
• Zero Data Loss Recovery Appliance (ZDLRA) provides a simple, reliable,
and fast migration solution with minimal downtime
This presentation outlines the steps to execute:
• Cross-endian platform DB migration using ZDLRA
• Same-endian platform DB migration – even simpler and faster with ZDLRA
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Solution Overview
ZDLRA Backup and Restore Strategy
Database Migration Process using ZDLRA
Overview – Real Life Scenario
1
2
3
4
6
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Zero Data Loss Recovery Appliance Overview
Delta Push
•DBs access and send only changes
• Minimal impact on production
•Real-time redo transport instantly
protects ongoing transactions
Protected
Databases
Protects all DBs in Data Center
•Petabytes of data
•RMAN-driven backup & restore
•Oracle 10.2-12.2, any platform
•No expensive DB backup agents
Delta Store
•Stores validated, compressed DB changes on disk
•Fast restores to any point-in-time using ‘virtual full’
•Built on Exadata scaling and resilience
•Enterprise Manager end-to-end control
Recovery Appliance
Replicates to Remote
Recovery Appliance
Offloads Cloud /
Tape Backup
7
DB Backup Cloud Service
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Space-Efficient “Virtual” Full Backups
• After one-time full backup, incrementals
used to create virtual full database
backups on a daily basis
• Pointer-based representation of physical
full backup as of incremental backup time
• Virtual backups typically 10x space efficient
• Enables long backup history to be kept with
the smallest possible space consumption
• “Time Machine” for database
Delta Store
Protected
Databases
Day N
Incr
Day 1 Virtual Full
Day N Virtual Full
Day 1
Incr
Day 0
Full
No More Full Backups: Incrementals Forever Architecture
8
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Fast Restore to Any Point-in-Time
No Incremental Apply = No Load on Production Server
• Directly restore any virtual full
backup
• All blocks referenced from
virtual full are efficiently
retrieved
• Eliminates production server
overhead of traditional restore
and merge of incrementals
• Inherits scalability and
performance via Exadata-based
hardware platform
Delta Store
Protected
Databases
RESTORE DATABASE
TO DAY ‘N’
Day 0
Full
Day 1
Incr
Day N
Incr
Day ‘N’ Full Backup
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Abstract
ZDLRA Backup and Restore Strategy
Database Migration Process using ZDLRA
Overview – Real Life Scenario
1
2
3
4
10
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Database Migration Process using ZDLRA
11
Database migration can be either:
1. Cross-Endian – Big Endian to Small Endian, or vice versa.
2. Across the Same-Endian.
Where did the word endianness came from?
From a passage in Gulliver's Travels in which an emperor, after cutting his finger after opening an egg at the large end, commands his
subjects to open them at the small end; those who comply are called “Little-Endians”, while those who rebel by opening their eggs at
the large end are called “Big-Endians.”
In computer architecture:
•In big-endian format, whenever addressing memory or sending/storing words byte-wise, the most significant byte—the byte
containing the most significant bit—is stored first (has the lowest address) or sent first, then the following bytes are stored or sent in
decreasing significance order, with the least significant byte—the one containing the least significant bit—stored last (having the
highest address) or sent last.
•Little-endian format reverses this order: the sequence addresses/sends/stores the least significant byte first (lowest address) and the
most significant byte last (highest address).
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Cross-Endian Database Migration using ZDLRA
1. Performing incremental backups as normal from the source database to ZDLRA
2. Create a new database on the destination platform.
3. On the destination database, restore the latest virtual level 0 backup from the ZDLRA for the source tablespaces.
– The restore operation will convert and copy the data files to the new destination database storage.
– The migration procedure will also create an export data pump file to plug in the tablespaces at the destination.
4. Recover the destination data files with incrementals (i.e. data changes) taken at the source as many times as desired to keep
the data in sync as close as possible between the two databases
– Ideally, the recover operation should be run on regular basis (e.g. daily), until it takes less than 2 hours.
5. Select a final migration window to the destination database, ideally where there are minimal source database activities:
– On the source database:
1. Put the tablespaces on the source database in read only mode
2. Take a final incremental level 1 backup to the ZDLRA
3. Export the transportable tablespaces definition (metadata dump file)
– On the destination database:
1. Recover the data files with the final incremental backup and export the transportable tablespaces
2. Import the tablespace metadata dump file to plug in the tablespaces
3. Activate destination database and enable services
12
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Source DB (11g-12c) Destination DB (19c)
SOE TBS Day 1: Full
Backup
Export Import
Read-only
Meta
Data
SOE TBS
Database Migration using ZDLRA
• Dramatically Reduce Read-only Downtime – Several Hours+ to Few Hours or Less
• Minimal downtime – DB remains read-write throughout process
• Tablespaces are only placed in read-only prior to final incremental
• Daily incremental backups -> virtual full backups on Recovery Appliance
• Restore latest virtual full backup prior to start of migration window
• RESTORE FROM PLATFORM XXX FOREIGN DATAFILE YYY
• Final incremental taken in read-only, then restored & recovered onto destination files
• RECOVER FROM PLATFORM XXX FOREIGN DATAFILECOPY YYY
• Data pump metadata export at source and import of metadata dump file at destination
Virtual Full
Restore
Restore &
Recover Final
Incremental
Day 2->N:
Incremental
Backups
Day n: Final
Incremental
Read-write
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Cross Platform DB Migration using ZDLRA - Benefits
14
Primary benefits:
1. Significant reduction in downtime (Potentially less than two hours of service downtime)1
2. Application service is READ ONLY during most of the service downtime
3. New ZDLRA tool (dbmigusera.pl) simplifies cross platform migration by automating steps,
especially useful for large databases
4. Migration time is not impacted by the size of the database
Read-only downtime based on:
1. Final incremental backup and recovery step – incremental size should be < 5% of DB size
2. Final tablespace metadata export/import duration (only necessary for cross platform)
3. Number of target tablespaces – import is done serially
4. Application service switchover from source to destination database
Refer to MOS Note: Cross Platform Database Migration using ZDLRA (Doc ID 2460552.1)
1Downtime does not include the user objects to be imported on the destination.
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Same-Endian DB Migration using ZDLRA
• Leverage Data Guard and ZDLRA for minimal downtime migration
– By using the source database backups available on the ZDLRA, instantiate new database on
the destination platform using RMAN DUPLICATE FOR STANDBY.
– Start MRP to synchronize standby with primary database
– Verify destination data by opening standby read-only
– Perform switchover and redirect application clients to new primary database
– Refer to MOS Note : Creating a Physical Standby Database in an 11.2, 12.1, 12.2 or later
environment (Doc ID 2275154.1)1
• Advantages:
– Near-Zero to Zero downtime during switchover to destination database
– Increased availability during the migration process vs transportable tablespace approach
– With Active Data Guard, standby database can be used to offload read-only activities from
primary (e.g. reporting), until switchover is performed
1When using RMAN DUPLICATE, connect to the ZDLRA as CATALOG and configure the RMAN AUXILIARY SBT channels to connect to the ZDLRA.
15
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Abstract
ZDLRA Backup and Restore Strategy
Database Migration Process using dbmigusera.pl
Customer Case Study
1
2
3
4
16
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Customer Case Study
17
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. |
Leading Global Semiconductor Manufacturer
Business Needs
• Accelerate Growth
• Drive Operational Excellence
• Customer Experience
• Operational Efficiency
• Grow organizational
capabilities – optimize
innovation
• Address current & planned
business growth objectives
Solution Needs
• Stability
• Zero Preventable Outages
• Focus on Business Ops
• Increase IT agility, self-
service and alignment to
business drivers
Exadata X4-2 Exadata X2-2
Active Data
Guard
Weekly Full and daily
incremental backup
NAS Device
Legacy Architecture
Results Achieved
• Consolidate and
standardize
– Consolidated several DBs to
ExaCC + Multi-Tenant option
• Improved the time and
cost to build and maintain
Analytics platform
• Near zero downtime DB
migration to ExaCC using
RA + RMAN DUPLICATE.
• Deliver exceptional service
to business users
• Eliminated full backups
• Reduced incremental
backup time by 2X
• Improved RTO by 4X
Exadata X4-2 Exadata X2-2
Cascade
Standby
Incremental
forever backups
Active Data
Guard
Exadata C@C
New Architecture
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | 19
Incremental
forever backups
Current Architecture
Oracle Databases
on IBM/AIX
Exadata C@C
Future Architecture
Incremental
forever backups
Business Goals
Enhance the customer
shopping experience
§ Provide a robust
platform for the point-
of-sale databases
§ Improve overall
performance
§ Increase time to market
§ Data center
modernization
§ Migrating from
IBM AIX to Exadata
§ Database consolidation
Leading European Retailer
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | 20
zdlra-db-migration-5188715.pdf

More Related Content

Similar to zdlra-db-migration-5188715.pdf

DataGuard - Oracle's Time Machine
DataGuard - Oracle's Time MachineDataGuard - Oracle's Time Machine
DataGuard - Oracle's Time MachineNavneet Upneja
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
How the Development Bank of Singapore solves on-prem compute capacity challen...
How the Development Bank of Singapore solves on-prem compute capacity challen...How the Development Bank of Singapore solves on-prem compute capacity challen...
How the Development Bank of Singapore solves on-prem compute capacity challen...Alluxio, Inc.
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2Mario Redón Luz
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cSatishbabu Gunukula
 
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
 
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 DatabaseSandesh Rao
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginnersPini Dibask
 
IOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for BeginnersIOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for BeginnersPini Dibask
 
Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for BeginnersPini Dibask
 
The Good, The Bad and the Ugly
The Good, The Bad and the UglyThe Good, The Bad and the Ugly
The Good, The Bad and the UglyRoy Salazar
 
A3 transforming data_management_in_the_cloud
A3 transforming data_management_in_the_cloudA3 transforming data_management_in_the_cloud
A3 transforming data_management_in_the_cloudDr. Wilfred Lin (Ph.D.)
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633Arush Jain
 
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionGLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionBiju Thomas
 
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...DataWorks Summit
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cGlen Hawkins
 

Similar to zdlra-db-migration-5188715.pdf (20)

SQL Saturday San Diego
SQL Saturday San DiegoSQL Saturday San Diego
SQL Saturday San Diego
 
con8832-cloudha-2811114.pdf
con8832-cloudha-2811114.pdfcon8832-cloudha-2811114.pdf
con8832-cloudha-2811114.pdf
 
DataGuard - Oracle's Time Machine
DataGuard - Oracle's Time MachineDataGuard - Oracle's Time Machine
DataGuard - Oracle's Time Machine
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
How the Development Bank of Singapore solves on-prem compute capacity challen...
How the Development Bank of Singapore solves on-prem compute capacity challen...How the Development Bank of Singapore solves on-prem compute capacity challen...
How the Development Bank of Singapore solves on-prem compute capacity challen...
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12c
 
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
 
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
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
IOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for BeginnersIOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for Beginners
 
Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for Beginners
 
The Good, The Bad and the Ugly
The Good, The Bad and the UglyThe Good, The Bad and the Ugly
The Good, The Bad and the Ugly
 
A3 transforming data_management_in_the_cloud
A3 transforming data_management_in_the_cloudA3 transforming data_management_in_the_cloud
A3 transforming data_management_in_the_cloud
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633
 
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionGLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
 
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19c
 

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

zdlra-db-migration-5188715.pdf

  • 1.
  • 2. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Database Platform Migration Using ZDLRA Oracle Server Technology High Availability Systems Development Maximum Availability Architecture September 2020
  • 3. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 3
  • 4. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Program Agenda Solution Overview ZDLRA Backup and Restore Strategy Database Migration Process using dbmigusera.pl Customer Case Study 1 2 3 4 4
  • 5. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Solution Overview 5 • Database migration is the process of moving databases to a new platform, including Exadata and ExaCC • Zero Data Loss Recovery Appliance (ZDLRA) provides a simple, reliable, and fast migration solution with minimal downtime This presentation outlines the steps to execute: • Cross-endian platform DB migration using ZDLRA • Same-endian platform DB migration – even simpler and faster with ZDLRA
  • 6. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Program Agenda Solution Overview ZDLRA Backup and Restore Strategy Database Migration Process using ZDLRA Overview – Real Life Scenario 1 2 3 4 6
  • 7. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Zero Data Loss Recovery Appliance Overview Delta Push •DBs access and send only changes • Minimal impact on production •Real-time redo transport instantly protects ongoing transactions Protected Databases Protects all DBs in Data Center •Petabytes of data •RMAN-driven backup & restore •Oracle 10.2-12.2, any platform •No expensive DB backup agents Delta Store •Stores validated, compressed DB changes on disk •Fast restores to any point-in-time using ‘virtual full’ •Built on Exadata scaling and resilience •Enterprise Manager end-to-end control Recovery Appliance Replicates to Remote Recovery Appliance Offloads Cloud / Tape Backup 7 DB Backup Cloud Service
  • 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Space-Efficient “Virtual” Full Backups • After one-time full backup, incrementals used to create virtual full database backups on a daily basis • Pointer-based representation of physical full backup as of incremental backup time • Virtual backups typically 10x space efficient • Enables long backup history to be kept with the smallest possible space consumption • “Time Machine” for database Delta Store Protected Databases Day N Incr Day 1 Virtual Full Day N Virtual Full Day 1 Incr Day 0 Full No More Full Backups: Incrementals Forever Architecture 8
  • 9. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Fast Restore to Any Point-in-Time No Incremental Apply = No Load on Production Server • Directly restore any virtual full backup • All blocks referenced from virtual full are efficiently retrieved • Eliminates production server overhead of traditional restore and merge of incrementals • Inherits scalability and performance via Exadata-based hardware platform Delta Store Protected Databases RESTORE DATABASE TO DAY ‘N’ Day 0 Full Day 1 Incr Day N Incr Day ‘N’ Full Backup
  • 10. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Program Agenda Abstract ZDLRA Backup and Restore Strategy Database Migration Process using ZDLRA Overview – Real Life Scenario 1 2 3 4 10
  • 11. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Database Migration Process using ZDLRA 11 Database migration can be either: 1. Cross-Endian – Big Endian to Small Endian, or vice versa. 2. Across the Same-Endian. Where did the word endianness came from? From a passage in Gulliver's Travels in which an emperor, after cutting his finger after opening an egg at the large end, commands his subjects to open them at the small end; those who comply are called “Little-Endians”, while those who rebel by opening their eggs at the large end are called “Big-Endians.” In computer architecture: •In big-endian format, whenever addressing memory or sending/storing words byte-wise, the most significant byte—the byte containing the most significant bit—is stored first (has the lowest address) or sent first, then the following bytes are stored or sent in decreasing significance order, with the least significant byte—the one containing the least significant bit—stored last (having the highest address) or sent last. •Little-endian format reverses this order: the sequence addresses/sends/stores the least significant byte first (lowest address) and the most significant byte last (highest address).
  • 12. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Cross-Endian Database Migration using ZDLRA 1. Performing incremental backups as normal from the source database to ZDLRA 2. Create a new database on the destination platform. 3. On the destination database, restore the latest virtual level 0 backup from the ZDLRA for the source tablespaces. – The restore operation will convert and copy the data files to the new destination database storage. – The migration procedure will also create an export data pump file to plug in the tablespaces at the destination. 4. Recover the destination data files with incrementals (i.e. data changes) taken at the source as many times as desired to keep the data in sync as close as possible between the two databases – Ideally, the recover operation should be run on regular basis (e.g. daily), until it takes less than 2 hours. 5. Select a final migration window to the destination database, ideally where there are minimal source database activities: – On the source database: 1. Put the tablespaces on the source database in read only mode 2. Take a final incremental level 1 backup to the ZDLRA 3. Export the transportable tablespaces definition (metadata dump file) – On the destination database: 1. Recover the data files with the final incremental backup and export the transportable tablespaces 2. Import the tablespace metadata dump file to plug in the tablespaces 3. Activate destination database and enable services 12
  • 13. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Source DB (11g-12c) Destination DB (19c) SOE TBS Day 1: Full Backup Export Import Read-only Meta Data SOE TBS Database Migration using ZDLRA • Dramatically Reduce Read-only Downtime – Several Hours+ to Few Hours or Less • Minimal downtime – DB remains read-write throughout process • Tablespaces are only placed in read-only prior to final incremental • Daily incremental backups -> virtual full backups on Recovery Appliance • Restore latest virtual full backup prior to start of migration window • RESTORE FROM PLATFORM XXX FOREIGN DATAFILE YYY • Final incremental taken in read-only, then restored & recovered onto destination files • RECOVER FROM PLATFORM XXX FOREIGN DATAFILECOPY YYY • Data pump metadata export at source and import of metadata dump file at destination Virtual Full Restore Restore & Recover Final Incremental Day 2->N: Incremental Backups Day n: Final Incremental Read-write
  • 14. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Cross Platform DB Migration using ZDLRA - Benefits 14 Primary benefits: 1. Significant reduction in downtime (Potentially less than two hours of service downtime)1 2. Application service is READ ONLY during most of the service downtime 3. New ZDLRA tool (dbmigusera.pl) simplifies cross platform migration by automating steps, especially useful for large databases 4. Migration time is not impacted by the size of the database Read-only downtime based on: 1. Final incremental backup and recovery step – incremental size should be < 5% of DB size 2. Final tablespace metadata export/import duration (only necessary for cross platform) 3. Number of target tablespaces – import is done serially 4. Application service switchover from source to destination database Refer to MOS Note: Cross Platform Database Migration using ZDLRA (Doc ID 2460552.1) 1Downtime does not include the user objects to be imported on the destination.
  • 15. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Same-Endian DB Migration using ZDLRA • Leverage Data Guard and ZDLRA for minimal downtime migration – By using the source database backups available on the ZDLRA, instantiate new database on the destination platform using RMAN DUPLICATE FOR STANDBY. – Start MRP to synchronize standby with primary database – Verify destination data by opening standby read-only – Perform switchover and redirect application clients to new primary database – Refer to MOS Note : Creating a Physical Standby Database in an 11.2, 12.1, 12.2 or later environment (Doc ID 2275154.1)1 • Advantages: – Near-Zero to Zero downtime during switchover to destination database – Increased availability during the migration process vs transportable tablespace approach – With Active Data Guard, standby database can be used to offload read-only activities from primary (e.g. reporting), until switchover is performed 1When using RMAN DUPLICATE, connect to the ZDLRA as CATALOG and configure the RMAN AUXILIARY SBT channels to connect to the ZDLRA. 15
  • 16. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Program Agenda Abstract ZDLRA Backup and Restore Strategy Database Migration Process using dbmigusera.pl Customer Case Study 1 2 3 4 16
  • 17. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Customer Case Study 17
  • 18. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | Leading Global Semiconductor Manufacturer Business Needs • Accelerate Growth • Drive Operational Excellence • Customer Experience • Operational Efficiency • Grow organizational capabilities – optimize innovation • Address current & planned business growth objectives Solution Needs • Stability • Zero Preventable Outages • Focus on Business Ops • Increase IT agility, self- service and alignment to business drivers Exadata X4-2 Exadata X2-2 Active Data Guard Weekly Full and daily incremental backup NAS Device Legacy Architecture Results Achieved • Consolidate and standardize – Consolidated several DBs to ExaCC + Multi-Tenant option • Improved the time and cost to build and maintain Analytics platform • Near zero downtime DB migration to ExaCC using RA + RMAN DUPLICATE. • Deliver exceptional service to business users • Eliminated full backups • Reduced incremental backup time by 2X • Improved RTO by 4X Exadata X4-2 Exadata X2-2 Cascade Standby Incremental forever backups Active Data Guard Exadata C@C New Architecture
  • 19. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | 19 Incremental forever backups Current Architecture Oracle Databases on IBM/AIX Exadata C@C Future Architecture Incremental forever backups Business Goals Enhance the customer shopping experience § Provide a robust platform for the point- of-sale databases § Improve overall performance § Increase time to market § Data center modernization § Migrating from IBM AIX to Exadata § Database consolidation Leading European Retailer
  • 20. Copyright © 2020, Oracle and/or its affiliates. All rights reserved. | 20