SlideShare a Scribd company logo
© 2015 EnterpriseDB Corporation. All rights reserved. 1
Getting a Head Start: Migrating
Oracle to Postgres
To hear the recording of this presentation please visit Enterprisedb.com > Resources > Webcasts > On- Demand Webcasts
© 2015 EnterpriseDB Corporation. All rights reserved. 2
Agenda
•  Company Overview
•  Why Migrate?
•  Finding the money to migrate
•  How to get started
•  Steps to Migrate
•  How EnterpriseDB can help
•  Summary
•  Q&A
© 2013 EDB All rights reserved 8.1. 3
Who is EDB?
© 2015 EnterpriseDB Corporation. All rights reserved. 4
POSTGRES
innovation
ENTERPRISE
reliability
24/7
support
Services
& training
Enterprise-class
features, tools &
compatibility
Certifications
Product
road-map
Control
Thousands
of developers
Fast
development
cycles
Low cost
No vendor
lock-in
Advanced
features
Enabling commercial
adoption of Postgres
© 2013 EDB All rights reserved 8.1. 5
Why Migrate?
© 2015 EnterpriseDB Corporation. All rights reserved. 6
Is keeping the
“IT Lights” on
costing you
business and
your future?
Change the
“IT” Lights
© 2015 EnterpriseDB Corporation. All rights reserved. 7
Little Money For
New Initiatives
Competitive
Disadvantage
$
t
$
Revenue
DBMS
Customer
Engagement
© 2015 EnterpriseDB Corporation. All rights reserved. 8
Finding Money in IT
Relative Cost for IT Stack Components
Analytics
High Value
Invest for Brand
Mobile
Applications
Middle-ware
$ Database Bloat $
Virtual Machine
Operating System
Commodity
Rationalize for Stability
© 2015 EnterpriseDB Corporation. All rights reserved. 9
Finding Money in IT
35% 80% 70 %
Software Infrastructure
Budget on DBMS (1)
In House DBMS Apps
Candidates to Move Off
Expensive DBMS (2)
Cost Savings (3)
(1) Gartner, Forrester and EDB analysis
(2) The State of Open-Source RDBMS, 2015, Gartner, April 2015
(3) The State of Open-Source RDBMS, 2015, Gartner, April 2015; EDB analysis of customer experiences and market prices
+
© 2015 EnterpriseDB Corporation. All rights reserved. 10
Getting Money in IT
Gartner: Relational OSDBMS has matured and today can be considered as a
standard infrastructure choice for a large majority for new enterprise applications.
2009
Figure 1
Relational Open-Source DBMS Maturity Evaluation, 2015
Source: Gartner (April 2015)
Figure 2
Relational Open-Source DBMS Maturity Evaluation,2015
Source: Gartner (April 2015)
2015
Open-Source DBMS
Commercial
Non-Mission Critical
Applications
Non-Mission Critical
Applications
Mission
Critical
Applications
Mission
Critical
Applications
Total Cost of
Ownership
Total Cost of
Ownership
DBMS
Functionality
DBMS
Functionality
DBA
Tools
DBA
Tools
Availability
of DBA Resources
Availability of DBA
Resources
© 2015 EnterpriseDB Corporation. All rights reserved. 11
t
Transform
DBMS
Revenue
DBMS
Customer
Engagement
Revenue
DBMS
Customer
Engagement
$
t
$ $
$
Transform
You Have The Money!
© 2013 EDB All rights reserved 8.1. 12
The Key to Unlocking the Money:
Postgres Plus Advanced Server
© 2015 EnterpriseDB Corporation. All rights reserved. 13
Security
Tools
Performance
Compatibility
ADVANCED SERVER
POSTGRES
PLUS
© 2015 EnterpriseDB Corporation. All rights reserved. 14
Database Compatibility with Oracle®
Compatible with:
Your BusinessYour AppsYour People
Everything works
On EDB Postgres
Applications
Running on Oracle
Oracle
Developers
© 2015 EnterpriseDB Corporation. All rights reserved. 15
Database Compatibility for Oracle includes:
•  SQL extension support
−  Decode, NVL, Substr, NVL2
−  Date/time functions: add_months, extract,
next_day
•  PL/SQL support
−  REF Cursors, Implicit and explicit cursors
−  Looping, variable declarations, conditional
statements
−  Collections: Associative Arrays, Varrays,
Nested tables
−  Bulk binding
−  Named parameters
−  User Defined Exceptions
−  Explicit Transaction Control
−  within a stored procedure
•  Tools
−  EDB*Plus – SQL*Plus look-a-like
−  EDB*Loader – SQL*Loader equivalent
−  EDB*Wrap – similar to the PL/SQL wrapper
•  Features
−  Packages
−  Stored procedures
−  Functions
−  Triggers
−  Hints
−  Database Links
−  Hierarchical Queries
−  Synonyms – Public and Private
−  Sequences
−  Rownum
−  Object types
−  Create type … as object
−  Create type … as table
−  Create type …as varray
−  Constructor and collection methods
−  Users/Roles
−  Dynamic SQL
© 2015 EnterpriseDB Corporation. All rights reserved. 16
Database Compatibility (cont.)
•  Data Types
−  Integer, number, char, double precision,
float, varchar2, blob, clob, xmltype, rowid
•  Oracle-like Data Dictionary
−  ALL_, DBA_, USER_ views
−  Most commonly accessed views
•  Diagnostics - DRITA
−  System and session waits
−  Not exposed in PostgreSQL
−  Part of Advanced Server
−  Statspack-like reporting
•  Support for Functions:
−  REGEXP_INSTR
−  REGEXP_COUNT
−  REGEXP_SUBSTR
•  Oracle compatible partitioning syntax
•  Oracle compatible Materialized Views
© 2013 EnterpriseDB. All rights reserved.
•  Package Support for:
−  DBMS_ALERT
−  DBMS_CRYPTO
−  DBMS_JOB
−  DBMS_LOB
−  DBMS_LOCK.sleep
−  DBMS_MVIEW
−  DBMS_OUTPUT
−  DBMS_PIPE
−  DBMS_PROFILER
−  DBMS_RANDOM
−  DBMS_RLS
−  DBMS_SCHEDULER
−  DBMS_SQL
−  DBMS_UTILITY
•  Package Support for:
−  UTL_HTTP for web server communications
−  UTL_URL
−  UTL_TCP
−  UTL_FILE
−  UTL_MAIL
−  UTL_SMTP
−  UTL_ENCODE
© 2015 EnterpriseDB Corporation. All rights reserved. 17
EDBMigration Toolkit
© 2015 EnterpriseDB Corporation. All rights reserved. 18
Postgres Plus Deployment Strategies
Strategy Benefits
New LOB Applications
• Significant cost savings for non mission critical
systems
• Leverages all existing Oracle skills
• Very low risk
Oracle Replication
Server
• Significant cost savings
• Leverages Postgres Plus Replication Server
• Leverages all existing Oracle skills
• Improves transaction and query performance
Migrate / Rewrite non-
Mission Critical Apps
• Significant cost savings
• Leverages all existing Oracle skills
• Very low risk
Migrate / Rewrite Mission
Critical Apps
• Biggest cost savings
• Leverages all existing Oracle skills
• Greatest deployment flexibility
© 2013 EDB All rights reserved 8.1. 19
How to get started
© 2015 EnterpriseDB Corporation. All rights reserved. 20
Applications Inventory
Apps of
Innovation
20% of all Apps
Application of Differentiation
60% of all Apps
Application of Record
20% of all Apps
Initial Target:
50 Custom Apps
Web & Mobile
Custom Apps
Custom Apps
Oracle, SAP,
MS Prop. Apps
ISV Apps
© 2015 EnterpriseDB Corporation. All rights reserved. 21
Staged Application Migration Process
50 Apps
Pool
Days/App
# of Apps
Net Savings
3yr (Net) ROI
50% 30% 20%
20 Days 40 Days 60 Days
25 Apps 15 Apps 10 Apps
$3.7 Million $2.0 Million $1.2 Million
140% 109% 84%
© 2015 EnterpriseDB Corporation. All rights reserved. 22
Iterative and Agile Motion Approach
Find the Sweet Spot
Prioritize and
Plan Migration
Build the Team
Migrate Deploy
© 2013 EDB All rights reserved 8.1. 23
Steps to Migrate
© 2015 EnterpriseDB Corporation. All rights reserved. 24
Steps to Migrate
•  Prepare Environment
−  Obtain and install necessary software
−  Establish connectivity between systems
−  Copy the Oracle JDBC jar file to jre/lib/ext directory in Postgres Plus Advanced
Server Installation
•  Migrate Schema
−  Use Migration Toolkit in schema only mode
−  Resolve issues here before going to next phase
•  Migrate Data
−  Use command line MTK
−  Use –copyViaDBLinkOra
−  Uses OCI to connect to Oracle
−  Use parallel threads
−  Use dblink_ora_copy function directly to bypass logging
−  Export Oracle data to flat files, load using EDB*Loader
© 2015 EnterpriseDB Corporation. All rights reserved. 25
Steps to Migrate con’t
25
•  Port Application
−  Change connection information
−  Recompile /Link application (OCI or Pro*C)
•  Test
−  Verify application functionality
−  Address issues
−  Test performance
−  Tune
•  Integration
−  Establish co-existence strategy
−  Setup database links to other databases
−  Setup replication between Oracle or SQL Server and Postgres
Plus Advanced Server
•  Rollout
−  System becomes production
© 2013 EDB All rights reserved 8.1. 26
How EDB can help
© 2015 EnterpriseDB Corporation. All rights reserved. 27
EDB can help you unlock money in
your IT stack to enable you to
innovate and compete
© 2015 EnterpriseDB Corporation. All rights reserved. 28
Build a Migration Baseline
Migration Services
Migration
Opportunity
Assessment
Migration
Assessments
Migration Plans
Training Classes Migration
Assistance
© 2015 EnterpriseDB Corporation. All rights reserved. 29
Applications Inventory
$5B company – Example
•  100 - 150 total applications
inventory
•  60 - 90 Apps are Custom
Apps
Custom application footprint
•  2 dual socket, quad core
servers
•  16 cores
•  16 cores/app x ~ 50apps
= 800 cores
Apps of
Innovation
20% of all Apps
Application of Differentiation
60% of all Apps
Application of Record
20% of all Apps
Initial Target: 50 Apps
Web & Mobile
Custom Apps
Custom Apps
Oracle, SAP,
MS Prop. Apps
ISV Apps
© 2015 EnterpriseDB Corporation. All rights reserved. 30
Database Migration Assessment
30
Oracle
1. Analyze Oracle schema layout for
supported features in PPAS
2. Review features used in Oracle
client application
3. Supported features and recommended fixes
Difficult Easy
4. Overall composite score and migration plan
with workarounds and time estimates
© 2015 EnterpriseDB Corporation. All rights reserved. 31
EDB Postgres Deployment Services
Postgres
Eval
Support
Kit
Postgres
Kick Start
• w. Developer
Subscription
Postgres
Team
Success
Postgres
Team
Success
• w. RDBA
Postgres
Enterprise
Enablement
• w. RDBA
SolutionCost
Postgres Deployment
Pre-Deployment Post-Deployment
© 2015 EnterpriseDB Corporation. All rights reserved. 32
Global Training Services
•  Online
−  Live and interactive training delivered to remote participants by trained EDB
personnel (or a contractor)
−  1-5 days
−  Scheduled in advance; schedules are published at EnterpriseDB.com
•  On-Demand
−  Pre-recorded training sessions
−  4-14 hours
−  Available at EnterpriseDB.com
•  Off-site Open Enrollment
−  Marketed, sold and delivered by EDB Certified Training Partner
−  Currently available in EMEA and Asean
•  Onsite
−  Delivered at the customer site by EDB
trained personnel
−  Marketed and sold by EDB or EDB Partner (licenses EDB materials)
−  1-5 days scheduled as needed
© 2015 EnterpriseDB Corporation. All rights reserved. 33
Summary
•  Migrations are no longer impossible
•  Compatibility provides
−  Lower cost of migrations
−  Shorter migration timelines
−  Lower risk (you can always go back)
•  EnterpriseDB provides
−  Oracle compatibility
−  Automated tools to migrate from Oracle
−  And others: MySQL, Sybase, SQL Server (data & schema)
•  Migration Expertise for:
−  Planning
−  Performing migration
−  Testing
−  Rollout
http://www.enterprisedb.com/solutions/oracle-compatibility
© 2015 EnterpriseDB Corporation. All rights reserved. 34

