Re: pg_stat_lwlocks view - lwlocks statistics - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: pg_stat_lwlocks view - lwlocks statistics
Date
Msg-id 4FE9F437.6070309@agliodbs.com
Whole thread Raw
In response to Re: pg_stat_lwlocks view - lwlocks statistics  (Satoshi Nagayasu <snaga@uptime.jp>)
List 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




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: PATCH: Improve DROP FUNCTION hint
Next
From: Jeff Davis
Date:
Subject: Re: GiST subsplit question