M
M
MikeHax2019-08-22 20:50:45
PostgreSQL
MikeHax, 2019-08-22 20:50:45

How to find out what requests were received in the postgres database?

Specify whether it is possible to find out what requests were made to my database for a certain period of time and what is the status of their execution?
I'm interested in the answer of the form "SELECT *** FROM **** ......", that is, I'm interested in the type of request that came.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2019-08-22
@MikeHax

https://stackoverflow.com/questions/722221/how-to-...

K
ky0, 2019-08-22
@ky0

log_statement = 'all'
https://www.postgresql.org/docs/current/runtime-co...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question