Re: Copying records from TABLE_A to TABLE_B (in the same database)

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Copying records from TABLE_A to TABLE_B (in the same database)
Date: 2022-08-02 19:08:41
Message-ID: e00f01c6-1528-4e13-d7b4-30907f33e1db@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>>>
>>> Logical replication might be another option.
>>> Although I am not sure if that is even possible inside
>>> the samme database.
>>> I know it's tricky inside the same server
>>> (between different databases)
>>>
>>>
>>>
>> If you can get outside sql, the bulk copy facilities (CopyManager in
>> java) is blindingly fast for me.
>
> ??
>
I meant using tools other than sql (and psql).   I have java code using
org.postgresql.copy package because straight insert was too slow for
large numbers of rows.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2022-08-02 19:41:57 Re: Copying records from TABLE_A to TABLE_B (in the same database)
Previous Message Ron 2022-08-02 19:02:35 Re: Copying records from TABLE_A to TABLE_B (in the same database)