More Related Content

PDF
Migrating Oracle database to PostgreSQL
PDF
Oracle to Postgres Migration - part 2
PDF
Oracle to Postgres Migration - part 1
PDF
Migration From Oracle to PostgreSQL
PPTX
Oracle to Postgres Schema Migration Hustle
 
PDF
Enterprise Architecture vs. Data Architecture
PPTX
Mongo db intro.pptx
PDF
mysql 8.0 architecture and enhancement
Migrating Oracle database to PostgreSQL
Oracle to Postgres Migration - part 2
Oracle to Postgres Migration - part 1
Migration From Oracle to PostgreSQL
Oracle to Postgres Schema Migration Hustle
 
Enterprise Architecture vs. Data Architecture
Mongo db intro.pptx
mysql 8.0 architecture and enhancement

What's hot (20)

PPTX
Common MongoDB Use Cases
PDF
MySQL Scalability and Reliability for Replicated Environment
PPTX
Intro to Neo4j
PDF
Data Warehouse or Data Lake, Which Do I Choose?
PDF
Best practices for DB2 for z/OS log based recovery
PPTX
Data Warehousing Trends, Best Practices, and Future Outlook
PPTX
All of the Performance Tuning Features in Oracle SQL Developer
PPTX
Mongodb basics and architecture
PPTX
Oracle SQL Developer Tips & Tricks
PDF
Replicação Lógica no PostgreSQL 10
PDF
Auditing and Monitoring PostgreSQL/EPAS
 
