Re: postgres is not using tas - Mailing list pgsql-hackers

From Tom Lane
Subject Re: postgres is not using tas
Date
Msg-id 298.1016476293@sss.pgh.pa.us
Whole thread Raw
In response to Re: postgres is not using tas  ("Luis Alberto Amigo Navarro" <lamigo@atc.unican.es>)
List 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 by date:

Previous
From: "Luis Alberto Amigo Navarro"
Date:
Subject: Re: postgres is not using tas
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: insert statements