On Tue, 2006-04-25 at 15:10 -0500, Tony Caduto wrote: > I have a client who has a 25 million row table that is used to keep > work_mem = 10240 # min 64, size in KB Try putting work_mem a lot higher to improve the sort speed. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com