> I forgot to give our non default postgresql.conf parameters: > shared_buffers = 28800 > sort_mem = 32768 > vacuum_mem = 32768 > max_fsm_pages = 350000 > max_fsm_relations = 2000 > checkpoint_segments = 16 > effective_cache_size = 270000 > random_page_cost = 2 Isn't sort_mem quite high? Remember that sort_mem size is allocated for each sort, not for each connection. Mine is 4096 (4 MB). My effective_cache_size is set to 27462. What OS are you running? regards Claus ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq