Re: postgres is not using tas

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres is not using tas
Дата
Msg-id 298.1016476293@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres is not using tas  ("Luis Alberto Amigo Navarro" <lamigo@atc.unican.es>)
Список pgsql-hackers
"Luis Alberto Amigo Navarro" <lamigo@atc.unican.es> writes:
> could you please tell me where to find info on when and why is semop used,

It's used when we need to block the current process (or to unblock
another process that had been waiting).  Look for calls to
IpcSemaphoreLock and IpcSemaphoreUnlock.

A large number of semops may mean that you have excessive contention on
some lockable resource, but I don't have enough info to guess what resource.
Have you tried doing profiling of the backend?
        regards, tom lane


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

Предыдущее
От: "Luis Alberto Amigo Navarro"
Дата:
Сообщение: Re: postgres is not using tas
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: insert statements