Re: [ADMIN] SQL history.
| От | Vianello, Daniel A |
|---|---|
| Тема | Re: [ADMIN] SQL history. |
| Дата | |
| Msg-id | 91e9685f3a0e4b0faaefe93ebb1bc37b@KSTLMEXGP001.CORP.CHARTERCOM.com обсуждение исходный текст |
| Ответ на | Re: [ADMIN] SQL history. ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Список | pgsql-admin |
pgBadger may also be useful for you. It analyzes logs and creates graphs of query traffic.
http://dalibo.github.io/pgbadger/
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of David G. Johnston
Sent: Friday, October 27, 2017 8:59 AM
To: Syed Asim Shah <asim.shah@telenor.com.pk>
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] SQL history.
On Fri, Oct 27, 2017 at 3:08 AM, Syed Asim Shah <asim.shah@telenor.com.pk> wrote:
Dear Team,
We are having POSGRESQL version 9.6 installed on OS version Linux REDHAT 7.2. How we can fetch historical SQL executions trend of last 24 hours.
See
and
https://www.postgresql.org/docs/9.6/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT (log_statement)
For possibilities. Neither are installed/configured/enabled by default to capture the information you seek.
David J.
any attachments are intended solely for the
addressee(s) and may contain confidential
and/or legally privileged information. If you
are not the intended recipient of this message
or if this message has been addressed to you
in error, please immediately alert the sender
by reply e-mail and then delete this message
and any attachments. If you are not the
intended recipient, you are notified that
any use, dissemination, distribution, copying,
or storage of this message or any attachment
is strictly prohibited.
В списке pgsql-admin по дате отправления: