Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward

From: Dimitrios Apostolou <jimis(at)gmx(dot)net>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward
Date: 2025-04-01 19:33:32
Message-ID: 465a7ab4-2a61-ebf9-5779-1733d1c12903@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 29 Mar 2025, Dimitrios Apostolou wrote:
>
> P.S. What is the recommended way to test a change, besides a generic make
> check? And how do I run selectively only the pg_dump/restore tests, in order
> to speed up my development routine?

I have tested it with:

make -C src/bin/pg_dump check

It didn't break any test, but I also don't see any difference, the
performance boost is noticeable only when restoring a huge archive that is
missing offsets.

Any volunteer to review this one-line patch?

Thanks,
Dimitris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2025-04-01 19:34:45 Re: Reduce "Var IS [NOT] NULL" quals during constant folding
Previous Message Robert Haas 2025-04-01 19:29:27 Re: RFC: Logging plan of the running query