Withdata Software

Schedule and automate DB2 to Redshift task

Want to schedule and automate from DB2 to Redshift copy data task?

Try Withdata DB Copier, a desktop tool, you can scheduled DB2 to Redshift copy data task easily, just a few mouse clicks!

Let computer automate repetitive DB2 to Redshift transfer data busy work, DB Copier make our life easier!

Here you can download and install DB Copier.

Schedule and automate DB2 to Redshift data task

1. Select and run a task from follow list:

2. Save session and create .bat file.

3. Set scheduled task.


More about Withdata DBCopier – the tool to copy DB2 data to Redshift

30-day free trial

DB2 → Redshift reference

Type mapping

Value kindin DB2in Redshift
IntINTEGERinteger
BigintBIGINTbigint
DecimalDECIMAL(p,s)numeric(p,s)
FloatDOUBLEdouble precision
TextVARCHAR(n)varchar(n)
Long textCLOBvarchar(max)
DateDATEdate
DatetimeTIMESTAMPtimestamp
BinaryBLOB(none)
BooleanSMALLINTboolean
JSONCLOBsuper

Dialect differences

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

Propertyin DB2in Redshift
port500005439
row limitFETCH FIRST n ROWSLIMIT n
datesDATE, TIME, TIMESTAMPtimestamp, date
long textCLOBVARCHAR(MAX)
binaryBLOB—

Command line

SideCommand
DB2EXPORT TO out.csv OF DEL
RedshiftUNLOAD to S3
Redshift (load)COPY from S3
DB2 (load)db2 IMPORT FROM file OF DEL

No counterpart

  • DB2 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.