Re: Patch: dumping tables data in multiple chunks in pg_dump - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Patch: dumping tables data in multiple chunks in pg_dump
Date
Msg-id CAExHW5t54GPKFbW3KLzintJ6jMMRYwb-t2Fjm4JTxEcZbGDomA@mail.gmail.com
Whole thread Raw
In response to Patch: dumping tables data in multiple chunks in pg_dump  (Hannu Krosing <hannuk@google.com>)
Responses Re: Patch: dumping tables data in multiple chunks in pg_dump
List pgsql-hackers
Hi Hannu,

On Tue, Nov 11, 2025 at 9:00 PM Hannu Krosing <hannuk@google.com> wrote:
>
> Attached is a patch that adds the ability to dump table data in multiple chunks.
>
> Looking for feedback at this point:
>  1) what have I missed
>  2) should I implement something to avoid single-page chunks
>
> The flag --huge-table-chunk-pages which tells the directory format
> dump to dump tables where the main fork has more pages than this in
> multiple chunks of given number of pages,
>
> The main use case is speeding up parallel dumps in case of one or a
> small number of HUGE tables so parts of these can be dumped in
> parallel.

Have you measured speed up? Can you please share the numbers?

--
Best Wishes,
Ashutosh Bapat



pgsql-hackers by date:

Previous
From: Henson Choi
Date:
Subject: [PATCH] Add tests for maximum tuple and index entry sizes
Next
From: Heikki Linnakangas
Date:
Subject: Re: POC: make mxidoff 64 bits