Re: New SQL counter statistics view (pg_stat_sql)

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: New SQL counter statistics view (pg_stat_sql)
Дата
Msg-id
20160830171924.GA509761@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Tom Lane <tgl@sss.pgh.pa.us>
Re: New SQL counter statistics view (pg_stat_sql) Robert Haas <robertmhaas@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Andres Freund <andres@anarazel.de>
Re: New SQL counter statistics view (pg_stat_sql) Tom Lane <tgl@sss.pgh.pa.us>
Re: New SQL counter statistics view (pg_stat_sql) Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: New SQL counter statistics view (pg_stat_sql) neha khatri <nehakhatri5@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: New SQL counter statistics view (pg_stat_sql) neha khatri <nehakhatri5@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Robert Haas <robertmhaas@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: New SQL counter statistics view (pg_stat_sql) David Fetter <david@fetter.org>
Re: New SQL counter statistics view (pg_stat_sql) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: New SQL counter statistics view (pg_stat_sql) David Fetter <david@fetter.org>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Robert Haas <robertmhaas@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Andres Freund <andres@anarazel.de>
RE: New SQL counter statistics view (pg_stat_sql) "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: New SQL counter statistics view (pg_stat_sql) Thomas Munro <thomas.munro@gmail.com>
RE: New SQL counter statistics view (pg_stat_sql) "Smith, Peter" <peters@fast.au.fujitsu.com>
Re: New SQL counter statistics view (pg_stat_sql) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: New SQL counter statistics view (pg_stat_sql) Michael Paquier <michael@paquier.xyz>
Re: New SQL counter statistics view (pg_stat_sql) Mark Dilger <mark.dilger@enterprisedb.com>
Command statistics system (cmdstats) Mark Dilger <mark.dilger@enterprisedb.com>
Re: Command statistics system (cmdstats) Mark Dilger <mark.dilger@enterprisedb.com>
Re: Command statistics system (cmdstats) Mark Dilger <mark.dilger@enterprisedb.com>
Re: Command statistics system (cmdstats) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Command statistics system (cmdstats) Mark Dilger <mark.dilger@enterprisedb.com>
Re: Command statistics system (cmdstats) Robert Haas <robertmhaas@gmail.com>
Re: Command statistics system (cmdstats) Michael Paquier <michael@paquier.xyz>
Re: Command statistics system (cmdstats) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Command statistics system (cmdstats) Mark Dilger <mark.dilger@enterprisedb.com>
Re: Command statistics system (cmdstats) Michael Paquier <michael@paquier.xyz>
Re: Command statistics system (cmdstats) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Command statistics system (cmdstats) Michael Paquier <michael@paquier.xyz>
Re: Command statistics system (cmdstats) Michael Paquier <michael@paquier.xyz>
Re: Command statistics system (cmdstats) Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) vinayak <Pokale_Vinayak_q3@lab.ntt.co.jp>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) vinayak <Pokale_Vinayak_q3@lab.ntt.co.jp>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) vinayak <Pokale_Vinayak_q3@lab.ntt.co.jp>
Re: New SQL counter statistics view (pg_stat_sql) vinayak <Pokale_Vinayak_q3@lab.ntt.co.jp>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Re: New SQL counter statistics view (pg_stat_sql) Haribabu Kommi <kommi.haribabu@gmail.com>
Haribabu Kommi wrote:

> Apart from the above, here are the following list of command tags that
> are generated in the code, I took only the first word of the command tag
> just to see how many categories present. The number indicates the
> subset of operations or number of types it is used. Like create table,
> create function and etc.

Sounds about right.  I suppose all those cases that you aggregated here
would expand to full tags in the actual code.  I furthermore suppose
that some of these could be ignored, such as the transaction ones and
things like load, lock, move, fetch, discard, deallocate (maybe lump
them all together under "other", or some other rough categorization, as
Tom suggests).  Also, for many of these commands it's probably relevant
whether they are acting on a temporary object or not; we should either
count these separately, or not count the temp ones at all.

> insert
> delete
> update
> select (6)
> transaction (10)
> declare
> close (2)
> move
> fetch
> create (37)
> drop (36)
> Alter (56)
> import
> truncate
> comment
> security
> copy
> grant
> revoke
> notify
> listen
> unlisten
> load
> cluster
> vacuum
> analyze
> explain
> refresh
> set (2)
> reset
> show
> discard (4)
> reassign
> lock
> checkpoint
> reindex
> prepare
> execute
> deallocate

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Heikki Linnakangas
Дата:
FAQ