Re: Use fadvise in wal replay

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>
Cc: Jakub Wartak <jakub(dot)wartak(at)tomtom(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Kirill Reshke <reshke(at)double(dot)cloud>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Use fadvise in wal replay
Date: 2022-06-22 10:56:20
Message-ID: 8837E79D-2648-4372-BEE4-A11240F76491@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 22 Jun 2022, at 13:26, Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com> wrote:
>
> Then I'd guess that your speedup is due to speeding up the first several Mb's in many files opened
I think in this case Thomas' aproach of prefetching next WAL segment would do better. But Jakub observed opposite results.

Best regards, Andrey Borodin.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-06-22 10:58:34 NLS: Put list of available languages into LINGUAS files
Previous Message Pavel Borisov 2022-06-22 10:26:42 Re: Use fadvise in wal replay