Re: [COMMITTERS] pgsql: Provide much better wait information in pg_stat_activity.
От
Pavel Stehule
Тема
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity.
Дата
Msg-id
CAFj8pRAthCZZKRwR-+EGbf_SXJBMTVMGj0qMWt312Yg8AbcHdA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: [COMMITTERS] pgsql: Provide much better wait information in pg_stat_activity. Tom Lane <tgl@sss.pgh.pa.us>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Robert Haas <robertmhaas@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Robert Haas <robertmhaas@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait information in pg_stat_activity. Tom Lane <tgl@sss.pgh.pa.us>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Amit Kapila <amit.kapila16@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Robert Haas <robertmhaas@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Robert Haas <robertmhaas@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Pavel Stehule <pavel.stehule@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Pavel Stehule <pavel.stehule@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Joel Jacobson <joel@trustly.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Pavel Stehule <pavel.stehule@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Pavel Stehule <pavel.stehule@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Pavel Stehule <pavel.stehule@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Amit Kapila <amit.kapila16@gmail.com>
Re: [COMMITTERS] pgsql: Provide much better wait
information in pg_stat_activity. Pavel Stehule <pavel.stehule@gmail.com>
2016-03-11 0:17 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us>:
This behave has impact on PL functions that try to repeated check of pg_stat_activity. But this use case is not frequent.
Robert Haas <robertmhaas@gmail.com> writes:
> Or ... maybe this is intentional behavior? Now that I think about it,
> doesn't each backend cache this info the first time its transaction
> reads the data?
Your view of pg_stat_activity is supposed to hold still within a
transaction, yes. Otherwise it'd be really painful to do any complicated
joins. I think there may be a function to explicitly flush the cache,
if you really need to see intratransaction changes.
I understand.
This behave has impact on PL functions that try to repeated check of pg_stat_activity. But this use case is not frequent.
Thank you.
Regards
Pavel
regards, tom lane
В списке pgsql-hackers по дате отправления