Re: ResourceOwner refactoring

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: ResourceOwner refactoring
Дата
Msg-id CA+TgmobYE99Ka5rc+-Z_LQnWFWWhmeEDEtEm_f4-Av_47swjcg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ResourceOwner refactoring  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: ResourceOwner refactoring  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, Jan 18, 2021 at 10:19 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>
> On 18/01/2021 16:34, Alvaro Herrera wrote:
> > So according to your performance benchmark, we're willing to accept a
> > 30% performance loss on an allegedly common operation -- numkeep=0
> > numsnaps=10 becomes 49.8ns from 37.6ns.  That seems a bit shocking.
> > Maybe you can claim that these operations aren't exactly hot spots, and
> > so the fact that we remain in the same power-of-ten is sufficient.  Is
> > that the argument?
>
> That's right. The fast path is fast, and that's important. The slow path
> becomes 30% slower, but that's acceptable.
>
> - Heikki
>
>


-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Add session statistics to pg_stat_database
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ResourceOwner refactoring