Copy MariaDB query results to Redshift table

Want to transfer data from MariaDB query results to Redshift table?

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

Download Withdata DBCopier Download DBCopier

Transfer data from MariaDB query To Redshift table

Login to MariaDB and Redshift -> Enter source MariaDB query -> Set target Redshift table -> Copy MariaDB query data to Redshift table

Choose source MariaDB database and logon.

convert MariaDB query to Redshift table - Choose MariaDB and logon

Choose target Redshift database and logon.

save MariaDB query results to Redshift table - Choose Redshift and logon

Click “Convert From Query” at task dialog.

Import data from MariaDB query results to Redshift table - Task Window

then show the wizard.

1. Set a MariaDB query.

Convert data from MariaDB query results to Redshift table - open query results

2. Select a destination Redshift table and config fields.

Extract MariaDB query results data to Redshift table - select table

3. Preview data.

Migrage data from MariaDB query results to Redshift table - preview

4. Transfer data from MariaDB query result to Redshift table.

save data from MariaDB query results to Redshift table - 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