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.