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

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: RFC: replace pg_stat_activity.waiting with something more descriptive
Дата
Msg-id
CA+TgmoYzfAgFeqcJaf1XvKS0YaZ_be4vFg03fWFasf4r+fAYhA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive "Joshua D. Drake" <jd@commandprompt.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Peter Eisentraut <peter_e@gmx.net>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Peter Eisentraut <peter_e@gmx.net>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Fujii Masao <masao.fujii@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Peter Geoghegan <pg@heroku.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Andres Freund <andres@anarazel.de>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Heikki Linnakangas <hlinnaka@iki.fi>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Heikki Linnakangas <hlinnaka@iki.fi>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alvaro Herrera <alvherre@2ndquadrant.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive "andres@anarazel.de" <andres@anarazel.de>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Vladimir Borodin <root@simply.name>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Vladimir Borodin <root@simply.name>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Michael Paquier <michael.paquier@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alvaro Herrera <alvherre@2ndquadrant.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive "andres@anarazel.de" <andres@anarazel.de>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Peter Eisentraut <peter_e@gmx.net>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Thom Brown <thom@linux.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Thom Brown <thom@linux.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Thom Brown <thom@linux.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Thom Brown <thom@linux.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Thom Brown <thom@linux.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alvaro Herrera <alvherre@2ndquadrant.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Thomas Reiss <thomas.reiss@dalibo.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Michael Paquier <michael.paquier@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Michael Paquier <michael.paquier@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Andres Freund <andres@anarazel.de>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Thom Brown <thom@linux.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive neha khatri <nehakhatri5@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Craig Ringer <craig@2ndquadrant.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Vladimir Borodin <root@simply.name>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Vladimir Borodin <root@simply.name>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Fujii Masao <masao.fujii@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Merlin Moncure <mmoncure@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Andres Freund <andres@anarazel.de>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Fujii Masao <masao.fujii@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Andres Freund <andres@anarazel.de>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Andres Freund <andres@anarazel.de>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ilya Kosmodemiansky <ilya.kosmodemiansky@postgresql-consulting.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Ilya Kosmodemiansky <ilya.kosmodemiansky@postgresql-consulting.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Amit Kapila <amit.kapila16@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive "David G. Johnston" <david.g.johnston@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive "David G. Johnston" <david.g.johnston@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive David Rowley <david.rowley@2ndquadrant.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alvaro Herrera <alvherre@2ndquadrant.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Alvaro Herrera <alvherre@2ndquadrant.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Robert Haas <robertmhaas@gmail.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: RFC: replace pg_stat_activity.waiting with something more descriptive Bruce Momjian <bruce@momjian.us>
On Tue, Jul 7, 2015 at 6:28 AM, Kyotaro HORIGUCHI
 wrote:
> Please forgive me to resend this message for some too-sad
> misspellings.
>
> # "Waiting for heavy weight locks" is somewhat confusing to spell..
>
> ===
> Hello,
>
> At Tue, 7 Jul 2015 16:27:38 +0900, Fujii Masao  wrote in 
>> Each backend reports its event when trying to take a lock. But
>> the reported event is never reset until next event is reported.
>> Is this OK? This means that the wait_event column keeps showing
>> the *last* event while a backend is in idle state, for example.
>> So, shouldn't we reset the reported event or report another one
>> when releasing the lock?
>
> It seems so but pg_stat_activity.waiting would indicate whether
> the event is lasting. However, .waiting reflects only the status
> of heavy-weight locks. It would be quite misleading.
>
> I think that pg_stat_activity.wait_event sould be linked to
> .waiting then .wait_event should be restricted to heavy weight
> locks if the meaning of .waiting cannot not be changed.

Yeah, that's clearly no good.  It only makes sense to have wait_event
show the most recent event if waiting tells you whether the wait is
still ongoing.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: dinesh kumar
Дата:
FAQ