Re: Optimizing Read-Only Scalability

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Optimizing Read-Only Scalability
Дата
Msg-id 15593.1242322131@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Optimizing Read-Only Scalability  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Optimizing Read-Only Scalability  (Robert Haas <robertmhaas@gmail.com>)
Re: Optimizing Read-Only Scalability  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> In a thread on -perform it has been observed that our Read-Only
> scalability is not as good as it could be. One problem being that we
> need to scan the whole of the ProcArray to derive a snapshot, which
> becomes the dominant task with many users.

GetSnapshotData doesn't take an exclusive lock.  Neither does start or
end of a read-only transaction.  AFAIK there is no reason, and certainly
no shred of experimental evidence, to think that ProcArrayLock
contention is the bottleneck for read-only scenarios.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Optimizing Read-Only Scalability
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Optimizing Read-Only Scalability