Also, you may need to tune PostgreSQL to use your memory instead of the disk for sort operations and such.
The settings work_mem and shared_buffers are the principal ones.
Also, you may need to tune PostgreSQL to use your memory instead of the disk for sort operations and such.
The settings work_mem and shared_buffers are the principal ones.