Re: Synchronization Primitives - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Synchronization Primitives
Date
Msg-id 1226579067.8327.0.camel@huvostro
Whole thread Raw
In response to Synchronization Primitives  ("崔岩ccuiyyan@sina.com" <ccuiyyan@gmail.com>)
Responses Re: Synchronization Primitives  (Markus Wanner <markus@bluegap.ch>)
List pgsql-hackers
On Thu, 2008-11-13 at 18:55 +0800, 崔岩ccuiyyan@sina.com wrote:
> Hi all:
> 
>       I am a fresh men in PostgreSQL. And i work on benchmark study
> these days using PostgreSQL.
> 
> Now i have a question: Is there some way to show the lock contention
> of PostgreSQL?
> 
> As I know, you can use show mutex status  in MySQL to find which mutex
> is hot. But i don't know in PostgreSQL.

look at pg_locks system view


-- 
------------------------------------------
Hannu Krosing   http://www.2ndQuadrant.com
PostgreSQL Scalability and Availability   Services, Consulting and Training



pgsql-hackers by date:

Previous
From: Glyn Astill
Date:
Subject: Re: [Slony1-general] ERROR: incompatible library
Next
From: Markus Wanner
Date:
Subject: Re: Synchronization Primitives