Re: pg_upgrade --copy-file-range - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_upgrade --copy-file-range
Date
Msg-id ZYeeD4mIcT_y5APF@paquier.xyz
Whole thread Raw
In response to Re: pg_upgrade --copy-file-range  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: pg_upgrade --copy-file-range
List pgsql-hackers
On Sat, Dec 23, 2023 at 09:52:59AM +1300, Thomas Munro wrote:
> As it happens I was just thinking about this particular patch because
> I suddenly had a strong urge to teach pg_combinebackup to use
> copy_file_range.  I wonder if you had the same idea...

Yeah, +1.  That would make copy_file_blocks() more efficient where the
code is copying 50 blocks in batches because it needs to reassign
checksums to the blocks copied.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Prevent tuples to be marked as dead in subtransactions on standb
Next
From: Ivan Kush
Date:
Subject: Re: Autonomous transactions 2023, WIP