Re: sinval synchronization considered harmful

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: sinval synchronization considered harmful
Дата
Msg-id
CA+TgmoYg4+VZGxEgbkVsSR8jPq0_Eh_xAdyATwbiru9ZkWhgQQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Tom Lane <tgl@sss.pgh.pa.us>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Tom Lane <tgl@sss.pgh.pa.us>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Tom Lane <tgl@sss.pgh.pa.us>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Tom Lane <tgl@sss.pgh.pa.us>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Tom Lane <tgl@sss.pgh.pa.us>
Re: sinval synchronization considered harmful Alvaro Herrera <alvherre@commandprompt.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Noah Misch <noah@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Tom Lane <tgl@sss.pgh.pa.us>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: sinval synchronization considered harmful Simon Riggs <simon@2ndQuadrant.com>
Re: sinval synchronization considered harmful Alvaro Herrera <alvherre@commandprompt.com>
Re: sinval synchronization considered harmful Simon Riggs <simon@2ndQuadrant.com>
Re: sinval synchronization considered harmful Tom Lane <tgl@sss.pgh.pa.us>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Simon Riggs <simon@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Simon Riggs <simon@2ndQuadrant.com>
Re: sinval synchronization considered harmful Robert Haas <robertmhaas@gmail.com>
Re: sinval synchronization considered harmful Florian Pflug <fgp@phlo.org>
On Wed, Jul 27, 2011 at 1:58 PM, Noah Misch  wrote:
>> > I think a benchmark is in order, something like 900 idle connections and 80
>> > connections running small transactions that create a few temporary tables.  If
>> > that shows no statistically significant regression, then we're probably fine
>> > here.  I'm not sure what result to expect, honestly.
>>
>> That's setting the bar pretty high.  I don't mind doing the
>> experiment, but I'm not sure that's the case we should be optimizing
>> for.
>
> Granted.  How about 32 clients running the temporary table transaction, no idle
> connections?  Given the meager benefit of this patch compared to your previous
> version, it would be hard to justify a notable performance drop in return.

The reason the benefit is smaller is, I believe, because the previous
numbers were generated with the lazy vxid locks patch applied, and
these were generated against master.  With the lock manager as a
bottleneck, the sinval stuff doesn't get hit quite as hard, so the
benefit is less.  I can regenerate the numbers with the lazy vxid
patch applied; I suspect they'll be similar to what we saw before.
I'll also test out creating and dropping some tables.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
От: Tom Lane
Дата:
FAQ