PPTX
How to Migrate from Oracle to EDB Postgres
PDF
Moving to Databricks & Delta
PDF
Introducing Databricks Delta
PPTX
Oracle sql high performance tuning
PDF
NATS - A new nervous system for distributed cloud platforms
PDF
Introduction to Data Vault Modeling
PDF
SQream DB, GPU-accelerated data warehouse
PDF
Unlocking the Power of Lakehouse Architectures with Apache Pulsar and Apache ...
PDF
High-Performance Advanced Analytics with Spark-Alchemy
Common MongoDB Use Cases
MySQL Scalability and Reliability for Replicated Environment
Intro to Neo4j
Data Warehouse or Data Lake, Which Do I Choose?
Best practices for DB2 for z/OS log based recovery
Data Warehousing Trends, Best Practices, and Future Outlook
All of the Performance Tuning Features in Oracle SQL Developer
Mongodb basics and architecture
Oracle SQL Developer Tips & Tricks
Replicação Lógica no PostgreSQL 10
Auditing and Monitoring PostgreSQL/EPAS
 
How to Migrate from Oracle to EDB Postgres
Moving to Databricks & Delta
Introducing Databricks Delta
Oracle sql high performance tuning
NATS - A new nervous system for distributed cloud platforms
Introduction to Data Vault Modeling
SQream DB, GPU-accelerated data warehouse
Unlocking the Power of Lakehouse Architectures with Apache Pulsar and Apache ...
High-Performance Advanced Analytics with Spark-Alchemy
Ad

