Re: RFC: replace pg_stat_activity.waiting with something more descriptive

From: Ildus Kurbangaliev <i(dot)kurbangaliev(at)postgrespro(dot)ru>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: andres(at)anarazel(dot)de, Robert Haas <robertmhaas(at)gmail(dot)com>, aekorotkov(at)gmail(dot)com, amit(dot)kapila16(at)gmail(dot)com, Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
Subject: Re: RFC: replace pg_stat_activity.waiting with something more descriptive
Date: 2015-07-23 19:01:39
Message-ID: C76F4AB3-6BA1-4AE1-BA53-142024D0BE9A@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello.
I’ve changed the previous patch. `group` field in LWLock is removed, so the size of LWLock will not increase.
Instead of the `group` field I've created new tranches for LWLocks from MainLWLocksArray. This allowed to remove a loop
from the previous version of the patch.
Now the names for LWLocks that are not individual is obtained from corresponding tranches.

----
Ildus Kurbangaliev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment Content-Type Size
extend_pg_stat_activity_v3.patch application/octet-stream 39.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2015-07-23 19:27:02 Re: Planner debug views
Previous Message Josh Berkus 2015-07-23 18:59:16 Re: BRIN index and aborted transaction