An enterprise is planning to migrate a legacy on-premises web application to AWS. The application currently uses an on-premises Oracle database. To reduce licensing costs, the solutions architect decides to migrate the database to Amazon Aurora PostgreSQL. This change will require converting the schema and rewriting several database queries in the application.
Which migration strategy from the 7 Rs framework is being applied to the database?
- AReplatforming (Lift-tinker-and-shift)
- BRehosting (Lift-and-shift)
- Refactoring (Re-architecting)Cevap
- DRelocating
Cevap
Refactoring (Re-architecting) is the correct migration strategy because migrating from an on-premises Oracle database to Amazon Aurora PostgreSQL requires schema conversion and code refactoring to adapt to the new database engine.
Refactoring (Re-architecting) is correct because converting the database engine from Oracle to Amazon Aurora PostgreSQL is a heterogeneous database migration that requires database schema conversion and application code modifications (e.g., rewriting SQL queries). This is a core characteristic of Refactoring.
Adım Adım Çözüm
Anahtar Kavram
Heterogeneous database migrations (e.g., Oracle to Aurora PostgreSQL) require refactoring because they involve schema conversion and application modifications.