Ace8 is the modernization practice of AceMQ.24/7 support from AceMQ after go-live
Book an Assessment

Oracle to PostgreSQL

Oracle to PostgreSQL migration: convert the code, then prove the data.

The data is the easy part. The PL/SQL, the Oracle-specific SQL and the behavior your application quietly relies on are the project.

  • Fixed-price assessment first
  • Every change engineer-signed
  • AceMQ 24/7 after go-live
billing-db · ora2pgparallel run
Oracle 19cPostgreSQL 16
Comparing results on both systems…
Illustrative run. Names and figures are examples, not client data.

The short answer

An Oracle to PostgreSQL migration converts the schema, PL/SQL code and data to PostgreSQL. Tools such as ora2pg, AWS Schema Conversion Tool and AWS DMS do the mechanical conversion and data load. Ace8 engineers rewrite what the tools cannot, such as packages and Oracle-specific behavior, and prove results match the source before cutover.

On this page

  • Oracle Database
  • PostgreSQL
  • AWS
  • Java
  • Hibernate
  • Oracle Database
  • PostgreSQL
  • AWS
  • Java
  • Hibernate
  • Oracle 19c→PostgreSQL 16
  • PL/SQL packages→Schemas holding PL/pgSQL functions
  • VARCHAR2 and empty strings→varchar or text
  • DATE (includes time)→timestamp
  • Sequences and triggers for keys→Identity columns or sequences
  • ROWNUM and CONNECT BY→LIMIT and recursive CTEs
  • Outer join (+) syntax→ANSI joins
  • Oracle 19c→PostgreSQL 16
  • PL/SQL packages→Schemas holding PL/pgSQL functions
  • VARCHAR2 and empty strings→varchar or text
  • DATE (includes time)→timestamp
  • Sequences and triggers for keys→Identity columns or sequences
  • ROWNUM and CONNECT BY→LIMIT and recursive CTEs
  • Outer join (+) syntax→ANSI joins

Tooling

What do ora2pg, SCT and DMS each do?

ora2pg is an open-source tool that reads an Oracle schema and generates PostgreSQL DDL. It also converts a good part of PL/SQL to PL/pgSQL and produces an assessment report with a rough migration-difficulty score. AWS Schema Conversion Tool (SCT) does a similar conversion with an assessment report that lists objects it could not convert. AWS Database Migration Service (DMS) moves data: a full load, then ongoing change capture.

Conversion tools are strongest on tables, indexes, constraints and simple procedures. They are weakest on packages, complex cursors and anything that leans on Oracle built-in packages. Plan for the remainder to be hand work.

The core of the project

What changes between Oracle and PostgreSQL?

This is the list we work through for each application. It is not complete, and each row can hide many objects.

Oracle featurePostgreSQL approachWhat needs care
PL/SQL packagesSchemas holding PL/pgSQL functionsPackage state and initialization have no direct equivalent
NUMBERnumeric, integer or bigint, chosen per columnWrong choice changes rounding or performance
VARCHAR2 and empty stringsvarchar or textOracle treats an empty string as NULL. PostgreSQL does not
DATE (includes time)timestampMapping to date silently drops the time
Sequences and triggers for keysIdentity columns or sequencesGaps and ordering assumptions
ROWNUM and CONNECT BYLIMIT and recursive CTEsOrdering semantics differ
Outer join (+) syntaxANSI joinsMechanical, but numerous
DBMS_ and UTL_ packagesExtensions such as orafce, or application codeScheduler, file and mail packages need redesign
Autonomous transactionsSeparate connection or dblink patternRedesign rather than translation
Materialized views, partitioningNative equivalents with different refresh rulesRefresh timing and partition maintenance

Want this mapped for your applications? Get a fixed scope and price before anything moves.

Applications

What changes in the application?

Applications call the database through drivers, ORMs and embedded SQL. JDBC URLs and drivers change. Hibernate dialect settings change. Any SQL written against Oracle syntax in application code must be found and converted, including SQL built from strings. That search is part of the inventory.

Where the application is Java on an old runtime, the database move often travels with a framework move. See Java modernization for the sequencing.

How every engagement runs

AI drafts. Engineers decide.

Three phases, the same on every stack. Each one ends with something you can hold us to.

Fixed priceAssess

Scope, cost and AI readiness, before any migration starts.

Assessment summary
Applications mapped
Risk scored
Phased plan
Price fixed
Ace8Modernize

AI-assisted, engineer-verified, one capability at a time.

upgrade: javax to jakarta
- import javax.persistence.Entity;+ import jakarta.persistence.Entity;- @Stateless+ @Service
AI draftEngineer approved
AceMQ · 24/7Run

AceMQ engineers support the new stack from day one.

ProductionOperational
On call: the team that ran the migration
  • Test before you touch
  • AI drafts, engineers decide
  • Strangle, don’t big-bang
  • Every step is reversible
  • Measure before and after
  • Open targets, no new lock-in
  • Fixed scope before fixed price
  • Plan the run before the cutover
Read the 8 principles

Data

How is the data moved without a long outage?

Step 01 of 05

Initial load

Bulk copy history to PostgreSQL while Oracle stays live.

Judgement

When is Oracle to PostgreSQL the wrong move?

Some workloads rely on Oracle features that PostgreSQL does not replace: heavy use of Real Application Clusters behavior, large amounts of Oracle-specific packages, or vendor applications that only support Oracle. In those cases the cost of conversion can exceed the licence saving. The assessment puts both numbers side by side, and sometimes the answer is to stay.

After go-live

Who supports PostgreSQL afterward?

Open-source PostgreSQL has no vendor to call. OSSeva provides support for PostgreSQL, including help with versions reaching end of life, so the migration does not trade a licence for an unsupported database. See supported after migration. This work sits inside database modernization.

Customers

Henry Schein DentalEnbridgeGojekMicrosoft

Partners

BroadcomRedisVMwareOSSeva

Proof

Delivered by the AceMQ engineering team.

IBM MQ → RabbitMQ

Phased migration with legacy code refactoring

Legacy messaging replaced in phases while the applications calling it were refactored. No big-bang cutover.

American NationalDelivered by the AceMQ engineering team

1,000+ apps

Spring and Java applications upgraded in 24 hours

A deterministic Spring upgrade process, run through Broadcom’s commercial Spring support, in a single 24-hour window.

Global financial institutionDelivered by the AceMQ engineering team

IBM MQ out

Proprietary messaging displaced

IBM MQ displaced with an open-source messaging stack, supported by AceMQ.

Global technology enterpriseDelivered by the AceMQ engineering team

FAQ

Frequently asked questions

Something else on your mind? Ask an engineer.

Tables and data are straightforward. The effort is PL/SQL packages, Oracle-specific SQL and application code. ora2pg's assessment report gives a first estimate of difficulty.

Start here

Know the cost before anything moves.

A fixed-price assessment gives you the inventory, the risk score and a phased plan. Scope and cost are fixed before the migration starts.

  • InventoryEvery application, its stack and what it depends on.
  • Risk scoreWhere a change is likely to break, ranked.
  • Phased planWhat moves first, which tools lead, and the fixed price.

Get in touch

Talk to a modernization engineer

Tell us what you run today. An engineer, not a sales script, replies within one business day.

305-204-2607info@ace8.io

66 W. Flagler St. 9th Floor
Miami, FL 33130

What are you moving off? *

Fixed price. Scope and cost before any migration starts.