Migrating Oracle to EDB Postgres
Approach and Use Case
Jenish Vyas, Database Consultant, EnterpriseDB
March 2018
AGENDA
2
About EDB
Why Migrate
Steps to Migrate
Case Studies
Questions
THE DATABASE PLATFORM
COMPANY FOR DIGITAL BUSINESS
EnterpriseDB® (EDB™) delivers the premier open source-based,
multi-model data platform for new applications, cloud re-platforming,
application modernization, and legacy migration.
OVER 4,000 TOTAL CUSTOMERS
U.S Customers
EMEA Customers APAC Customers
88of the Fortune 500
241of the Forbes Global
2000
Our customers benefit from the most reliable, high-performing,
flexible, open, and cost-effective data management platform available.
Amit KapilaAMIT KAPILA Bruce MomjianBRUCE MOMJIAN Devrim GunduzDEVRIM GUNDUZ Muhammad UsamaMOHAMMAD USAMA Thom BrownTHOM BROWN
Ashesh VashiASHESH VASHI Dave PageDAVE PAGE Korry DouglasKORRY DOUGLAS Robert M HaasROBERT M HAAS Thomas MunroTHOMAS MUNRO Ashutosh BapatASHUTOSH BAPAT
ANDRES FREUND
MAJOR CONTRIBUTOR TO POSTGRES 8.3 THROUGH 10
Our customers rely on our expertise and solutions to develop new
applications, move applications to the cloud, modernize applications, and
migrate off legacy databases like Oracle™.
EDB POSTGRES SOLUTION USE CASES –
Why migrate
NEW APPLICATIONS:
DevOps, schema-less rapid development, and multiple programming language support
APPLICATION MODERNIZATION:
Multi-model flexibility and integration with popular data sources
REPLACEMENT OF LEGACY DBMS:
Compatibility with Oracle leverages existing DBA and Developer skills
CLOUD REPLATFORMING:
Flexible deployment options and simple business terms
STEPS TO MIGRATE
7
STEPS TO MIGRATE
8
1. Database Assessment
2. Prepare Environment
3. Migrate Database Objects and Data
4. Port Application
5. Test
6. Integrate
7. Rollout
EDB POSTGRES PLATFORM
EDB Postgres Platform: Tool Suites
Migration
Migration
• Analyze and move your data
from expensive legacy
databases
• EDB Postgres Migration
Assessment with services
engagement
• EDB Postgres Migration
Toolkit
• 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
• 14 DBMS
• 6 UTL
• Data types
• Blobs, Clobs, XMLTYPE, VARCHAR2,
NUMBER, CHAR, Integer
Database Compatibility for Oracle
STEP 1: DB Migration Assessment
12
• Schema Discovery
• DB Analysis
• Scoring
• App Selection
• Success & Savings
© Copyright EnterpriseDB Corporation, 2017. All Rights Reserved.
STEPS 2 & 3: Prepare Environment
& Migrate Database Objects and Data
EDB POSTGRES MIGRATION TOOLKIT
STEP 4: Port Application
 Change connection information (Readily available EDB drivers based on your application need )
 Recompile/Link application(OCI or Pro*C) (EDB ECPG Plus)
STEP 5: Test
 Verify Application Functionality (Monitoring with EDB PEM and EDB advance auditing)
 Test Performance (Monitoring and analysing current and history Database and system data with PEM)
 Tune (EDB SQL profiler)
STEP 6 : Integrate
 Establish co-existence strategy (FDW to connect with foreign system)
 Setup replication between Oracle or SQL Server and EDB Postgres Advance Server (Hydride
replication using EDB replication Server)
STEP 7 : Rollout
 System Becomes Production.
