Sync data from SQLite to Redshift

Want to sync data from SQLite to Redshift?

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

Download Withdata DBCopier Download DBCopier

Synchronize data from SQLite to Redshift

Login to SQLite and target Redshift -> Select source SQLite tables -> Set target Redshift tables -> Sync SQLite data to Redshift

Choose source SQLite database and logon.

sync SQLite to Redshift - Choose SQLite and logon

Choose target Redshift database and logon.

sync SQLite to Redshift - Choose Redshift and logon

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

sync from SQLite to Redshift - Task Window

then show the wizard.

1. Select source SQLite tables to sync.

sync from SQLite to Redshift - Open source database

2. List target Redshift tables.

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

sync data from SQLite to Redshift - full synchronization

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

sync data from SQLite to Redshift - upsert synchronization

3. Select Redshift tables to sync.

sync from SQLite to Redshift - select tables

4. Sync SQLite data to Redshift.

sync from SQLite to Redshift - sync


More about SQLite to Redshift converter

See also:

SQLite → Redshift reference

Type mapping

Value kindin SQLitein Redshift
IntINTEGERinteger
BigintINTEGERbigint
DecimalNUMERICnumeric(p,s)
FloatREALdouble precision
TextTEXTvarchar(n)
Long textTEXTvarchar(max)
DateTEXTdate
DatetimeTEXTtimestamp
BinaryBLOB(none)
BooleanINTEGERboolean
JSONTEXTsuper

Dialect differences

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

Propertyin SQLitein Redshift
port(file-based)5439
identifiers"double quotes" or [brackets]"double quotes"
datesTEXT (no date type)timestamp, date
long textTEXTVARCHAR(MAX)
binaryBLOB—

Command line

SideCommand
SQLitesqlite3 .dump
RedshiftUNLOAD to S3
Redshift (load)COPY from S3
SQLite (load).import (sqlite3)

No counterpart

  • SQLite 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

Tags: