Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The first thing that I tried was a full VACUUM ANALYZE and then re-ran the same query. It didn't help. Therefore modifying autovacuum won't help.

Adjusting internal costs is promising, but I'd like to avoid going there exactly because of the possible negative side effects that you mention.



You can adjust the costs on a per-session (or even per-transaction) basis. Depending on the nature of your query, it might be worth it.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: