Vous êtes sur la page 1sur 34

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. 1


Agenda

Company Overview
Why Migrate?
Finding the money to migrate
How to get started
Steps to Migrate
How EnterpriseDB can help
Summary
Q&A

2015 EnterpriseDB Corporation. All rights reserved. 2


Who is EDB?

2013 EDB All rights reserved 8.1. 3


Enterprise-class
Product features, tools &
road-map compatibility

Services Control
& training

24/7
support Certifications
Enabling commercial
adoption of Postgres
POSTGRES ENTERPRISE
innovation reliability

Advanced Low cost


features

Thousands
No vendor of developers
lock-in Fast
development
cycles

2015 EnterpriseDB Corporation. All rights reserved. 4


Why Migrate?

2013 EDB All rights reserved 8.1. 5


Is keeping the
IT Lights on
costing you Change the
IT Lights
business and
your future?

2015 EnterpriseDB Corporation. All rights reserved. 6


Little Money For
New Initiatives $
Revenue

DBMS

Customer
Engagement
$
t
Competitive
Disadvantage
2015 EnterpriseDB Corporation. All rights reserved. 7
Finding Money in IT
Relative Cost for IT Stack Components

Analytics

Mobile

Applications
High Value
Commodity Middle-ware Invest for Brand
Rationalize for Stability

$ Database Bloat $

Virtual Machine

Operating System

2015 EnterpriseDB Corporation. All rights reserved. 8


Finding Money in IT

35% 80% 70 +%

Software Infrastructure In House DBMS Apps Cost Savings (3)


Budget on DBMS (1) Candidates to Move Off
Expensive DBMS (2)

