Re: WIP: WAL prefetch (another approach)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP: WAL prefetch (another approach)
Дата
Msg-id 2949950.1619655883@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP: WAL prefetch (another approach)  (Andres Freund <andres@anarazel.de>)
Ответы Re: WIP: WAL prefetch (another approach)
Re: WIP: WAL prefetch (another approach)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2021-04-28 19:24:53 -0400, Tom Lane wrote:
>> IOW, we've spent over twice as many CPU cycles shipping data to the
>> standby as we did in applying the WAL on the standby.

> I don't really know how the time calculation works on mac. Is there a
> chance it includes time spent doing IO?

I'd be pretty astonished if it did.  This is basically a NetBSD system
remember (in fact, this ancient macOS release is a good deal closer
to those roots than modern versions).  BSDen have never accounted for
time that way AFAIK.  Also, the "ps" man page says specifically that
that column is CPU time.

> Oh! I was about to ask how much shared buffers your primary / standby
> have. And I think I may actually have reproduce a variant of the issue!

Default configurations, so 128MB each.

            regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: WIP: WAL prefetch (another approach)
Следующее
От: Yura Sokolov
Дата:
Сообщение: Re: Use simplehash.h instead of dynahash in SMgr