Withdata Software

Schedule and automate Redshift to DB2 task

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

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

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

Here you can download and install DB Copier.

Schedule and automate Redshift to DB2 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 Redshift data to DB2

30-day free trial

Redshift → DB2 reference

Type mapping

Value kindin Redshiftin DB2
IntintegerINTEGER
BigintbigintBIGINT
Decimalnumeric(p,s)DECIMAL(p,s)
Floatdouble precisionDOUBLE
Textvarchar(n)VARCHAR(n)
Long textvarchar(max)CLOB
DatedateDATE
DatetimetimestampTIMESTAMP
Binary(none)BLOB
BooleanbooleanSMALLINT
JSONsuperCLOB

Dialect differences

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

Propertyin Redshiftin DB2
port543950000
row limitLIMIT nFETCH FIRST n ROWS
datestimestamp, dateDATE, TIME, TIMESTAMP
long textVARCHAR(MAX)CLOB
binary—BLOB

Command line

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

No counterpart

  • DB2 has no equivalent for Binary - it has to be flattened or dropped.

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.