Postgres pg_stat_statement setup via docker
Sometimes we want to track and analyze SQL in postgres. It may be that you use some fancy ORM and all SQL is abstracted away, but then you begin to notice some performance drops and you’re starting to suspect that the SQL you expected to be run “very efficiently”, in fact performs poorly. That’s how I’ve got acquainted with pg_stat_statements tool. I suggest to read about it on the official site....