On Fri, May 24, 2013 at 3:44 PM, <fburgess@xxxxxxxxxxxxxxx> wrote: > Total runtime: 1606.728 ms 1.6 seconds <- very good response time > improvement > > (7 rows) > > Questions: > > Any concerns with setting these conf variables you recommended; work_mem, > random_page_cost dbserver wide (in postgresql,conf)? > > Thanks so much!!! Yes 500MB is pretty high especially if you have a lot of connections. Try it with it back down to 16MB and see how it does. Work mem is per sort so a setting as high as 500MB can exhaust memory on the machine under heavy load. -- To understand recursion, one must first understand recursion. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general