SlideShare a Scribd company logo
An Expert Guide to
Migrating Legacy
Databases to Postgres
Presented by:
Marc Linster, Ph.D.
Chief Technology Officer
12 August 2020
Slides and recording will be available in next 48 hours
Submit questions via GotoWebinar – will be answering at end
We will be sharing info about EDB and Postgres later
Welcome – Housekeeping Items
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.3
Agenda
Break free from Oracle
1. EDB introduction
2. Challenges with Oracle database
3. Leave Oracle for PostgreSQL
4. Choose EDB for your Oracle migration
5. Next steps
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.4
Oracle
Database:
our focus
today
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.5
Why leave Oracle database?
Oracle’s high licensing costs
• Many features now commoditized
• Painful contract terms
70% of new apps on open source DBs
• Take control
• Increase innovation
• Reduce lock-in risks
Cloud/containers increasingly important
• Cloud provides new alternatives
• Often coupled with open source
Price Open Source Strategy Cloud/Replatforming
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.6
What obstacles exist?
Migrations are hard Oracle skills
Troublesome contracts Apps developed for Oracle
• Much assessment and effort required
• Across schema, data, and application
• Businesses have invested Oracle training
• Concern of losing those skills/expertise
• Oracle licenses are complicated
• And audits are disruptive
• Oracle-specifics ingrained in the app
• Difficult to migrate one without the
other
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.7
The considerations of a migration
• Objects and code
• Mapping data types
• Handling syntax differences
• Raising incompatibilities
Schemas
• Methodology: Bulk, ongoing, fallback
• Tools: ETL, validation
Data
• Hosting environment
• Deployment type
• DBMS optimization
• Proprietary utilization
Infrastructure
• Code
• Languages
• Connectors
• Syntax
Application
• Performance
• Optimization
• Indexing
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.8
Survey: What is your biggest obstacle when
migrating Oracle databases to Postgres?
1500 respondents from EDB
PostgreSQL download page
(July 2020)
Leave Oracle
for PostgreSQL
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.10
You’re not alone
Here are the top 5 reasons enterprises leave Oracle for PostgreSQL.
PostgreSQL offers
significant
cost savings
Easier to
replatform to
cloud/hybrid
You can avoid
vendor lock-in
Innovation action
in in Open Source
Smoother path
to Digital
Transformation
Choose EDB
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.12
Choose EDB for your Oracle migration
With over 300 successful customers migrated, we have the knowledge
and expertise to help you reduce costs and mitigate risks of migration
Deep compatibility
with Oracle database
24x7 support for any Postgres
deployment at any scale
Comprehensive migration
tools and services
Deep
compatibility
with Oracle
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.14
EDB Postgres Advanced Server
Migrate from
Oracle faster
Reduce risk and
support compliance
Improve developer
and DBA productivity
The Oracle alternative
Compatibility with Oracle
database schemas, data types,
indexes, users, roles,
partitioning, packages, views,
PL/SQL triggers, stored procedures,
functions, and utilities
Meet HIPAA, GDPR, and PCI
regulations with enhanced
security features such as password
policy management, session tag
auditing, data redaction, and SQL
injection protection
Over 200 pre-packaged utility
functions, user-defined object
types, autonomous
transactions, nested tables,
synonyms, advanced queueing,
catalog views, and more
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.15
EDB Postgres Advanced Server
Benefits of compatibility
Leverage existing infrastructure
with native PL/SQL support
and OCI interoperability
No need to retrain
Oracle DBAs and developers
Lower costs and
reduce risks
Your apps Your people Your business
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.16
Robust compatibility
SCHEMAS
DATA TYPES
SQL EXTENSIONS
SQL CAPABILITIES
TRIGGERS
INDEXES
TABLES
TOOLS
EDB*LOADER
EDB*PLUS
VIEWS
FUNCTIONS
USERS/ROLES
STORED PROCEDURES
WAITEVENTS
PL/SQLSUPPORT
PARTITIONING
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.17
Database compatibility support
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
PL/SQL supplied packages
18 DBMS
7 UTL
Data types
Blobs, Clobs, XMLTYPE, VARCHAR2, NUMBER, CHAR, Integer
Drivers
JDBC, ODBC, .NET with Oracle extensions
OCI & ProC compatible drivers
Features
Packages
Stored procedures
Functions
Triggers
Hints
Hierarchical Queries
Synonyms – Public and Private
Sequences
Rownum
Users/Roles
Dynamic SQL
Materialized Views
Partitioning
EDB Postgres Advanced Server 11:
Pragma Autonomous Transaction and DBMS_REDACT
EDB Postgres Advanced Server 12:
Interval partition; MEDIAN, LISTAGG, COMPOUND TRIGGER
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.18
DBA UTILITIES
EDB Postgres Advanced Server Native Capabilities
CLIENT INTERFACES DB SERVER
PARSER
PostgreSQL types,
function, queries,
pl/pgSQL, etc.
Oracle types,
function, procedures,
queries, pl/SQL,
packages,
declarative partitions,
etc.
OPTIMIZER/
PLANNER
Declarative
partitioning, interval
partitioning,, query
hints, CONNECT BY
ROWNUM,
jdbc, odbc, ocl, libpq,.
node.js,psycopg2, .net,
RPostgresQL, DBD::Pg,
pgtcl, libpqxx,etc.
Oracle compatible jdbc,
.net, odbc,ocl, ecpg*plus
and libpq(EDB)
EXTENSIONS/
LOADABLE MODULES
pl/pgSQL, PostGIS,
pgcrypto, foreign
data wrappers, etc.
PL/SQL compiler &
interpreter (aka SPL)
Value-add packages:
• DBMS_AQ
• DBMS_Profiler
• DBMS_Schedule
• DBMS_RLS
• UTL_FILE, etc.
Installable language
packs:
• Perl
• Python
• TCL
EXECUTOR
Shared Buffers
Write-Ahead Log
Resource Manager
Autonomous
transactions
UTILITIES
CREATE TABLE,
COPY, etc.
Database links,
Oracle catalogue/
dictionary
Synonyms, etc.
SECURITY
Users, roles,
groups, etc.
• Data Redaction
• Password Profiles
• Separate Audit Log
• SQL Protect
• Virtual Private
Database
• EDB*Wrap
DBA UTILITIES
pg_prewarm, pg_catcheck
PL/SQL Debugger, SQL
Profiler, EDB*Loader,
EDB*Plus, Dynatune, etc.
MANAGEMENT UTILITIES
DRITA
PostgreSQL capability
EDB Postgres Advanced Server add-on capability
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.19
● 17% of all schemas had at least one
reference to PRAGMA
AUTONOMOUS_TRANSACTION
● 15% had at least one HINT
● 36% referred to at least one of the
EDB supported Oracle packages
● Basis: 2.2M DDL constructs analyzed
in 2020
Migration Portal - 2020 Observations
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.20
EDB Postgres Oracle-compatible 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
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.21
EDB COMPATIBILITY WITH ORACLE
SCHEMA DATA CODE
PART OF THE WAY
SCHEMA AND DATA ONLY
MOST OF THE WAY
SCHEMA, DATA, AND CODE
API Tools
All the way
SCHEMA, DATA, CODE, INTERFACE, and OPERATIONAL TOOLS
Almost there
SCHEMA, DATA, CODE, AND INTERFACE
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.22
WHAT MAKES A GOOD MIGRATION 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
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.23
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
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.24
EDB POSTGRES MAKES IT EASY
EDB Advanced Server: Oracle
compatible Postgres
Migration tools:
• EDB Migration Portal: Cloud-based migration for
schemas and stored procedures
• EDB Migration Toolkit: One-time data migration
• EDB Replication Server: Change data capture for large
migrations with minimal downtime
Oracle-compatible Application drivers: OCL, JDBC, ODBC, .NET, ECPG*Plus
Management Tools
• EDB Postgres Enterprise Manager
• EDB Failover Manager
Comprehensive
migration tools
and services
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.26
Migration tools and services
Migration Portal Migration Toolkit Migration Services
• Free, web-based tool
• Assess Oracle schema compatibility
• Converts Oracle objects to
EDB Postgres Advanced Server
• Command line tool
• Granular control schema and
data migration
• From Oracle to EDB Postgres
Advanced Server
• For complex migrations
• Or business that are short-staffed
• Helps ensure a smooth transition
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.27
EDB Migration Portal
• Online assessment and migration of
Oracle schemas
• Compatibility in EDB Postgres Advanced
Server
• Schemas
• DB code
• Application interfaces
• Rich knowledge base from 10+ years of
migrations
• Continuous release of new code
translations
Example output
24x7 support
for any
PostgreSQL
deployment at
any scale
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.29
24/7 world-class support for every EDB product
Experienced support engineers, backed up by some of the world’s leading
Postgres contributors, available 24x7 to help you resolve technical issues
PostgreSQL Technical Support Remote DBA Service
Cloud DBA Service Technical Account Management
24x7 expert technical support
for PostgreSQL
Expert help and 24x7 coverage for
your on-premises applications without
hiring a full-time DBA
DBAs with both cloud and Postgres
expertise for 24x7 coverage
Proactive assistance getting the most
from EDB products, services, and support
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.30
Recommended Next Steps
Lunch & Learn
Deep dive on your project needs and EDB compatibility
with Oracle
Migration Assessment
Try the migration portal!
Migration Discovery exercise with EDB
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.31
Core team Major contributors Contributors
EDB Open Source Leadership
Named EDB open source committers and contributors
Akshay Joshi Amul Sul Ashesh Vashi Ashutosh Sharma Jeevan Chalke
Dilip Kumar Jeevan Ladhe Mithun Cy Rushabh Lathia Amit Khandekar
Amit Langote Devrim Gündüz
Robert Haas
Bruce Momjian
Dave Page
Designates PostgreSQL committers
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.32
• Enterprise PostgreSQL innovations
• 4,000+ global customers
• Recognized by Gartner Magic Quadrant for 7 years in a row
• One of the only sub-$1bn revenue companies
• PostgreSQL community leadership
2019
Challengers Leaders
Niche Players Visionaries
Abilitytoexecute
Completeness of vision
1986
The Design
of PostgreSQL
1996
Birth of
PostgreSQL
2004
EDB
is founded
2020
TodayMaterialized
Views
Parallel
Query
JIT
Compilation
Heap Only
Tuples (HOT)
Serializable
Parallel Query
We’re database fanatics who care
deeply about PostgreSQL
Expertise
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.33 © Copyright EnterpriseDB Corporation, 2020. All rights reserved.33
IT Director
Chief
Architect
DevOps
Manager
Developer
Database
Administrator
Enabling teams to understand the full potential of PostgreSQL
Education
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.34
Market Success
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.35
Learn More
Other resources
Thank You
Next Webinar: August 26
Beginners Guide to High Availability for Postgres
Postgres Pulse EDB Youtube
Channel

