Batch copy MariaDB tables to Redshift

Want to batch copy data from MariaDB tables to Redshift?

Try Withdata DBCopier, a MariaDB to Redshift converter for Windows, Mac, and Linux, Bulk copy MariaDB to Redshift, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Batch copy data from MariaDB tables to Redshift tables

Login to MariaDB and Redshift -> Select source MariaDB tables -> Set target Redshift tables -> Copy MariaDB data to Redshift

Choose source MariaDB database and logon.

convert MariaDB data to Redshift data - Choose MariaDB and logon

Choose target Redshift database and logon.

convert MariaDB data to Redshift data - Choose Redshift and logon

Click “Convert All Tables” at task dialog.

Batch import data from MariaDB tables to Redshift tables - Task Window

then show the wizard.

1. Select source MariaDB tables.

Batch convert data from MariaDB tables to Redshift tables - Open Source schema

2. List target Redshift tables.

Batch extract data from MariaDB tables to Redshift tables - select destination schema

3. Select Redshift tables to import.

Batch import data from MariaDB tables to Redshift tables - select tables

4. Transfer data from MariaDB tables to Redshift.

Batch copy data from MariaDB tables to Redshift tables - batch import


More about MariaDB to Redshift converter

See also:

MariaDB → Redshift reference

Type mapping

Value kindin MariaDBin Redshift
IntINTinteger
BigintBIGINTbigint
DecimalDECIMAL(p,s)numeric(p,s)
FloatDOUBLEdouble precision
TextVARCHAR(n)varchar(n)
Long textLONGTEXTvarchar(max)
DateDATEdate
DatetimeDATETIMEtimestamp
BinaryLONGBLOB(none)
BooleanTINYINT(1)boolean
JSONJSONsuper

Dialect differences

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

Propertyin MariaDBin Redshift
port33065439
identifiers`backtick`"double quotes"
datesDATETIME, TIMESTAMP, DATE, TIMEtimestamp, date
long textTINYTEXT / TEXT / MEDIUMTEXT / LONGTEXTVARCHAR(MAX)
binaryBLOB / TINYBLOB / LONGBLOB—

Command line

SideCommand
MariaDBmariadb-dump
RedshiftUNLOAD to S3
Redshift (load)COPY from S3
MariaDB (load)mariadb-import, or LOAD DATA INFILE

No counterpart

  • MariaDB values of kind Binary have nowhere to go in Redshift.

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