Re: Copy data from DB2 (Linux) to PG

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Copy data from DB2 (Linux) to PG
Date: 2018-11-02 07:01:06
Message-ID: 6bab3754-0751-03a8-6fdf-c55c3865ef38@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/11/18 7:27 μ.μ., Ravi Krishna wrote:
> I have a project to develop a script/tool to copy data from DB2 to PG. The approach I am thinking is
>
> 1. Export data from db2 in a text file, with, say pipe as delimiter.
> 2. Load the data from the text file to PG using COPY command.
>
> In order to make it faster I can parallelize export and load with upto X number of tables concurrently.
>
> Is there a tool in which I can avoid first exporting and then loading. I think one way I can do it is by
> using pipes by which I can export from db2 to a pipe and simultaneously load it to PG using COPY.
https://pgloader.io/
>
> Any other tool for this job?
>
> thanks.
>

--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt

In response to

Browse pgsql-general by date

  From Date Subject
Next Message GPT 2018-11-02 10:40:41 Re: rw_redis_fdw: SQL Errors when statement is within a function
Previous Message Ken Tanzer 2018-11-02 01:34:47 Re: Add columns to table; insert values based on row