More Related Content

What's hot (20)

PPTX
An overview of reference architectures for Postgres
EDB
 
PDF
Making your PostgreSQL Database Highly Available
EDB
 
PPTX
Beginner's Guide to High Availability for Postgres
EDB
 
PPTX
New enhancements for security and usability in EDB 13
EDB
 
PDF
Best Practices & Lessons Learned from Deployment of PostgreSQL
EDB
 
PPTX
An overview of reference architectures for Postgres
EDB
 
PPTX
Database Dumps and Backups
EDB
 
PPTX
Automating a PostgreSQL High Availability Architecture with Ansible
EDB
 
PPTX
How to Design for Database High Availability
EDB
 
PDF
Beginner's Guide to High Availability for Postgres - French
EDB
 
PPTX
How to use postgresql.conf to configure and tune the PostgreSQL server
EDB
 
PPTX
Migration DB2 to EDB - Project Experience
EDB
 
PPTX
EDB Postgres Platform 11 Webinar
EDB
 
PDF
Beginner's Guide to High Availability for Postgres
EDB
 
PDF
Introducing Data Redaction - an enabler to data security in EDB Postgres Adva...
EDB
 
PDF
A Journey from Oracle to PostgreSQL
EDB
 
PPTX
PostgreSQL to Accelerate Innovation
EDB
 
