this post was submitted on 24 Jun 2024
32 points (97.1% liked)
Lemmy Support
4650 readers
1 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can use pg_stat_statements to find slow queries. Try sorting by top
total_exec_time
.Even though it's added in the customPostgresql.conf
shared_preload_libraries = 'auto_explain,pg_stat_statements'
I know you already found a solution, but fwiw, it seems you have a typo in calling the extension. You have "stats" plural instead of "stat" singular.
Well that would do it. Thanks for pointing out!