sort_mem param of postgresql.conf - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject sort_mem param of postgresql.conf
Date
Msg-id 2f4958ff0811120636m1a4fde9fw255c8d01181ace0f@mail.gmail.com
Whole thread Raw
Responses Re: sort_mem param of postgresql.conf  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general

Hey folks,

Anyone knows why the "sort_mem" parametr isn't by default in postgresql.conf file ? I had no idea it existed before, and we had some hudge queries running 1-2 minutes here, doing all sorts on disc, adding sort_mem = 512MB to config shortened that to 20s. These are run only ocasionaly, so the memory won't be always used - but helps in these few cases .

--
GJ

pgsql-general by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: still gin index creation takes forever
Next
From: "Sergey Konoplev"
Date:
Subject: Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)