PDF
Remote DBA Service: Powering your DBA needs
EDB
 
PPTX
OLTP+OLAP=HTAP
EDB
 
PDF
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
EDB
 
An overview of reference architectures for Postgres
EDB
 
Making your PostgreSQL Database Highly Available
EDB
 
Beginner's Guide to High Availability for Postgres
EDB
 
New enhancements for security and usability in EDB 13
EDB
 
Best Practices & Lessons Learned from Deployment of PostgreSQL
EDB
 
An overview of reference architectures for Postgres
EDB
 
Database Dumps and Backups
EDB
 
Automating a PostgreSQL High Availability Architecture with Ansible
EDB
 
How to Design for Database High Availability
EDB
 
Beginner's Guide to High Availability for Postgres - French
EDB
 
How to use postgresql.conf to configure and tune the PostgreSQL server
EDB
 
Migration DB2 to EDB - Project Experience
EDB
 
EDB Postgres Platform 11 Webinar
EDB
 
Beginner's Guide to High Availability for Postgres
EDB
 
Introducing Data Redaction - an enabler to data security in EDB Postgres Adva...
EDB
 
A Journey from Oracle to PostgreSQL
EDB
 
PostgreSQL to Accelerate Innovation
EDB
 
Remote DBA Service: Powering your DBA needs
EDB
 
