Re: Synchronization Primitives

From: Hannu Krosing <hannu(at)2ndQuadrant(dot)com>
To: 崔岩ccuiyyan(at)sina(dot)com <ccuiyyan(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Synchronization Primitives
Date: 2008-11-13 12:24:27
Message-ID: 1226579067.8327.0.camel@huvostro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2008-11-13 at 18:55 +0800, 崔岩ccuiyyan(at)sina(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Wanner 2008-11-13 12:30:15 Re: Synchronization Primitives
Previous Message Pavel Stehule 2008-11-13 11:26:47 Re: some strange bugs related to upgrade from 8.1 to 8.3