Queries that are running in postgres most of the time
Queries that are running in postgres most of the time
От:
Debraj Manna <subharaj.manna@gmail.com>
Дата:
Is there any tool that will allow me to know which queries / transaction are getting executed most of the time in postgres?
Re: Queries that are running in postgres most of the time
От:
Piotr Włodarczyk <piotrwlodarczyk89@gmail.com>
Дата:
pgBadger
czw., 22 mar 2018, 08:58 użytkownik Debraj Manna <subharaj.manna@gmail.com> napisał:
Is there any tool that will allow me to know which queries / transaction are getting executed most of the time in postgres?
Re: Queries that are running in postgres most of the time
От:
Fabio Pardi <f.pardi@portavita.eu>
Дата:
Hi, I think that select * from pg_stat_statements ; is a good starting point. You can then refine the query based on what you are interested for. This is a good read: https://www.postgresql.org/docs/10/static/monitoring-stats.html Regards, fabio pardi On 03/22/2018 08:57 AM, Debraj Manna wrote: > Is there any tool that will allow me to know which queries / transaction are getting executed most of the time in postgres? >