Re: [ADMIN] SQL history.
От | Syed Asim Shah |
---|---|
Тема | Re: [ADMIN] SQL history. |
Дата | |
Msg-id | C35F307BE15BEA4585014E7B3753CC96FDFB763C15@ISB-EXMB-CLUS.telenor.com.pk обсуждение исходный текст |
Ответ на | Re: [ADMIN] SQL history. ("David G. Johnston" <david.g.johnston@gmail.com>) |
Список | pgsql-admin |
Dear David,
Thanks for the update. What will be the performance impact after enabling “log_statement” feature (on high transactional databases).
BR!
Asim Shah.
From: David G. Johnston [mailto:david.g.johnston@gmail.com]
Sent: Friday, October 27, 2017 6:59 PM
To: Syed Asim Shah
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.
This e-mail has been scanned for viruses by Forefront Protection @ Telenor Pakistan.
В списке pgsql-admin по дате отправления: