A team migrates an Oracle database to Amazon Aurora PostgreSQL. Tables, views and stored procedures must be converted to the new engine. What helps?
- Exam domain
- Data Store Management26% of the exam
- Difficulty
- Medium
- In this mock
- 23 questions on this domainPractise this domain
Why the exam asks this
Task Statement 2.4: Design data models and schema evolution.
Objective in the exam guide: Perform schema conversion (for example, by using AWS SCT and AWS DMS Schema Conversion).
Moving between database engines is common in modernization projects. Schema conversion is usually the hardest part, and AWS has tools for it.
Why A is the answer
AWS Schema Conversion Tool or DMS Schema Conversion, followed by AWS DMS for the data
Schema conversion tools translate schemas and code between engines; DMS then moves the data.
Remember: Heterogeneous migration: convert schemas first, then migrate data with DMS.
How it works
Different database engines use different data types, SQL dialects and procedural languages.
AWS SCT and DMS Schema Conversion translate schemas, views and code from the source engine to the target, and report what needs manual changes.
After conversion, AWS DMS migrates the data itself.
Clues in the question
The words that point to the answer, and what each one tells you.
- Oracle to Aurora PostgreSQL
- A change of engine.
- Stored procedures must be converted
- Schema and code conversion.
In detail
- Conversion reports show which objects need manual work.
- Schema conversion and data migration are separate steps.
Side by side with look-alikes
| Step | Tool |
|---|---|
| Convert schema and code | SCT or DMS Schema Conversion |
| Migrate data | AWS DMS |
| Validate | Row counts and tests |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. AWS Schema Conversion Tool or DMS Schema Conversion, followed by AWS DMS for the dataRight
Heterogeneous migration: convert schemas first, then migrate data with DMS.
B. Copying the Oracle files to S3 and reading them in AuroraWrongMost tempting
Database files are not readable by another engine.
Why it tempts: S3 is the common staging place for data. But engine-specific database files cannot be read by another engine.
C. Rewriting every object from memoryWrong
Manual rewrites are slow and error prone.
D. Amazon AppFlowWrong
AppFlow handles SaaS sources, not database schemas.
In practice
- Review the conversion report early to estimate manual effort.
Use case
An illustrative scenario, not a real incident.
DMS Schema Conversion converts 90% of objects automatically; the team rewrites the rest, then DMS loads the data.
See how it works
flowchart LR O["Oracle"] --> C["Schema conversion"] C --> A["Aurora PostgreSQL schema"] O --> D["AWS DMS data migration"] D --> A
How to read this chart
- "Oracle" leads to "Schema conversion" and "AWS DMS data migration".
- "Schema conversion" leads to "Aurora PostgreSQL schema".
- "AWS DMS data migration" leads to "Aurora PostgreSQL schema".