Re: RFC: replace pg_stat_activity.waiting with something more descriptive
От
Josh Berkus
Тема
Re: RFC: replace pg_stat_activity.waiting with something
more descriptive
Дата
Msg-id
55C15CF1.4080606@agliodbs.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 06/25/2015 07:50 AM, Tom Lane wrote: > To do that, we'd have to change the semantics of the 'waiting' column so > that it becomes true for non-heavyweight-lock waits. I'm not sure whether > that's a good idea or not; I'm afraid there may be client-side code that > expects 'waiting' to indicate that there's a corresponding row in > pg_locks. If we're willing to do that, then I'd be okay with > allowing wait_status to be defined as "last thing waited for"; but the > two points aren't separable. Speaking as someone who writes a lot of monitoring and alerting code, changing the meaning of the waiting column is OK as long as there's still a boolean column named "waiting" and it means "query blocked" in some way. Users are used to pg_stat_activity.waiting failing to join against pg_locks ... for one thing, there's timing issues there. So pretty much everything I've seen uses outer joins anyway. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-hackers по дате отправления
От: Takashi Horikawa
Дата: