Re: Lock Wait Statistics (next commitfest)

From: Pierre Frédéric Caillaud <lists(at)peufeu(dot)com>
To: "Stephen Frost" <sfrost(at)snowman(dot)net>, "Mark Kirkwood" <markir(at)paradise(dot)net(dot)nz>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Lock Wait Statistics (next commitfest)
Date: 2009-09-18 18:44:39
Message-ID: op.u0gucp0ucke6l8@soyouz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I have this patch, if you're interested.

LWLock Instrumentation Patch

- counts locks and waits in shared and exclusive mode
- for selected locks, measures wait and hold times
- for selected locks, displays a histogram of wait and hold times
- information is printed at backend exit

Configurable by #define's in lwlock.c

Regards,
pierre

Attachment Content-Type Size
lwlock_instrument_v4.patch application/octet-stream 18.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-09-18 18:59:09 Re: Lock Wait Statistics (next commitfest)
Previous Message Selena Deckelmann 2009-09-18 18:30:05 Re: Unicode UTF-8 table formatting for psql text output