Sync data from Oracle to MySQL

Want to sync data from Oracle to MySQL ?

Try Withdata DBCopier, a Oracle to MySQL converter for Windows, Mac, and Linux, Synchronize Oracle to MySQL, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Synchronize data from Oracle to MySQL

Login to Oracle and target MySQL -> Select source Oracle tables -> Set target MySQL tables -> Sync Oracle data to MySQL

Choose source Oracle database and logon.

sync Oracle to MySQL - Choose Oracle and logon

Choose target MySQL database and logon.

sync Oracle to MySQL - Choose MySQL and logon

Click “Wizard – Import All Tables” at task dialog.

sync from Oracle to MySQL - Task Window

then show the wizard.

1. Select source Oracle tables to sync.

sync from Oracle to MySQL - Open source database

2. List target MySQL tables.

Set “Import Type” to “Replace”, it will do a full synchronization.

sync data from Oracle to MySQL - full synchronization

Or set “Import Type” to “Upsert”, it will do a upsert synchronization.

sync data from Oracle to MySQL - upsert synchronization

3. Select MySQL tables to sync.

sync from Oracle to MySQL - select tables

4. Sync Oracle data to MySQL.

sync from Oracle to MySQL - sync


More about Oracle to MySQL converter

See also:

Oracle → MySQL reference

Type mapping

Value kindin Oraclein MySQL
IntNUMBER(10)INT
BigintNUMBER(19)BIGINT
DecimalNUMBER(p,s)DECIMAL(p,s)
FloatBINARY_DOUBLEDOUBLE
TextVARCHAR2(n)VARCHAR(n)
Long textCLOBLONGTEXT
DatetimeTIMESTAMPDATETIME
BinaryBLOBLONGBLOB
BooleanNUMBER(1)TINYINT(1)
JSONCLOBJSON

Dialect differences

Both Oracle and MySQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.

Propertyin Oraclein MySQL
port15213306
identifiers"double quotes"`backtick`
row limitFETCH FIRST n ROWS ONLYLIMIT n
datesDATE, TIMESTAMPDATETIME, TIMESTAMP, DATE, TIME
long textCLOB, NCLOBTINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT
binaryBLOB, BFILEBLOB / TINYBLOB / LONGBLOB

Command line

SideCommand
Oracleexp / expdp
MySQLmysqldump, or mysql -e "SELECT ..." > out.csv
MySQL (load)mysqlimport, or LOAD DATA INFILE
Oracle (load)sqlldr (SQL*Loader)

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.


Posted

in

by

Tags: