Using SQL Developer Migration Workbench to Move Schemas to Oracle
SQL Developer Migration Workbench can capture and convert source schemas to Oracle, but complex PL/SQL and large data loads still need manual work and verification.
15 Jan 2026, 16:27 UTC

Start with the schema, not the data
Your team has a working MySQL application schema and a mandate to move it to Oracle Autonomous Database. Hand-writing DDL for hundreds of tables is slow, but you do not know whether SQL Developer Migration Workbench will convert the schema cleanly or leave you with a pile of unresolved warnings.
The useful takeaway: Migration Workbench is a solid choice for capturing standard tables, data types, and simple constraints, then generating Oracle DDL. It is not a hands-off migration engine. Stored procedures with dynamic SQL, vendor-specific functions, and very large data volumes usually require manual rewrites or separate tools.
What the Migration Workbench actually moves
The tool works in three phases: capture, convert, and deploy. During capture, SQL Developer reads the source schema through JDBC or a generated script and stores a source model in a migration repository. The repository is an Oracle database schema, often the local XE database or a user-specified instance, that keeps both the source model and the converted Oracle model so you can re-run steps incrementally.
In the conversion phase, the wizard maps source data types to Oracle equivalents and generates Oracle DDL. During deploy, it runs that DDL against the target database. You can also use Oracle Data Pump or SQL*Loader for bulk data movement after schema creation.
Worked example: converting a MySQL customer table
These steps assume SQL Developer 23.x; confirm supported source versions in the migration guide for your release. Run SQL Developer on your workstation.
- Open Migration > Migrate to Oracle and create a migration repository. This requires a local Oracle database and privileges to create the repository user and its objects.
- Capture the source model by connecting to MySQL over JDBC. The source database account needs read access to the data dictionary and to the schemas being migrated.
- Convert the source model to the Oracle model. Review the conversion report for objects marked with warnings.
- Generate DDL and deploy to the target Oracle database. The target user needs CREATE SESSION, CREATE TABLE, and related object privileges.
For a source table like this:
CREATE TABLE customers ( id INT AUTO_INCREMENT PRIMARY KEY, email VARCHAR(100) NOT NULL, created_at DATETIME NOT NULL );
The converter may produce Oracle DDL similar to this:
CREATE TABLE customers ( id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY, email VARCHAR2(100) NOT NULL, created_at TIMESTAMP NOT NULL );
That identity syntax applies to Oracle 12c and later. Older target versions may instead use a sequence and trigger, so inspect the generated DDL before deploying. Also confirm whether VARCHAR2 uses byte or character semantics for your data.
| Source type | Typical Oracle conversion | What to verify |
|---|---|---|
| INT AUTO_INCREMENT | NUMBER GENERATED BY DEFAULT AS IDENTITY, or sequence plus trigger | Target Oracle version and generated DDL |
| VARCHAR(100) | VARCHAR2(100) | Byte versus character semantics |
| DATETIME | TIMESTAMP or DATE | Fractional seconds requirements |
After conversion, use the built-in Compare Models feature to list objects that did not convert cleanly. A clean report does not mean the application will work; it means the DDL was generated.
Where the wizard stops helping
- Complex stored procedures with dynamic SQL or vendor-specific functions are flagged, not automatically rewritten.
- The migration repository schema can change between major SQL Developer versions. Use the same major version for capture and deploy.
- Autonomous Database targets require wallet configuration and network access control lists. The wizard does not validate connectivity until the deploy step.
- Databases larger than roughly 100 GB may be too slow for built-in Data Pump or SQL*Loader loads. Consider Oracle GoldenGate or Zero Downtime Migration for staged movement.
Verify before you cut over
Run a test data load on a subset of tables and compare row counts and constraints with the post-migration validation report. For bulk loads, SQL*Loader runs from the operating system shell, not inside SQL Developer.
sqlldr userid=/@ \ control=load_customers.ctl \ data=customers.csv \ log=customers_load.log \ bad=customers.bad
Placeholders such as and stand for values you supply. The operating system account needs read access to the data file, and the database user needs insert privileges on the target table. Direct-path loads can disable constraints and leave a table in an unusable state if interrupted, so inspect the log, bad file, and discarded file after every run.
Because deployment creates target objects, keep the source database online and prepare a rollback script that drops the migrated schema objects. Test that drop script in a non-production target before running it anywhere production data exists.
Decide and document
Use Migration Workbench when your schema is mostly standard tables and simple constraints, and when you can dedicate time to reviewing conversion warnings. Plan for manual PL/SQL work, use the same major tool version end-to-end, and validate with a subset load before scheduling the full cutover.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.