Re: Two patches to speed up pg_rewind.

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: Two patches to speed up pg_rewind.
Дата
Msg-id
YBJoNWnIDsyjLAqr@paquier.xyz
Ответ на
Список
Дерево обсуждения
Two patches to speed up pg_rewind. Paul Guo <guopa@vmware.com>
Re: Two patches to speed up pg_rewind. Michael Paquier <michael@paquier.xyz>
Re: Two patches to speed up pg_rewind. Paul Guo <guopa@vmware.com>
Re: Two patches to speed up pg_rewind. Paul Guo <guopa@vmware.com>
Re: Two patches to speed up pg_rewind. Paul Guo <guopa@vmware.com>
Re: Two patches to speed up pg_rewind. Michael Paquier <michael@paquier.xyz>
Re: Two patches to speed up pg_rewind. Thomas Munro <thomas.munro@gmail.com>
Re: Two patches to speed up pg_rewind. Michael Paquier <michael@paquier.xyz>
Re: Two patches to speed up pg_rewind. Michael Paquier <michael@paquier.xyz>
Re: Two patches to speed up pg_rewind. Paul Guo <paulguo@gmail.com>
Re: Two patches to speed up pg_rewind. Paul Guo <paulguo@gmail.com>
Re: Two patches to speed up pg_rewind. Michael Paquier <michael@paquier.xyz>
Re: Two patches to speed up pg_rewind. Paul Guo <paulguo@gmail.com>
Re: Two patches to speed up pg_rewind. Michael Paquier <michael@paquier.xyz>
Re: Two patches to speed up pg_rewind. Michael Paquier <michael@paquier.xyz>
Re: Two patches to speed up pg_rewind. Paul Guo <guopa@vmware.com>
On Wed, Jan 27, 2021 at 09:18:48AM +0000, Paul Guo wrote:
> Second one is use copy_file_range() for the local rewind case to replace read()+write().
> This introduces copy_file_range() check and HAVE_COPY_FILE_RANGE so other
> code could use copy_file_range() if needed. copy_file_range() was introduced
> In high-version Linux Kernel, in low-version Linux or other Unix-like OS mmap()
> might be better than read()+write() but copy_file_range() is more interesting
> given that it could skip the data copying in some file systems - this could benefit more
> on Linux fs on network-based block storage.

Have you done some measurements?
--
Michael
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
Сообщение: Re: Add SQL function for SHA1
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] remove pg_standby
FAQ