Re: PostgreSQL 7.3.3 and Intel C compiler

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL 7.3.3 and Intel C compiler
Дата
Msg-id 8812.1058897721@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL 7.3.3 and Intel C compiler  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> But the snapshots only are grabbing the xids from each proc, right? 
> Doesn't seem that would take very long.

Yeah, we've never seen any previous indication that grabbing a snapshot
is a bottleneck.  Also, I think it uses a shared (read) lock, so there
shouldn't really be contention, unless perhaps they are starting and
stopping backends very frequently as well.

> If this is the bottleneck, maybe we need a shared proc lock.

We need to understand what's happening before speculating about how to
fix it ...
        regards, tom lane


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

Предыдущее
От: Nailah Ogeer
Дата:
Сообщение: Checkpoints
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: