Re: refactoring relation extension and BufferAlloc(), faster COPY

From: Andres Freund <andres(at)anarazel(dot)de>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, vignesh C <vignesh21(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: refactoring relation extension and BufferAlloc(), faster COPY
Date: 2023-04-06 01:46:16
Message-ID: 20230406014616.rceit67ndlsqpnx3@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2023-04-04 17:39:45 -0700, Andres Freund wrote:
> I'm planning to push the patches up to the hio.c changes soon, unless somebody
> would like me to hold off.

Done that.

> After that I'm planning to wait for a buildfarm cycle, and push the changes
> necessary to use bulk extension in hio.c (the main win).

Working on that. Might end up being tomorrow.

> I might split the patch to use ExtendBufferedRelTo() into two, one for
> vm_extend() and fsm_extend(), and one for xlogutils.c. The latter is more
> complicated and has more of a complicated history (see [1]).

I've pushed the vm_extend() and fsm_extend() piece, and did split out the
xlogutils.c case.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-04-06 01:54:43 Re: Non-replayable WAL records through overflows and >MaxAllocSize lengths
Previous Message David Christensen 2023-04-06 01:41:25 Re: Kerberos delegation support in libpq and postgres_fdw