OLTP+OLAP=HTAP
EDB
 
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
EDB
 

Similar to Expert Guide to Migrating Legacy Databases to Postgres (20)

PPTX
Un guide complet pour la migration de bases de données héritées vers PostgreSQL
EDB
 
PPTX
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQL
EDB
 
PPTX
Szabaduljon ki az Oracle szorításából
EDB
 
PDF
EDB & ELOS Technologies - Break Free from Oracle
EDB
 
PPTX
Break Free from Oracle
EDB
 
PPTX
How to Migrate from Oracle to EDB Postgres
Ashnikbiz
 
PPTX
How to migrate from Oracle to EDB Postgres
Ashnikbiz
 
PPTX
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB
 
PDF
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EDB
 
PPTX
Replacing Oracle with EDB Postgres
EDB
 
PPTX
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
EDB
 
PPTX
Oracle Migration to Postgres in the Cloud
EDB
 
PDF
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
PGConf APAC
 
PDF
Key Methodologies for Migrating from Oracle to Postgres
EDB
 
PPTX
Oracle to Postgres Schema Migration Hustle
EDB
 
PPTX
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
EDB
 
PDF
Reducing the Risks of Migrating Off Oracle
EDB
 
PPTX
EDB Database Servers and Tools
Ashnikbiz
 
PPTX
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
PPTX
No Time to Waste: Migrate from Oracle to Postgres in Minutes
EDB
 
Un guide complet pour la migration de bases de données héritées vers PostgreSQL
EDB
 
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQL
EDB
 
Szabaduljon ki az Oracle szorításából
EDB
 
EDB & ELOS Technologies - Break Free from Oracle
EDB
 
Break Free from Oracle
EDB
 
How to Migrate from Oracle to EDB Postgres
Ashnikbiz
 
How to migrate from Oracle to EDB Postgres
Ashnikbiz
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB
 
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EDB
 
Replacing Oracle with EDB Postgres
EDB
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
EDB
 
Oracle Migration to Postgres in the Cloud
EDB
 
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
PGConf APAC
 
Key Methodologies for Migrating from Oracle to Postgres
EDB
 
Oracle to Postgres Schema Migration Hustle
EDB
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
EDB
 
Reducing the Risks of Migrating Off Oracle
EDB
 
EDB Database Servers and Tools
Ashnikbiz
 
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
No Time to Waste: Migrate from Oracle to Postgres in Minutes
EDB
 
Ad

More from EDB (20)

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

Recently uploaded (20)

PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 

Expert Guide to Migrating Legacy Databases to Postgres

  • 1. An Expert Guide to Migrating Legacy Databases to Postgres Presented by: Marc Linster, Ph.D. Chief Technology Officer 12 August 2020
  • 2. Slides and recording will be available in next 48 hours Submit questions via GotoWebinar – will be answering at end We will be sharing info about EDB and Postgres later Welcome – Housekeeping Items
  • 3. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.3 Agenda Break free from Oracle 1. EDB introduction 2. Challenges with Oracle database 3. Leave Oracle for PostgreSQL 4. Choose EDB for your Oracle migration 5. Next steps
  • 4. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.4 Oracle Database: our focus today
  • 5. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.5 Why leave Oracle database? Oracle’s high licensing costs • Many features now commoditized • Painful contract terms 70% of new apps on open source DBs • Take control • Increase innovation • Reduce lock-in risks Cloud/containers increasingly important • Cloud provides new alternatives • Often coupled with open source Price Open Source Strategy Cloud/Replatforming
  • 6. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.6 What obstacles exist? Migrations are hard Oracle skills Troublesome contracts Apps developed for Oracle • Much assessment and effort required • Across schema, data, and application • Businesses have invested Oracle training • Concern of losing those skills/expertise • Oracle licenses are complicated • And audits are disruptive • Oracle-specifics ingrained in the app • Difficult to migrate one without the other
  • 7. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.7 The considerations of a migration • Objects and code • Mapping data types • Handling syntax differences • Raising incompatibilities Schemas • Methodology: Bulk, ongoing, fallback • Tools: ETL, validation Data • Hosting environment • Deployment type • DBMS optimization • Proprietary utilization Infrastructure • Code • Languages • Connectors • Syntax Application • Performance • Optimization • Indexing
  • 8. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.8 Survey: What is your biggest obstacle when migrating Oracle databases to Postgres? 1500 respondents from EDB PostgreSQL download page (July 2020)
  • 10. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.10 You’re not alone Here are the top 5 reasons enterprises leave Oracle for PostgreSQL. PostgreSQL offers significant cost savings Easier to replatform to cloud/hybrid You can avoid vendor lock-in Innovation action in in Open Source Smoother path to Digital Transformation
  • 12. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.12 Choose EDB for your Oracle migration With over 300 successful customers migrated, we have the knowledge and expertise to help you reduce costs and mitigate risks of migration Deep compatibility with Oracle database 24x7 support for any Postgres deployment at any scale Comprehensive migration tools and services
  • 14. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.14 EDB Postgres Advanced Server Migrate from Oracle faster Reduce risk and support compliance Improve developer and DBA productivity The Oracle alternative Compatibility with Oracle database schemas, data types, indexes, users, roles, partitioning, packages, views, PL/SQL triggers, stored procedures, functions, and utilities Meet HIPAA, GDPR, and PCI regulations with enhanced security features such as password policy management, session tag auditing, data redaction, and SQL injection protection Over 200 pre-packaged utility functions, user-defined object types, autonomous transactions, nested tables, synonyms, advanced queueing, catalog views, and more
  • 15. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.15 EDB Postgres Advanced Server Benefits of compatibility Leverage existing infrastructure with native PL/SQL support and OCI interoperability No need to retrain Oracle DBAs and developers Lower costs and reduce risks Your apps Your people Your business
  • 16. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.16 Robust compatibility SCHEMAS DATA TYPES SQL EXTENSIONS SQL CAPABILITIES TRIGGERS INDEXES TABLES TOOLS EDB*LOADER EDB*PLUS VIEWS FUNCTIONS USERS/ROLES STORED PROCEDURES WAITEVENTS PL/SQLSUPPORT PARTITIONING
  • 17. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.17 Database compatibility support 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 PL/SQL supplied packages 18 DBMS 7 UTL Data types Blobs, Clobs, XMLTYPE, VARCHAR2, NUMBER, CHAR, Integer Drivers JDBC, ODBC, .NET with Oracle extensions OCI & ProC compatible drivers Features Packages Stored procedures Functions Triggers Hints Hierarchical Queries Synonyms – Public and Private Sequences Rownum Users/Roles Dynamic SQL Materialized Views Partitioning EDB Postgres Advanced Server 11: Pragma Autonomous Transaction and DBMS_REDACT EDB Postgres Advanced Server 12: Interval partition; MEDIAN, LISTAGG, COMPOUND TRIGGER
  • 18. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.18 DBA UTILITIES EDB Postgres Advanced Server Native Capabilities CLIENT INTERFACES DB SERVER PARSER PostgreSQL types, function, queries, pl/pgSQL, etc. Oracle types, function, procedures, queries, pl/SQL, packages, declarative partitions, etc. OPTIMIZER/ PLANNER Declarative partitioning, interval partitioning,, query hints, CONNECT BY ROWNUM, jdbc, odbc, ocl, libpq,. node.js,psycopg2, .net, RPostgresQL, DBD::Pg, pgtcl, libpqxx,etc. Oracle compatible jdbc, .net, odbc,ocl, ecpg*plus and libpq(EDB) EXTENSIONS/ LOADABLE MODULES pl/pgSQL, PostGIS, pgcrypto, foreign data wrappers, etc. PL/SQL compiler & interpreter (aka SPL) Value-add packages: • DBMS_AQ • DBMS_Profiler • DBMS_Schedule • DBMS_RLS • UTL_FILE, etc. Installable language packs: • Perl • Python • TCL EXECUTOR Shared Buffers Write-Ahead Log Resource Manager Autonomous transactions UTILITIES CREATE TABLE, COPY, etc. Database links, Oracle catalogue/ dictionary Synonyms, etc. SECURITY Users, roles, groups, etc. • Data Redaction • Password Profiles • Separate Audit Log • SQL Protect • Virtual Private Database • EDB*Wrap DBA UTILITIES pg_prewarm, pg_catcheck PL/SQL Debugger, SQL Profiler, EDB*Loader, EDB*Plus, Dynatune, etc. MANAGEMENT UTILITIES DRITA PostgreSQL capability EDB Postgres Advanced Server add-on capability
  • 19. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.19 ● 17% of all schemas had at least one reference to PRAGMA AUTONOMOUS_TRANSACTION ● 15% had at least one HINT ● 36% referred to at least one of the EDB supported Oracle packages ● Basis: 2.2M DDL constructs analyzed in 2020 Migration Portal - 2020 Observations
  • 20. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.20 EDB Postgres Oracle-compatible 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
  • 21. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.21 EDB COMPATIBILITY WITH ORACLE SCHEMA DATA CODE PART OF THE WAY SCHEMA AND DATA ONLY MOST OF THE WAY SCHEMA, DATA, AND CODE API Tools All the way SCHEMA, DATA, CODE, INTERFACE, and OPERATIONAL TOOLS Almost there SCHEMA, DATA, CODE, AND INTERFACE
  • 22. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.22 WHAT MAKES A GOOD MIGRATION 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
  • 23. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.23 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
  • 24. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.24 EDB POSTGRES MAKES IT EASY EDB Advanced Server: Oracle compatible Postgres Migration tools: • EDB Migration Portal: Cloud-based migration for schemas and stored procedures • EDB Migration Toolkit: One-time data migration • EDB Replication Server: Change data capture for large migrations with minimal downtime Oracle-compatible Application drivers: OCL, JDBC, ODBC, .NET, ECPG*Plus Management Tools • EDB Postgres Enterprise Manager • EDB Failover Manager
  • 26. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.26 Migration tools and services Migration Portal Migration Toolkit Migration Services • Free, web-based tool • Assess Oracle schema compatibility • Converts Oracle objects to EDB Postgres Advanced Server • Command line tool • Granular control schema and data migration • From Oracle to EDB Postgres Advanced Server • For complex migrations • Or business that are short-staffed • Helps ensure a smooth transition
  • 27. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.27 EDB Migration Portal • Online assessment and migration of Oracle schemas • Compatibility in EDB Postgres Advanced Server • Schemas • DB code • Application interfaces • Rich knowledge base from 10+ years of migrations • Continuous release of new code translations Example output
  • 29. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.29 24/7 world-class support for every EDB product Experienced support engineers, backed up by some of the world’s leading Postgres contributors, available 24x7 to help you resolve technical issues PostgreSQL Technical Support Remote DBA Service Cloud DBA Service Technical Account Management 24x7 expert technical support for PostgreSQL Expert help and 24x7 coverage for your on-premises applications without hiring a full-time DBA DBAs with both cloud and Postgres expertise for 24x7 coverage Proactive assistance getting the most from EDB products, services, and support
  • 30. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.30 Recommended Next Steps Lunch & Learn Deep dive on your project needs and EDB compatibility with Oracle Migration Assessment Try the migration portal! Migration Discovery exercise with EDB
  • 31. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.31 Core team Major contributors Contributors EDB Open Source Leadership Named EDB open source committers and contributors Akshay Joshi Amul Sul Ashesh Vashi Ashutosh Sharma Jeevan Chalke Dilip Kumar Jeevan Ladhe Mithun Cy Rushabh Lathia Amit Khandekar Amit Langote Devrim Gündüz Robert Haas Bruce Momjian Dave Page Designates PostgreSQL committers
  • 32. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.32 • Enterprise PostgreSQL innovations • 4,000+ global customers • Recognized by Gartner Magic Quadrant for 7 years in a row • One of the only sub-$1bn revenue companies • PostgreSQL community leadership 2019 Challengers Leaders Niche Players Visionaries Abilitytoexecute Completeness of vision 1986 The Design of PostgreSQL 1996 Birth of PostgreSQL 2004 EDB is founded 2020 TodayMaterialized Views Parallel Query JIT Compilation Heap Only Tuples (HOT) Serializable Parallel Query We’re database fanatics who care deeply about PostgreSQL Expertise
  • 33. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.33 © Copyright EnterpriseDB Corporation, 2020. All rights reserved.33 IT Director Chief Architect DevOps Manager Developer Database Administrator Enabling teams to understand the full potential of PostgreSQL Education
  • 34. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.34 Market Success
  • 35. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.35 Learn More Other resources Thank You Next Webinar: August 26 Beginners Guide to High Availability for Postgres Postgres Pulse EDB Youtube Channel