Viewers also liked (20)

PDF
Key Methodologies for Migrating from Oracle to Postgres
 
PDF
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
PDF
Porting Oracle Applications to PostgreSQL
PDF
The Real Scoop on Migrating from Oracle Databases
 
PDF
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
PDF
Reducing the Risks of Migrating Off Oracle
 
PPTX
Product Update: EDB Postgres Platform 2017
 
PDF
Da Oracle a PostgreSQL: l'evoluzione dei RDBMS
PDF
Autonomous transaction
PDF
Migrando de Oracle para PostgreSQL
PDF
EnterpriseDB Postgres Survey Results - 2013
 
PDF
NoSQL on ACID - Meet Unstructured Postgres
 
PDF
Most Wanted: Future PostgreSQL Features
PDF
Top 10 Tips for an Effective Postgres Deployment
 
PDF
Love Your Database (ESC 2k16)
PPTX
PGEncryption_Tutorial
PDF
Pentaho Data Integration - Integração e Migração de Dados com ETL Open Source...
PDF
Getting Started with PostGIS
 
PDF
Big Data at Oracle - Strata 2015 San Jose
PDF
Optimizing Your Postgres ROI Through Best Practices
 
Key Methodologies for Migrating from Oracle to Postgres
 
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Porting Oracle Applications to PostgreSQL
The Real Scoop on Migrating from Oracle Databases
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Reducing the Risks of Migrating Off Oracle
 
Product Update: EDB Postgres Platform 2017
 
Da Oracle a PostgreSQL: l'evoluzione dei RDBMS
Autonomous transaction
Migrando de Oracle para PostgreSQL
EnterpriseDB Postgres Survey Results - 2013
 
