Re: Online checksums verification in the backend

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Online checksums verification in the backend
Дата
Msg-id 20201030050852.5eenoh3sk2uxnv53@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Online checksums verification in the backend  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: Online checksums verification in the backend  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2020-10-30 11:58:13 +0800, Julien Rouhaud wrote:
> So I'm assuming that the previous optimization to avoid almost every
> time doing an IO while holding a buffer mapping lock isn't an option?
> In that case, I don't see any other option than reverting the patch
> and discussing a new approach.

I think its pretty much *never* OK to do IO while holding a buffer
mapping lock. You're locking a significant fraction of shared buffers
over IO. That's just not OK.  Don't think there's any place doing so
currently either.



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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Enumize logical replication message actions
Следующее
От: Amit Langote
Дата:
Сообщение: Re: MINUS SIGN (U+2212) in EUC-JP encoding is mapped to FULLWIDTH HYPHEN-MINUS (U+FF0D) in UTF-8