Re: postgres is not using tas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Luis Alberto Amigo Navarro" <lamigo(at)atc(dot)unican(dot)es>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: postgres is not using tas
Date: 2002-03-18 18:31:33
Message-ID: 298.1016476293@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Luis Alberto Amigo Navarro" <lamigo(at)atc(dot)unican(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Luis Alberto Amigo Navarro 2002-03-18 18:32:59 Re: postgres is not using tas
Previous Message Luis Alberto Amigo Navarro 2002-03-18 18:26:22 Re: postgres is not using tas