Case Studies
Case Study 1: Large Stock Exchange India
The leading stock exchange in India and the fourth largest in the world by equity trading volume in 2015,
according to World Federation of Exchanges (WFE).
Embedded deployment
for landing application –
from Oracle to Postgres Plus
Advanced Server
Significantly lowered
solution cost
for increased profitability
• Open source alternative to
Oracle with a lower TCO
• Database solution with a lower
cost of ownership for its service
provider customers
• Scalability and ability to handle
high transaction throughput
loads
• Support, training and expertise
in PostgreSQL
KEY CUSTOMER REQUIREMENTS
• POC comparing Oracle features
to PPAS, and PPAS met all
requirements
• Ability to influence EDB product
roadmap
• Compatibility with existing
database infrastructure
• Significant cost savings by
replacing a commercial product
with an enterprise-class open
source database
OTHER KEYS TO SUCCESS
Case Study 2: Large Steel Manufacturer
A multi-billion-dollar conglomerate, played a key role in India's growth story.
CTO assigned special project
to investigate
alternatives to Oracle
Project evaluated technical
feasibility, cost
and effort to migrate
• Open source alternative to
Oracle with a lower TCO and
greater licensing flexibility
• Oracle migration capabilities
• Scalability & reliability
• High availability
KEY CUSTOMER REQUIREMENTS
• Ability to leverage its existing
database administrator and
developer talent
• Ease of moving existing Oracle
applications to the new
database
• Commercial-grade quality and
reliability, including backup and
recovery standards, to support
mission-critical applications
• Scalable, high performance
execution
• Simple installation and
configuration coupled with easy
to use tools from Amazon avoid
extra implementation costs
OTHER KEYS TO SUCCESS
info@enterprisedb.com
Questions?
© Copyright EnterpriseDB Corporation, 2017. All Rights Reserved.
THANK YOU

Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach and Use Case Study

  • 1.
    Migrating Oracle toEDB Postgres Approach and Use Case Jenish Vyas, Database Consultant, EnterpriseDB March 2018
  • 2.
    AGENDA 2 About EDB Why Migrate Stepsto Migrate Case Studies Questions
  • 3.
    THE DATABASE PLATFORM COMPANYFOR DIGITAL BUSINESS EnterpriseDB® (EDB™) delivers the premier open source-based, multi-model data platform for new applications, cloud re-platforming, application modernization, and legacy migration.
  • 4.
    OVER 4,000 TOTALCUSTOMERS U.S Customers EMEA Customers APAC Customers 88of the Fortune 500 241of the Forbes Global 2000 Our customers benefit from the most reliable, high-performing, flexible, open, and cost-effective data management platform available.
  • 5.
    Amit KapilaAMIT KAPILABruce MomjianBRUCE MOMJIAN Devrim GunduzDEVRIM GUNDUZ Muhammad UsamaMOHAMMAD USAMA Thom BrownTHOM BROWN Ashesh VashiASHESH VASHI Dave PageDAVE PAGE Korry DouglasKORRY DOUGLAS Robert M HaasROBERT M HAAS Thomas MunroTHOMAS MUNRO Ashutosh BapatASHUTOSH BAPAT ANDRES FREUND MAJOR CONTRIBUTOR TO POSTGRES 8.3 THROUGH 10
  • 6.
    Our customers relyon our expertise and solutions to develop new applications, move applications to the cloud, modernize applications, and migrate off legacy databases like Oracle™. EDB POSTGRES SOLUTION USE CASES – Why migrate NEW APPLICATIONS: DevOps, schema-less rapid development, and multiple programming language support APPLICATION MODERNIZATION: Multi-model flexibility and integration with popular data sources REPLACEMENT OF LEGACY DBMS: Compatibility with Oracle leverages existing DBA and Developer skills CLOUD REPLATFORMING: Flexible deployment options and simple business terms
  • 7.
  • 8.
    STEPS TO MIGRATE 8 1.Database Assessment 2. Prepare Environment 3. Migrate Database Objects and Data 4. Port Application 5. Test 6. Integrate 7. Rollout
  • 9.
  • 10.
    EDB Postgres Platform:Tool Suites Migration Migration • Analyze and move your data from expensive legacy databases • EDB Postgres Migration Assessment with services engagement • EDB Postgres Migration Toolkit
  • 11.
    • SQL extensionsupport • 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 • 14 DBMS • 6 UTL • Data types • Blobs, Clobs, XMLTYPE, VARCHAR2, NUMBER, CHAR, Integer Database Compatibility for Oracle
  • 12.
    STEP 1: DBMigration Assessment 12 • Schema Discovery • DB Analysis • Scoring • App Selection • Success & Savings
  • 13.
    © Copyright EnterpriseDBCorporation, 2017. All Rights Reserved. STEPS 2 & 3: Prepare Environment & Migrate Database Objects and Data EDB POSTGRES MIGRATION TOOLKIT
  • 14.
    STEP 4: PortApplication  Change connection information (Readily available EDB drivers based on your application need )  Recompile/Link application(OCI or Pro*C) (EDB ECPG Plus) STEP 5: Test  Verify Application Functionality (Monitoring with EDB PEM and EDB advance auditing)  Test Performance (Monitoring and analysing current and history Database and system data with PEM)  Tune (EDB SQL profiler) STEP 6 : Integrate  Establish co-existence strategy (FDW to connect with foreign system)  Setup replication between Oracle or SQL Server and EDB Postgres Advance Server (Hydride replication using EDB replication Server) STEP 7 : Rollout  System Becomes Production.
  • 15.
  • 16.
    Case Study 1:Large Stock Exchange India The leading stock exchange in India and the fourth largest in the world by equity trading volume in 2015, according to World Federation of Exchanges (WFE). Embedded deployment for landing application – from Oracle to Postgres Plus Advanced Server Significantly lowered solution cost for increased profitability • Open source alternative to Oracle with a lower TCO • Database solution with a lower cost of ownership for its service provider customers • Scalability and ability to handle high transaction throughput loads • Support, training and expertise in PostgreSQL KEY CUSTOMER REQUIREMENTS • POC comparing Oracle features to PPAS, and PPAS met all requirements • Ability to influence EDB product roadmap • Compatibility with existing database infrastructure • Significant cost savings by replacing a commercial product with an enterprise-class open source database OTHER KEYS TO SUCCESS
  • 17.
    Case Study 2:Large Steel Manufacturer A multi-billion-dollar conglomerate, played a key role in India's growth story. CTO assigned special project to investigate alternatives to Oracle Project evaluated technical feasibility, cost and effort to migrate • Open source alternative to Oracle with a lower TCO and greater licensing flexibility • Oracle migration capabilities • Scalability & reliability • High availability KEY CUSTOMER REQUIREMENTS • Ability to leverage its existing database administrator and developer talent • Ease of moving existing Oracle applications to the new database • Commercial-grade quality and reliability, including backup and recovery standards, to support mission-critical applications • Scalable, high performance execution • Simple installation and configuration coupled with easy to use tools from Amazon avoid extra implementation costs OTHER KEYS TO SUCCESS
  • 18.
    info@enterprisedb.com Questions? © Copyright EnterpriseDBCorporation, 2017. All Rights Reserved.
  • 19.