Re: Add support for COPY TO in tablesync for partitioned tables. - Mailing list pgsql-hackers

From Ajin Cherian
Subject Re: Add support for COPY TO in tablesync for partitioned tables.
Date
Msg-id CAFPTHDYNdgca-sJq7rEyFtaYU4C-Rcc7uXMu+eUzis+qsAY_-Q@mail.gmail.com
Whole thread Raw
In response to Re: Add support for COPY TO in tablesync for partitioned tables.  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Add support for COPY TO in tablesync for partitioned tables.
List pgsql-hackers
On Tue, Nov 11, 2025 at 2:19 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> In the commit message, you mentioned: "Performance tests show it's
> faster than the COPY (SELECT ...) TO variant as it avoids the
> overheads of query processing and sending results to the COPY TO
> command.". Can you share the performance data to substantiate this
> point?
>

This was based on the tests done in the original thread [1] and [2]

[1]- https://www.postgresql.org/message-id/174219852967.294107.6195385625494034792.pgcf%40coridan.postgresql.org
[2]- https://www.postgresql.org/message-id/CALdSSPi5GUx1XtVTEOmvZ73MDM9HrpzE7L_Dp55z30wfp7KMvw%40mail.gmail.com

regards,
Ajin Cherian
Fujitsu Australia



pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Newly created replication slot may be invalidated by checkpoint
Next
From: Peter Smith
Date:
Subject: Re: Is this a typo?