NoSQL on ACID - Meet Unstructured Postgres
 
Most Wanted: Future PostgreSQL Features
Top 10 Tips for an Effective Postgres Deployment
 
Love Your Database (ESC 2k16)
PGEncryption_Tutorial
Pentaho Data Integration - Integração e Migração de Dados com ETL Open Source...
Getting Started with PostGIS
 
Big Data at Oracle - Strata 2015 San Jose
Optimizing Your Postgres ROI Through Best Practices
 
Ad

Similar to Migrating from Oracle to Postgres (20)

PDF
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
PDF
Optimizing Open Source for Greater Database Savings & Control
 
PDF
Optimizing Open Source for Greater Database Savings and Control
 
PDF
EDB Executive Presentation 101515
PPTX
EDB's Migration Portal - Migrate from Oracle to Postgres
 
PPTX
Migrating from legacy Database to Postgres
PDF
Drive DBMS Transformation with EDB Postgres
 
PDF
EDB & ELOS Technologies - Break Free from Oracle
 
PDF
Optimize with Open Source
 
PPTX
Transform your DBMS to drive engagement innovation with Big Data
PDF
Transform Your DBMS to Drive Application Innovation
 
PPTX
Replacing Oracle with EDB Postgres
 
PPTX
Break Free from Oracle
 
PPTX
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
 
PPTX
Szabaduljon ki az Oracle szorításából
 
PDF
Reducing Database Pain & Costs with Postgres
 
PPTX
How to migrate from Oracle to EDB Postgres
PDF
EDB_Data_Sheet_EDB_Corp
PDF
10/ EnterpriseDB @ OPEN'16
PDF
Transform DBMS to Drive Apps of Engagement Innovation
 
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
Optimizing Open Source for Greater Database Savings & Control
 
Optimizing Open Source for Greater Database Savings and Control
 
EDB Executive Presentation 101515
EDB's Migration Portal - Migrate from Oracle to Postgres
 
Migrating from legacy Database to Postgres
Drive DBMS Transformation with EDB Postgres
 
EDB & ELOS Technologies - Break Free from Oracle
 
Optimize with Open Source
 
Transform your DBMS to drive engagement innovation with Big Data
Transform Your DBMS to Drive Application Innovation
 
Replacing Oracle with EDB Postgres
 
Break Free from Oracle
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
 
Szabaduljon ki az Oracle szorításából
 
Reducing Database Pain & Costs with Postgres
 
How to migrate from Oracle to EDB Postgres
EDB_Data_Sheet_EDB_Corp
10/ EnterpriseDB @ OPEN'16
Transform DBMS to Drive Apps of Engagement Innovation
 

More from EDB (20)

PDF
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
PDF
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
PDF
Migre sus bases de datos Oracle a la nube
 
PDF
EFM Office Hours - APJ - July 29, 2021
 
PDF
Benchmarking Cloud Native PostgreSQL
 
PDF
Las Variaciones de la Replicación de PostgreSQL
 
PDF
NoSQL and Spatial Database Capabilities using PostgreSQL
 
PDF
Is There Anything PgBouncer Can’t Do?
 
PDF
Data Analysis with TensorFlow in PostgreSQL
 
PDF
Practical Partitioning in Production with Postgres
 
PDF
A Deeper Dive into EXPLAIN
 
PDF
IOT with PostgreSQL
 
PDF
A Journey from Oracle to PostgreSQL
 
PDF
Psql is awesome!
 
PDF
EDB 13 - New Enhancements for Security and Usability - APJ
 
PPTX
Comment sauvegarder correctement vos données
 
PDF
Cloud Native PostgreSQL - Italiano
 
PDF
New enhancements for security and usability in EDB 13
 
PPTX
Best Practices in Security with PostgreSQL
 
PDF
Cloud Native PostgreSQL - APJ
 
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migre sus bases de datos Oracle a la nube
 
EFM Office Hours - APJ - July 29, 2021
 
Benchmarking Cloud Native PostgreSQL
 
Las Variaciones de la Replicación de PostgreSQL
 
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Is There Anything PgBouncer Can’t Do?
 
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
 

Recently uploaded (20)

PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Transform Your Business with a Software ERP System
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
history of c programming in notes for students .pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Digital Strategies for Manufacturing Companies
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
ai tools demonstartion for schools and inter college
PDF
System and Network Administraation Chapter 3
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
System and Network Administration Chapter 2
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
L1 - Introduction to python Backend.pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Transform Your Business with a Software ERP System
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
history of c programming in notes for students .pptx
How Creative Agencies Leverage Project Management Software.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Essential Infomation Tech presentation.pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
CHAPTER 2 - PM Management and IT Context
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Digital Strategies for Manufacturing Companies
Reimagine Home Health with the Power of Agentic AI​
ai tools demonstartion for schools and inter college
System and Network Administraation Chapter 3
wealthsignaloriginal-com-DS-text-... (1).pdf
System and Network Administration Chapter 2
Odoo Companies in India – Driving Business Transformation.pdf
Understanding Forklifts - TECH EHS Solution
L1 - Introduction to python Backend.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle

Migrating from Oracle to Postgres

  • 1. © 2015 EnterpriseDB Corporation. All rights reserved. 1 Getting a Head Start: Migrating Oracle to Postgres To hear the recording of this presentation please visit Enterprisedb.com > Resources > Webcasts > On- Demand Webcasts
  • 2. © 2015 EnterpriseDB Corporation. All rights reserved. 2 Agenda •  Company Overview •  Why Migrate? •  Finding the money to migrate •  How to get started •  Steps to Migrate •  How EnterpriseDB can help •  Summary •  Q&A
  • 3. © 2013 EDB All rights reserved 8.1. 3 Who is EDB?
  • 4. © 2015 EnterpriseDB Corporation. All rights reserved. 4 POSTGRES innovation ENTERPRISE reliability 24/7 support Services & training Enterprise-class features, tools & compatibility Certifications Product road-map Control Thousands of developers Fast development cycles Low cost No vendor lock-in Advanced features Enabling commercial adoption of Postgres
  • 5. © 2013 EDB All rights reserved 8.1. 5 Why Migrate?
  • 6. © 2015 EnterpriseDB Corporation. All rights reserved. 6 Is keeping the “IT Lights” on costing you business and your future? Change the “IT” Lights
  • 7. © 2015 EnterpriseDB Corporation. All rights reserved. 7 Little Money For New Initiatives Competitive Disadvantage $ t $ Revenue DBMS Customer Engagement
  • 8. © 2015 EnterpriseDB Corporation. All rights reserved. 8 Finding Money in IT Relative Cost for IT Stack Components Analytics High Value Invest for Brand Mobile Applications Middle-ware $ Database Bloat $ Virtual Machine Operating System Commodity Rationalize for Stability
  • 9. © 2015 EnterpriseDB Corporation. All rights reserved. 9 Finding Money in IT 35% 80% 70 % Software Infrastructure Budget on DBMS (1) In House DBMS Apps Candidates to Move Off Expensive DBMS (2) Cost Savings (3) (1) Gartner, Forrester and EDB analysis (2) The State of Open-Source RDBMS, 2015, Gartner, April 2015 (3) The State of Open-Source RDBMS, 2015, Gartner, April 2015; EDB analysis of customer experiences and market prices +
  • 10. © 2015 EnterpriseDB Corporation. All rights reserved. 10 Getting Money in IT Gartner: Relational OSDBMS has matured and today can be considered as a standard infrastructure choice for a large majority for new enterprise applications. 2009 Figure 1 Relational Open-Source DBMS Maturity Evaluation, 2015 Source: Gartner (April 2015) Figure 2 Relational Open-Source DBMS Maturity Evaluation,2015 Source: Gartner (April 2015) 2015 Open-Source DBMS Commercial Non-Mission Critical Applications Non-Mission Critical Applications Mission Critical Applications Mission Critical Applications Total Cost of Ownership Total Cost of Ownership DBMS Functionality DBMS Functionality DBA Tools DBA Tools Availability of DBA Resources Availability of DBA Resources
  • 11. © 2015 EnterpriseDB Corporation. All rights reserved. 11 t Transform DBMS Revenue DBMS Customer Engagement Revenue DBMS Customer Engagement $ t $ $ $ Transform You Have The Money!
  • 12. © 2013 EDB All rights reserved 8.1. 12 The Key to Unlocking the Money: Postgres Plus Advanced Server
  • 13. © 2015 EnterpriseDB Corporation. All rights reserved. 13 Security Tools Performance Compatibility ADVANCED SERVER POSTGRES PLUS
  • 14. © 2015 EnterpriseDB Corporation. All rights reserved. 14 Database Compatibility with Oracle® Compatible with: Your BusinessYour AppsYour People Everything works On EDB Postgres Applications Running on Oracle Oracle Developers
  • 15. © 2015 EnterpriseDB Corporation. All rights reserved. 15 Database Compatibility for Oracle includes: •  SQL extension support −  Decode, NVL, Substr, NVL2 −  Date/time functions: add_months, extract, next_day •  PL/SQL support −  REF Cursors, Implicit and explicit cursors −  Looping, variable declarations, conditional statements −  Collections: Associative Arrays, Varrays, Nested tables −  Bulk binding −  Named parameters −  User Defined Exceptions −  Explicit Transaction Control −  within a stored procedure •  Tools −  EDB*Plus – SQL*Plus look-a-like −  EDB*Loader – SQL*Loader equivalent −  EDB*Wrap – similar to the PL/SQL wrapper •  Features −  Packages −  Stored procedures −  Functions −  Triggers −  Hints −  Database Links −  Hierarchical Queries −  Synonyms – Public and Private −  Sequences −  Rownum −  Object types −  Create type … as object −  Create type … as table −  Create type …as varray −  Constructor and collection methods −  Users/Roles −  Dynamic SQL
  • 16. © 2015 EnterpriseDB Corporation. All rights reserved. 16 Database Compatibility (cont.) •  Data Types −  Integer, number, char, double precision, float, varchar2, blob, clob, xmltype, rowid •  Oracle-like Data Dictionary −  ALL_, DBA_, USER_ views −  Most commonly accessed views •  Diagnostics - DRITA −  System and session waits −  Not exposed in PostgreSQL −  Part of Advanced Server −  Statspack-like reporting •  Support for Functions: −  REGEXP_INSTR −  REGEXP_COUNT −  REGEXP_SUBSTR •  Oracle compatible partitioning syntax •  Oracle compatible Materialized Views © 2013 EnterpriseDB. All rights reserved. •  Package Support for: −  DBMS_ALERT −  DBMS_CRYPTO −  DBMS_JOB −  DBMS_LOB −  DBMS_LOCK.sleep −  DBMS_MVIEW −  DBMS_OUTPUT −  DBMS_PIPE −  DBMS_PROFILER −  DBMS_RANDOM −  DBMS_RLS −  DBMS_SCHEDULER −  DBMS_SQL −  DBMS_UTILITY •  Package Support for: −  UTL_HTTP for web server communications −  UTL_URL −  UTL_TCP −  UTL_FILE −  UTL_MAIL −  UTL_SMTP −  UTL_ENCODE
  • 17. © 2015 EnterpriseDB Corporation. All rights reserved. 17 EDBMigration Toolkit
  • 18. © 2015 EnterpriseDB Corporation. All rights reserved. 18 Postgres Plus Deployment Strategies Strategy Benefits New LOB Applications • Significant cost savings for non mission critical systems • Leverages all existing Oracle skills • Very low risk Oracle Replication Server • Significant cost savings • Leverages Postgres Plus Replication Server • Leverages all existing Oracle skills • Improves transaction and query performance Migrate / Rewrite non- Mission Critical Apps • Significant cost savings • Leverages all existing Oracle skills • Very low risk Migrate / Rewrite Mission Critical Apps • Biggest cost savings • Leverages all existing Oracle skills • Greatest deployment flexibility
  • 19. © 2013 EDB All rights reserved 8.1. 19 How to get started
  • 20. © 2015 EnterpriseDB Corporation. All rights reserved. 20 Applications Inventory Apps of Innovation 20% of all Apps Application of Differentiation 60% of all Apps Application of Record 20% of all Apps Initial Target: 50 Custom Apps Web & Mobile Custom Apps Custom Apps Oracle, SAP, MS Prop. Apps ISV Apps
  • 21. © 2015 EnterpriseDB Corporation. All rights reserved. 21 Staged Application Migration Process 50 Apps Pool Days/App # of Apps Net Savings 3yr (Net) ROI 50% 30% 20% 20 Days 40 Days 60 Days 25 Apps 15 Apps 10 Apps $3.7 Million $2.0 Million $1.2 Million 140% 109% 84%
  • 22. © 2015 EnterpriseDB Corporation. All rights reserved. 22 Iterative and Agile Motion Approach Find the Sweet Spot Prioritize and Plan Migration Build the Team Migrate Deploy
  • 23. © 2013 EDB All rights reserved 8.1. 23 Steps to Migrate
  • 24. © 2015 EnterpriseDB Corporation. All rights reserved. 24 Steps to Migrate •  Prepare Environment −  Obtain and install necessary software −  Establish connectivity between systems −  Copy the Oracle JDBC jar file to jre/lib/ext directory in Postgres Plus Advanced Server Installation •  Migrate Schema −  Use Migration Toolkit in schema only mode −  Resolve issues here before going to next phase •  Migrate Data −  Use command line MTK −  Use –copyViaDBLinkOra −  Uses OCI to connect to Oracle −  Use parallel threads −  Use dblink_ora_copy function directly to bypass logging −  Export Oracle data to flat files, load using EDB*Loader
  • 25. © 2015 EnterpriseDB Corporation. All rights reserved. 25 Steps to Migrate con’t 25 •  Port Application −  Change connection information −  Recompile /Link application (OCI or Pro*C) •  Test −  Verify application functionality −  Address issues −  Test performance −  Tune •  Integration −  Establish co-existence strategy −  Setup database links to other databases −  Setup replication between Oracle or SQL Server and Postgres Plus Advanced Server •  Rollout −  System becomes production
  • 26. © 2013 EDB All rights reserved 8.1. 26 How EDB can help
  • 27. © 2015 EnterpriseDB Corporation. All rights reserved. 27 EDB can help you unlock money in your IT stack to enable you to innovate and compete
  • 28. © 2015 EnterpriseDB Corporation. All rights reserved. 28 Build a Migration Baseline Migration Services Migration Opportunity Assessment Migration Assessments Migration Plans Training Classes Migration Assistance
  • 29. © 2015 EnterpriseDB Corporation. All rights reserved. 29 Applications Inventory $5B company – Example •  100 - 150 total applications inventory •  60 - 90 Apps are Custom Apps Custom application footprint •  2 dual socket, quad core servers •  16 cores •  16 cores/app x ~ 50apps = 800 cores Apps of Innovation 20% of all Apps Application of Differentiation 60% of all Apps Application of Record 20% of all Apps Initial Target: 50 Apps Web & Mobile Custom Apps Custom Apps Oracle, SAP, MS Prop. Apps ISV Apps
  • 30. © 2015 EnterpriseDB Corporation. All rights reserved. 30 Database Migration Assessment 30 Oracle 1. Analyze Oracle schema layout for supported features in PPAS 2. Review features used in Oracle client application 3. Supported features and recommended fixes Difficult Easy 4. Overall composite score and migration plan with workarounds and time estimates
  • 31. © 2015 EnterpriseDB Corporation. All rights reserved. 31 EDB Postgres Deployment Services Postgres Eval Support Kit Postgres Kick Start • w. Developer Subscription Postgres Team Success Postgres Team Success • w. RDBA Postgres Enterprise Enablement • w. RDBA SolutionCost Postgres Deployment Pre-Deployment Post-Deployment
  • 32. © 2015 EnterpriseDB Corporation. All rights reserved. 32 Global Training Services •  Online −  Live and interactive training delivered to remote participants by trained EDB personnel (or a contractor) −  1-5 days −  Scheduled in advance; schedules are published at EnterpriseDB.com •  On-Demand −  Pre-recorded training sessions −  4-14 hours −  Available at EnterpriseDB.com •  Off-site Open Enrollment −  Marketed, sold and delivered by EDB Certified Training Partner −  Currently available in EMEA and Asean •  Onsite −  Delivered at the customer site by EDB trained personnel −  Marketed and sold by EDB or EDB Partner (licenses EDB materials) −  1-5 days scheduled as needed
  • 33. © 2015 EnterpriseDB Corporation. All rights reserved. 33 Summary •  Migrations are no longer impossible •  Compatibility provides −  Lower cost of migrations −  Shorter migration timelines −  Lower risk (you can always go back) •  EnterpriseDB provides −  Oracle compatibility −  Automated tools to migrate from Oracle −  And others: MySQL, Sybase, SQL Server (data & schema) •  Migration Expertise for: −  Planning −  Performing migration −  Testing −  Rollout http://www.enterprisedb.com/solutions/oracle-compatibility
  • 34. © 2015 EnterpriseDB Corporation. All rights reserved. 34