I launched the following command, showed in this documentation: https://www.postgresql.org/docs/current/pgstatstatements.html
SELECT query,
calls,
total_time,
rows,
100.0 * shared_blks_hit / nullif(shared_blks_hit + shared_blks_read, 0) AS hit_percent
FROM pg_stat_statements
ORDER BY total_time DESC
LIMIT 5;
but I don't know how to interpret stddev_time
(apparently this can show the queries that are causing problems)
And I don't understand how to interpret the following value:
100.0 * shared_blks_hit / nullif(shared_blks_hit + shared_blks_read, 0) AS hit_percent
Is it better when it's close to 0 or 100?