Most of the work is in the packages
A university's reporting database keeps its logic in PL/SQL packages and Oracle-specific SQL, and the Oracle renewal sets the deadline. Moving the data is the small part. Rewriting and testing the packages is the project.
Challenge
Ora2Pg moves the schema and the data mechanically. Its own README says the PL/SQL it generates for functions, procedures, packages and triggers has to be reviewed, so every object is converted, read by a person and tested.
Packages are where reporting databases hurt. PostgreSQL has no packages, so Ora2Pg exports each one as a schema of functions. It also has no package-level variables, and the PostgreSQL manual suggests temporary tables for per-session state, so each package is read for state and initialization code. Reporting code often commits inside loops, and in PostgreSQL only procedures run with CALL, and DO blocks, can end a transaction. Functions cannot.
The supplied packages are the next gap. orafce emulates DBMS_OUTPUT, UTL_FILE, DBMS_PIPE, DBMS_ALERT, DBMS_RANDOM and DBMS_UTILITY. Its README does not list DBMS_SCHEDULER, DBMS_JOB, DBMS_LOB, DBMS_CRYPTO or UTL_HTTP, so scheduled jobs become pg_cron or an external scheduler, and the rest becomes native handling or application code. CONNECT BY, ROWNUM, optimizer hints and fast-refresh materialized views need rewrites too, and a query that is fast on Oracle can be slow on PostgreSQL.
Environment
An Oracle reporting database feeding dashboards, batch jobs and ad hoc queries from several campus systems. Most business rules live in PL/SQL packages. Scheduled jobs refresh materialized views overnight, and some reports reach other Oracle systems through database links.
Options
Renew Oracle and leave the packages alone. Nothing breaks, and the renewal conversation comes back every cycle. For a database that a vendor certifies only on Oracle, this can be the right answer.
Do it in-house with Ora2Pg and orafce. Both are open source, so you keep the tools. Your team carries the package rewrite, the dual run, the cutover and the PostgreSQL operations afterward.
Migrate to a managed PostgreSQL service with the provider's schema conversion tool. It converts the schema, not the data, and the database then lives on that provider's service and version calendar.
Use OSSeva migration and support. One team runs the assessment through cutover, then supports the PostgreSQL cluster you land on, on your own servers, VMs, Kubernetes or cloud account.
Approach
The assessment inventories every package, procedure, function, trigger, job and database link, and ranks the code by how much hand rewriting it needs. Each use of an Oracle-only feature is marked as converting automatically, emulated with orafce, or needing a code change. Packages get a decision per package: the schema of functions that Ora2Pg produces, and a stated home for package state.
Conversion is done by people and tested against the same inputs on both databases. orafce goes in only where it saves application changes, and every use is listed. In the dual run, the converted reports run against PostgreSQL beside Oracle. Query results, batch output and plans are compared, and indexes and statistics are tuned for the differences.
Cutover follows a runbook with a final sync, go and no-go checks and a tested rollback to Oracle. The new cluster moves into OSSeva support the same day: Assure adds 24/7 reactive support and upgrade planning, and Operate adds monitoring and a 15-minute P1 response. The target is PostgreSQL 17 or 18. No duration is stated in advance. It depends on the schema, the volume of PL/SQL, the connected applications and the downtime window.
What this delivers
A written plan that says, package by package, what converts, what orafce covers and what needs a rewrite, a converted and tested reporting database proven in a dual run, and a rollback that was rehearsed before the change window. OSSeva does not support Oracle Database itself. The PostgreSQL cluster is priced per cluster. Book a discovery call for a quote.
Does Ora2Pg convert PL/SQL packages automatically?
Partly. It exports each package as a schema of functions and converts the code to PL/pgSQL, and its README says the result has to be reviewed. Package variables and state need a design decision.
Can orafce replace Oracle's supplied packages?
Some of them. It emulates DBMS_OUTPUT, UTL_FILE, DBMS_PIPE, DBMS_ALERT, DBMS_RANDOM and DBMS_UTILITY. It does not list DBMS_SCHEDULER, DBMS_JOB, DBMS_LOB, DBMS_CRYPTO or UTL_HTTP, so those need another route.
What happens to package variables?
PostgreSQL has no package-level variables. The usual route is a temporary table for per-session state, decided package by package during the assessment.
Is there a rollback after cutover?
The cutover runbook includes a tested rollback to Oracle. The dual run keeps Oracle live until the converted application has passed its checks.