The data load finishes, but the first customer transaction fails in converted database code. Another screen saves records but generates the wrong identifier. An Oracle to PostgreSQL migration can pass a table count check and still fail the application. Start with three separate deliverables: a reviewed schema, reconciled data and accepted application behavior. Assign an owner to each before choosing a cutover date.
Separate conversion from data movement
AWS DMS Schema Conversion converts source schemas into a format compatible with supported targets. Its documented Oracle to PostgreSQL path targets Amazon RDS for PostgreSQL or Amazon Aurora PostgreSQL. The service reads source metadata, produces an assessment and lets you review converted code before applying it or exporting SQL scripts. It does not move the source data.
AWS also documents an Oracle migration walkthrough using AWS Schema Conversion Tool, or AWS SCT, with DMS data migration. Keep these tool names distinct in your plan. A step written for the managed DMS Schema Conversion feature should not be treated as an identical screen or setting in the desktop AWS SCT workflow.
| Workstream | Expected output | Acceptance question |
|---|---|---|
| Schema conversion | Reviewed definitions and converted code | Are action items resolved and dependencies understood? |
| Data movement | Loaded data and a checked change process | Are missing or changed records explained? |
| Application migration | Tested queries and business workflows | Does the application behave correctly on PostgreSQL? |
| Cutover | A controlled switch of write authority | Can the team account for every accepted write? |
Inventory code and dependencies before converting
Build an inventory of tables, keys, indexes, views, materialized views, sequences, triggers, procedures and functions. Add application queries, scheduled processes and reporting consumers. This is a recommended engineering inventory, not a promise that one assessment discovers every external dependency. Ask application owners which database behaviors they rely on rather than assuming their only dependency is a connection string.
The AWS walkthrough explicitly separates data movement from objects such as secondary indexes, sequences, default values, stored procedures, triggers, synonyms and views. Do not use a successful DMS data task as evidence that these objects were migrated. Give each required object a target definition, a review owner and a test that exercises its behavior.
Turn assessment findings into owned work
DMS Schema Conversion can assess what converts automatically and what needs manual work. Oracle and PostgreSQL differ in identifier handling, packages, built-in functions and data types. Where conversion needs review, the service reports action items. Review those findings against the actual application rather than closing them because the generated SQL looks plausible.
Keep the converted SQL and the chosen settings together in a versioned review. Record why a mapping was accepted and which test supports it. If a source definition changes, rerun the affected review. Our recommendation is to make unexplained action items a release blocker for required paths, not to bury them in a document nobody reads during cutover.
Choose numeric mappings from the data contract
The optimized NUMBER mapping setting chooses a PostgreSQL numeric type based on precision and scale. Turning that setting off maps NUMBER columns to NUMERIC. A separate conversion option can map NUMBER primary and foreign key columns to BIGINT. AWS warns against that option when source values contain floating-point numbers. Treat the mapping as a decision about allowed values, not a way to make the target definition shorter.
We recommend checking actual values alongside declared definitions. Test negative amounts, fractional values, boundary values and identifiers from every system that writes to the database. Confirm that related columns use compatible decisions. Reconcile important business totals as well as row counts, and document rounding rules instead of silently accepting different output.
Review materialized views, sequences and built-ins
For materialized views, DMS Schema Conversion offers a regular table or a PostgreSQL materialized view as the target result. The documented default is a regular table. Decide who will maintain the resulting data and test that refresh path. A converted definition does not establish that the original refresh workflow has been recreated.
Converted sequences also need attention. The setting to populate them from the last source-generated value defaults to false. We recommend checking the chosen configuration and testing a new application insert after loading existing data. Inspect identifiers generated by the application and by database code, rather than assuming that retained row identifiers prove future inserts are safe.
The conversion settings distinguish emulation from native PostgreSQL calls for functions such as TO_CHAR and TO_DATE. Orafce routine choices require the extension to be available on the target and behavior compatible with the source usage. Select and test the functions actually used. Do not enable a collection of compatibility settings without reviewing the code they affect.
Run a complete migration rehearsal
- Apply reviewed schema definitions to an isolated target.
- Load a representative dataset with the selected data migration configuration.
- Compare counts, key relationships and business totals against a defined source boundary.
- Run application reads, writes, scheduled jobs and failure paths.
- Check new identifiers, reporting output and access with the intended users.
- Resolve findings in the mapping or code, then repeat the affected tests.
This is our recommended acceptance sequence. Include unusual records and rarely used workflows, not just the most common transaction. Keep credentials and production customer data out of unrestricted test outputs. A useful data migration result explains differences instead of presenting only a green task status.
Design cutover around write authority
DMS can capture source DML and supported DDL changes, but that does not mean every schema change or application behavior is automatically covered. Define the selected change path and test its boundaries. Agree who can change source definitions during the migration and how the target will be checked after those changes.
Before switching applications, define a write freeze or another explicitly tested handoff. Reconcile the final source boundary, check target writes and decide who can accept the switch. If PostgreSQL has accepted new writes, returning to an older Oracle state needs a plan for those writes. Keep rollback instructions tied to observed state, not an assumption that both databases remain interchangeable.
How Remqa helps with Oracle migrations
Remqa can help scope schema conversion, data reconciliation and the application work around an Oracle migration. We approach database-dependent changes as code migration work as well as a data transfer. Bring the database inventory, conversion findings and a critical application workflow to an engineer. We can discuss the remaining work and agree what evidence your team should require before cutover.