So, over 50% of the CPU time is spent in choosing a block from the temporary files. That should be pretty easy to improve..
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных