More Related Content Similar to Oracle Migration to Postgres in the Cloud (20) Oracle Migration to Postgres in the Cloud1. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2018. All rights reserved.
Oracle Migration to
Postgres in the
Cloud
Kanchan Mohitey – Director, Cloud Services
Marc Linster – SVP, Product Development
1
2. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Agenda
● Who is EDB
● Postgres in the Cloud - EDB’s Cloud Database Service
● Hands on CDS Demo
● Migration Steps - Getting from Oracle to Postgres
● Picking the Right Migration Candidates
● Hands on Migration Demo
● Q&A
4. We are the world leader in
open-source based Postgres
software and services
PROVEN
• Recognized RDBMS
leader by Gartner and
Forrester
• 2013-2018 Member of
Gartner Magic Quadrant
COMMITTED
• Founded in 2004
• Largest PostgreSQL
contributor— 40% of core team
GLOBAL
• Customer global base > 4000
• 300+ Employees world-wide
• Offices in 16 countries
5. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.5
OVER 4,000 CUSTOMERS
U.S Customers
EMEA Customers APAC Customers
102
of the Fortune
500
337
of the Forbes
Global 2000
Customers working SMARTER, reducing RISK and being more
PRODUCTIVE with EDB
6. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
EDB OPEN SOURCE LEADERSHIP
Named EDB open source committers and contributors
CONTRIBUTORS
Akshay Joshi Amul Sul Ashesh Vashi
Dilip Kumar Jeevan Ladhe Mithun Cy
MAJOR CONTRIBUTORSCORE TEAM
Andres Freund Devrim Gündüz
Thomas Munro
Amit Kapila
Bruce Momjian
Dave Page
Robert Haas
- committers
Ashutosh
Sharma
Rushabh Lathia
8. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
EDB POSTGRES
CLOUD DATABASE SERVICE
Hosted EDB Postgres on the public cloud
● On Demand and Reserved
✔ Easy access and provisioning
✔ Use case based Pre-defined templates
● Highly Available and Easy to use
✔ Load balancing, automatic failover
and elastic scale-out
✔ Secure data encryption
● Oracle Compatible
✔ EDB Postgres with Oracle compatibility
✔ Integrated with EDB Migration Portal
● True Postgres
✔ Same Postgres everywhere
✔ Complete DBA management
9. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.9
DEMO
EDB Postgres Cloud Database Service
10. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
PGR COMMUNITY
CDS Help Desk &
CDS Resource Center
EDB’s Online Postgres Community
Resources for all things
Postgres
12. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.12
FROM ORACLE TO POSTGRES
Get your Oracle workloads ...all
the way to the cloud.
SCHEMA DATA CODE
MOST OF THE WAY
SCHEMA, DATA, AND CODE
PART OF THE WAY
SCHEMA AND DATA ONLY
INTERFACE
All OF THE WAY
SCHEMA, DATA, CODE, AND INTERFACE
13. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
DATABASE COMPATIBILITY FOR ORACLE
• SQL extension support
• Decode, NVL, Substr, NVL2, Date/time
functions
• DDL syntax support
• PL/SQL support – native language
• REF Cursors, Implicit and explicit cursors
• Looping, variable declarations, conditional
statements
• Collections: Associative Arrays, Varrays,
Nested tables
• Pragmas
• Named parameters
• User Defined Exceptions
• Explicit Transaction Control(within sp)
• Tools
• EDB*Plus – SQL*Plus look-a-like
• EDB*Loader – SQL*Loader equivalent
• Oracle-like Data Dictionary
• ALL_, DBA_, USER_ views
• Wait Events
• System and session waits
• Statspack-like reporting
• Features
• Packages
• Stored procedures
• Functions
• Triggers
• Hints
• Hierarchical Queries
• Synonyms – Public and Private
• Sequences
• Rownum
• Users/Roles
• Dynamic SQL
• Materialized Views
• Partitioning
• PL/SQL supplied packages
• 16 DBMS
• 8 UTL
• Data types
• Blobs, Clobs, XMLTYPE, VARCHAR2, NUMBER, CHAR, Integer
• Drivers
• JDBC, ODBC, .NET with Oracle extensions
• OCI & ProC compatible drivers
EDB Advanced Server 11: Pragma Autonomous Transaction and
DBMS_REDACT
14. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.14
DATABASE DRIVERS
Oracle Compatibility Feature JDBC ODBC .NET OCI
PL/SQL Support
REF_CURSOR - OracleTypes.CURSOR
User-defined Exceptions - vendor code
Named Parameters - parameter names
Data Types- VARCHAR2 , STRUCT, ARRAYS
STRUCT - Enhanced Manipulation
Upper Column Names - (OPTIONAL)
Multiple INOUT/OUT parameters
15. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
PICK YOUR BATTLES
50%+ of migrations are easy …
30% involve more work …
20% are difficult
51% had slight to
no modifications
16. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.16
WHAT MAKES A GOOD CANDIDATE?
• ORM (Hibernate,
Spring, etc. )
• Procedures,
Functions,
Packages written
in PL/SQL
• Ability to modify
source code
• Availability of
Application
Developers
• No use of
RAC for
scalability
• No need for
Flashback
17. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.17
TYPICALLY MORE DIFFICULT TARGETS
Moderate
candidates
• OCI interface
• Spatial/XML
• Oracle extensions of
.NET and ODBC
Typically difficult
candidates
• ProC interface
• Transaction
management control
inside PL/SQL
(Commit/rollback/
savepoint/exceptions)
• Stored procedures
written in Java
• Must have RAC
capabilities and
Flashback
Other
Oracle
proprietary
extensions
18. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.18
THE FASTEST WAY OFF ORACLE TO THE CLOUD
Migration Portal Combines
• Native Oracle Compatibility
✔ Schemas
✔ DB Code
✔ Application interfaces
• Rich knowledge base from
10+ years of migrations
• Crowd sourced discovery
of new code translations
Migration Portal Statistics
● Number of Users: 1680
● Number of Oracle Schema Assessed: 4833
● Number of Oracle DDLs Assessed:
2416763
19. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.19
DEMO
Oracle Migration to Postgres in the Cloud
20. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
EDB Postgres - Key to Oracle Migrations
● Proven Oracle Compatibility
● Highly available and easy to use
● Available in the EDB Cloud Database Service
● Linked with EDB Migration Portal
Easy, cost effective migration from Oracle to Postgres
21. Get Started With
EDB POSTGRES
CLOUD DATABASE
SERVICE
No credit card required
cds.enterprisedb.com
START YOUR FREE TRIAL
Spin up a micro cluster with a 7 day validity.
© Copyright EnterpriseDB Corporation, 2019. All Rights Reserved.