Get the statistics based on the application name and IP address

Поиск
Список
Период
Сортировка
От Ibrar Ahmed
Тема Get the statistics based on the application name and IP address
Дата
Msg-id CALcuYDKv9o0rN0yhPw=K8yoottWqSvprx1R2Efz3y6qfYEn_ZQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Get the statistics based on the application name and IP address  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
While working on pg_stat_stements, I got some questions from customers to
have statistics by application and IP address. I know that we are collecting the 
statistics by query id, user id, database id and top-level query. There is no way to
collect the statistics based on IP address and application name. That's possible that
multiple applications issue the same queries with the same user on the same database. We
cannot segregate those queries from which application this query comes. I know we can
this in the log file with log_line_prefix, but I want to see that aggregates like call count based on IP and application
name. I did some POC and had a patch. But before sharing the patch. 

I need to know if there has been any previous discussion about this topic; by the way, 
I did some Googling to find that but failed. 

Thoughts?


--

Ibrar Ahmed. 
Senior Software Engineer, PostgreSQL Consultant.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Yugo NAGATA
Дата:
Сообщение: Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Remaining case where reltuples can become distorted across multiple VACUUM operations