Re: Large files for relations

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Large files for relations
Дата
Msg-id CA+hUKGLP81Hvjbtzfr9c0V50dF+2pB2pOwvQ4MsWdU8-pa_H7Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Large files for relations  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Large files for relations  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
On Wed, May 3, 2023 at 5:21 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> rsync --link-dest

I wonder if rsync will grow a mode that can use copy_file_range() to
share blocks with a reference file (= previous backup).  Something
like --copy-range-dest.  That'd work for large-file relations
(assuming a file system that has block sharing, like XFS and ZFS).
You wouldn't get the "mtime is enough, I don't even need to read the
bytes" optimisation, which I assume makes all database hackers feel a
bit queasy anyway, but you'd get the space savings via the usual
rolling checksum or a cheaper version that only looks for strong
checksum matches at the same offset, or whatever other tricks rsync
might have up its sleeve.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Large files for relations
Следующее
От: samay sharma
Дата:
Сообщение: Re: Overhauling "Routine Vacuuming" docs, particularly its handling of freezing