0% found this document useful (0 votes)
214 views21 pages

Migrate From Oracle To Postgresql With Azure: Webinar Series

Uploaded by

pkpradeep5377
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
214 views21 pages

Migrate From Oracle To Postgresql With Azure: Webinar Series

Uploaded by

pkpradeep5377
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Azure webinar series

Migrate from Oracle


to PostgreSQL with
Azure
Welcome

How do I ask a question?


If you have a technical or content-related question, please use the Q&A window

We will address the questions as they come in

Can I view this presentation after the webinar?


Yes, this presentation is being recorded

A link to the recorded presentation will be sent to the email address you used to register
Meet our speaker

Saurabh Modi Sai Krishna Srirampur


Principal PM Sr. Software Engineer
Webinar Learning Objectives
At the end of the session, you should be better able to…

• Introduction to Postgres and benefits of Azure Database for PostgreSQL.

• Learn why customers are selecting Postgres to modernize Oracle


workloads.

• Demo, migrating Oracle to Azure Database for PostgreSQL. Learn what a


typical migration path can look like.
About Postgres
PostgreSQL is more popular than ever
DB-Engines’ ranking of PostgreSQL popularity

loved
wanted

DBMS of the
Year

https://insights.stackoverflow.com/survey/2019?utm_source=so-owned&utm_medium=blog&utm_campaign=dev-survey-2019&utm_content=launch-blog
https://db-engines.com/en/blog_post/76
https://db-engines.com/en/ranking_trend/system/PostgreSQL
PostgreSQL is more popular than ever
Why PostgreSQL?

Rich feature set Proven resilience & Open source


stability

enterprise- • Extensible
ready and tooling
• Rich indexing and data
types, including geospatial
Extensions
V.1 – Q3 FY20

With Azure, PhD not required

Fully managed Best total cost Enterprise scale Secure and Built-in Integrates Azure
OSS community of ownership with Hyperscale compliant with intelligence services
databases on with built in HA Scale PostgreSQL Advanced Threat optimizes with streamlined
MySQL, with 99.99% SLA databases across Protection and performance and provisioning and
PostgreSQL, 100s of nodes Azure IP Advantage security management
MariaDB with Hyperscale experience for common
OSS frameworks and
languages

Easy Developer
Enterprise-ready
migration productivity

© 2019 Microsoft Corporation


Azure
Migrations
Reasons to migrate Oracle to Azure PostgreSQL

POSTGRESQL PL/PGSQL
IS HIGHLY COMPATIBLE
WITH ORACLE PL/SQL
LOWERING MIGRATION
COST AND RISK Oracle

Azure
Migrate Oracle PL/SQL stored procedures, queries,
datatypes, packages, sequences etc. to PostgreSQL
with little or no code changes
Although incompatibilities exist, experts say
migrating from Oracle to PostgreSQL is no costlier
than upgrading from one major version of Oracle
to the next major version of Oracle
Reasons to migrate Oracle to Azure PostgreSQL

MANAGED COMMUNITY
VERSION
Focus on your apps by leaving the
management and patching of your
infrastructure and database to an
enterprise-ready cloud service with:
• Automatic updates
• Automatic security fixes
• Automatic new feature updates

PostgreSQL: 9.5, 9.6, 10, and 11


Oracle to PostgreSQL | Cost of Ownership
Customers migrate from
Oracle Database Cloud
Oracle Database
Service Enterprise Oracle Enterprise Azure Database for
Estimates Only Cloud Service
Edition High Edition PostgreSQL
Enterprise Edition

Oracle to Azure database


Performance

Database $9,599 / month $19,801 / month $47,500* / per CPU $2,046.34 / month

for PostgreSQL to reduce Virtual Private


Database
Included Included Included Row level security

overall cost of ownership by Partitioning Not included Included $11,500* / per CPU Included

up to 95% in savings* Data Guard Not included Not included $11,500* / per CPU Included

Spatial Not included Included $17,500* / per CPU Included

Diagnostics Included Included $7,500* / per CPU Included


Configuration is based on a 4 socket, 32 core x86 possessor
Tuning Pack Included Included $5,000* / per CPU Included
Oracle Cloud Service editions are based on virtual machines
Lifecycle Included as part of
• *Oracle licensing for Enterprise Edition is based on number Management Pack
Not included Included $12,000* / per CPU
OSS tool suite
of processors which is derived by multiplying the number of
cores by a factor. In the case of this example it is 32 cores Total Capex $0 $0 $1,800,000* $0
multiplied by .5 for x86 resulting in 16 processors.
Annual Support /
Maintenance per Included Included $396,000** Included
• **Annual maintenance and support for Oracle is 22% of the Server (Opex)
annual license cost.
Total 3 Year Cost of
$345,564 $712,836 $3,294,000*** $73,668
• ***Oracle standard terms for Enterprise Edition is 50% of list Ownership
pricing for 3 years. This example accounts for the 50% list
pricing for 3 years in the total.
Migration | Migrating a database
Post-migration

Optimize
Based on the tests you
performed, address any
Pre-migration Migration performance issues, and
then retest to confirm
the performance
improvements
Discover Assess Convert Migrate schema, Data sync Cutover
Remediate
data & objects
applications
Assess Migrate the Sync your Cut over from Iteratively make
Inventory Convert the
workloads source target schema the source to any necessary
database source schema
and fix schema, and and data with the target changes to your
assets, and to work in the
recommen then migrate the source. environment. applications
application target
stack dations environment. the source This is only This is only
discovery This is only data to the relevant for relevant for Run functional &
performance tests
relevant for target minimal- minimal-
downtime downtime Iteratively run
heterogeneous
migrations migrations functional and
migrations.
performance tests
Use Ora2pg for assess and schema migration
Oracle to PostgreSQL
End to End Migration
Example
• Schema Migration -ora2pg / Azure DMS
• App/DB Migration
• Stored procs in Oracle to Postgres – ora2pg
• Oracle SQL Queries generated from application to
PostgreSQL compatible queries- ora2pg
• Drivers/ORMs for making databases agnostic – use
PostgreSQL driver.
• Ex: JDBC/Hibernate in Java.
• Data Migration Azure
DMS
• Azure DMS – online data migration
Demo
Summary
ich indexing and data
types, (including geospatial).

• Customers are moving from Oracle to Azure Database for PostgreSQL:


- PL/PGSQL is highly compatible with PL/SQL making migrations easier and reducing risk.
- TCO
- Azure Database for PostgreSQL is based on community edition, no lock-in

• Leverage Microsoft’s expertise, IP, and tooling to migrate from Oracle to


PostgreSQL.
Resources
Migrate Oracle to Azure Database for PostgreSQL
https://datamigration.microsoft.com/scenario/oracle-to-azurepostgresql

Azure Database for PostgreSQL


https://azure.microsoft.com/en-us/services/postgresql/

Ask Azure DB for PostgreSQL


[email protected]

Azure Database Migration Guide


https://datamigration.microsoft.com/
Q&A
Subject matter experts will be available to answer questions for the
next 10 minutes. Please submit your questions using the Q&A
window.
Thank you for joining us.

You might also like