Hi Ivar, I agree with Magnus. As addition, also i would change: effective_cache_size
maintenance_work_mem Then disable OOM killer, change logging in order to log files on disk to see if your work_mem is too low and spills on disk, rethink your data structure and, overall, I think that you can have a look to this page, which I find a good starting point for a proper tuning: https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server regards, fabio pardi On 26/06/18 12:13, Magnus Hagander
wrote:
|