Re: pg_stat_lwlocks view - lwlocks statistics

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Satoshi Nagayasu <snaga(at)uptime(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_stat_lwlocks view - lwlocks statistics
Date: 2012-06-26 17:41:11
Message-ID: 4FE9F437.6070309@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> To implement it, a new array can be added in the local process memory
> to hold lwlock statistics, and update counters both in the shared
> memory and the local process memory at once. Then, the session can
> retrieve 'per-session' statistics from the local process memory
> via some dedicated function.

That would be way cool from a diagnostics perspective. Not sure what
impact it has, though.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2012-06-26 17:43:44 Re: GiST subsplit question
Previous Message Robert Haas 2012-06-26 17:35:29 Re: PATCH: Improve DROP FUNCTION hint