Re: RFC: Allow EXPLAIN to Output Page Fault Information

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: RFC: Allow EXPLAIN to Output Page Fault Information
Дата
Msg-id CAGECzQTydZ33miLd=KdbfrV17RowRGBwQrS28hZ0i6+YhetYgg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RFC: Allow EXPLAIN to Output Page Fault Information  ("Jelte Fennema-Nio" <postgres@jeltef.nl>)
Ответы Re: RFC: Allow EXPLAIN to Output Page Fault Information
Список pgsql-hackers
On Mon, 10 Feb 2025 at 14:31, Andres Freund <andres@anarazel.de> wrote:
> I think it'll always be a subset of use. It doesn't make sense to use DIO for
> a small databases or untuned databases. Or a system that's deliberately
> overcommmitted.

Thanks, that's useful context.

> But this will also not work with AIO w/ Buffered IO. Which we hope to use much
> more commonly.

To be clear, here you mean worker based AIO right? Because it would
work with io_uring based AIO, right?

> If suddenly I have to reimplement something like this to work with worker
> based IO, it'll certainly take longer to get to AIO.

I totally understand. But in my opinion it would be completely fine to
decide that these new IO stats are simply not available for worker
based IO. Just like they're not available for Windows either with this
patch.

I think it would be a shame to make perfect be the enemy of good here
(as often seems to happen with PG patches). I'd rather have this
feature for some setups, than for no setups at all.



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