(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. 9


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.

Non-Mission Critical
Non-Mission Critical
Applications
Applications

Mission
Availability Mission Critical
Availability of DBA
of DBA Resources Critical Applications
Resources
Applications

DBA DBA
Total Cost of Total Cost of
Tools Tools
Ownership Ownership

DBMS DBMS
Functionality Functionality
Open-Source DBMS

2009 Commercial 2015

Figure 1 Figure 2
Relational Open-Source DBMS Maturity Evaluation, 2015 Relational Open-Source DBMS Maturity Evaluation,2015
Source: Gartner (April 2015) Source: Gartner (April 2015)

2015 EnterpriseDB Corporation. All rights reserved. 10


You Have The Money!

$ $ Revenue
Revenue

DBMS Transform Customer


DBMS Engagement

DBMS
Customer
Engagement
$ $
t Transform
t

2015 EnterpriseDB Corporation. All rights reserved. 11


The Key to Unlocking the Money:

Postgres Plus Advanced Server

2013 EDB All rights reserved 8.1. 12


POSTGRES
PLUS
ADVANCED SERVER

Security

Tools

Performance

Compatibility

2015 EnterpriseDB Corporation. All rights reserved. 13


Database Compatibility with Oracle
Compatible with:

Your People Your Apps Your Business

Oracle Applications Everything works


Developers Running on Oracle On EDB Postgres

2015 EnterpriseDB Corporation. All rights reserved. 14


Database Compatibility for Oracle includes:
SQL extension support Features
Decode, NVL, Substr, NVL2 Packages
Date/time functions: add_months, extract, Stored procedures
next_day Functions
PL/SQL support Triggers
Hints
REF Cursors, Implicit and explicit cursors
Looping, variable declarations, conditional Database Links
statements Hierarchical Queries
Collections: Associative Arrays, Varrays, Synonyms Public and Private
Nested tables Sequences
Bulk binding Rownum
Named parameters Object types
User Defined Exceptions Create type as object
Explicit Transaction Control Create type as table
within a stored procedure Create type as varray
Constructor and collection methods
Tools Users/Roles
EDB*Plus SQL*Plus look-a-like Dynamic SQL
EDB*Loader SQL*Loader equivalent
EDB*Wrap similar to the PL/SQL wrapper

2015 EnterpriseDB Corporation. All rights reserved. 15


Database Compatibility (cont.)
Data Types Package Support for:
Integer, number, char, double precision, DBMS_ALERT
float, varchar2, blob, clob, xmltype, rowid DBMS_CRYPTO
DBMS_JOB
Oracle-like Data Dictionary DBMS_LOB
ALL_, DBA_, USER_ views DBMS_LOCK.sleep
Most commonly accessed views DBMS_MVIEW
DBMS_OUTPUT
Diagnostics - DRITA DBMS_PIPE
System and session waits DBMS_PROFILER
Not exposed in PostgreSQL DBMS_RANDOM
Part of Advanced Server DBMS_RLS
Statspack-like reporting DBMS_SCHEDULER
DBMS_SQL
DBMS_UTILITY
Support for Functions:
REGEXP_INSTR Package Support for:
REGEXP_COUNT UTL_HTTP for web server communications
REGEXP_SUBSTR UTL_URL
UTL_TCP
Oracle compatible partitioning syntax UTL_FILE
UTL_MAIL
Oracle compatible Materialized Views UTL_SMTP
UTL_ENCODE
2013 EnterpriseDB. All rights reserved.
2015 EnterpriseDB Corporation. All rights reserved. 16
EDB
Migration Toolkit

2015 EnterpriseDB Corporation. All rights reserved. 17


Postgres Plus Deployment Strategies
Strategy Benefits
Significant cost savings for non mission critical
systems
New LOB Applications Leverages all existing Oracle skills
Very low risk
Significant cost savings
Oracle Replication Leverages Postgres Plus Replication Server
Server Leverages all existing Oracle skills
Improves transaction and query performance

Significant cost savings


Migrate / Rewrite non-
Leverages all existing Oracle skills
Mission Critical Apps
Very low risk

Biggest cost savings


Migrate / Rewrite Mission
Leverages all existing Oracle skills
Critical Apps
Greatest deployment flexibility

2015 EnterpriseDB Corporation. All rights reserved. 18


How to get started

2013 EDB All rights reserved 8.1. 19


Applications Inventory

Apps of Web & Mobile


Innovation
20% of all Apps

Application of Differentiation Custom Apps


60% of all Apps

Initial Target: ISV Apps


50 Custom Apps

Application of Record Custom Apps

Oracle, SAP,
20% of all Apps
MS Prop. Apps

2015 EnterpriseDB Corporation. All rights reserved. 20


Staged Application Migration Process

50 Apps

Pool 50% 30% 20%

Days/App 20 Days 40 Days 60 Days

# of Apps 25 Apps 15 Apps 10 Apps

Net Savings $3.7 Million $2.0 Million $1.2 Million

3yr (Net) ROI 140% 109% 84%

2015 EnterpriseDB Corporation. All rights reserved. 21


Iterative and Agile Motion Approach

Prioritize and
Plan Migration

Find the Sweet Spot Migrate Deploy

Build the Team

2015 EnterpriseDB Corporation. All rights reserved. 22


Steps to Migrate

2013 EDB All rights reserved 8.1. 23


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. 24


Steps to Migrate cont
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
25
2015 EnterpriseDB Corporation. All rights reserved. 25
How EDB can help

2013 EDB All rights reserved 8.1. 26


EDB can help you unlock money in
your IT stack to enable you to
innovate and compete

2015 EnterpriseDB Corporation. All rights reserved. 27


Build a Migration Baseline
Migration Services

Migration Migration Migration Plans


Opportunity Assessments
Assessment

Training Classes Migration


Assistance

2015 EnterpriseDB Corporation. All rights reserved. 28


Applications Inventory
$5B company Example
100 - 150 total applications
inventory
60 - 90 Apps are Custom
Apps of Web & Mobile
Apps
Innovation
Custom application footprint 20% of all Apps
2 dual socket, quad core
servers
16 cores
16 cores/app x ~ 50apps Application of Differentiation Custom Apps
= 800 cores 60% of all Apps

Initial Target: 50 Apps ISV Apps

Application of Record Custom Apps

Oracle, SAP,
20% of all Apps MS Prop. Apps

2015 EnterpriseDB Corporation. All rights reserved. 29


Database Migration Assessment

Oracle

1. Analyze Oracle schema layout for 2. Review features used in Oracle


supported features in PPAS client application

Difficult Easy

3. Supported features and recommended fixes 4. Overall composite score and migration plan
with workarounds and time estimates
30

2015 EnterpriseDB Corporation. All rights reserved. 30


EDB Postgres Deployment Services
Solution Cost

Postgres
Postgres Enterprise
Team Enablement
Postgres Success w. RDBA
Team w. RDBA
Success
Postgres
Kick Start
w. Developer
Subscription
Postgres
Eval
Support
Kit

Postgres Deployment
Pre-Deployment Post-Deployment

2015 EnterpriseDB Corporation. All rights reserved. 31


Global Training Services
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
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

2015 EnterpriseDB Corporation. All rights reserved. 32


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. 33


2015 EnterpriseDB Corporation. All rights reserved. 34

Vous aimerez peut-être aussi