Re: Query performance - Mailing list pgsql-performance

From S Arvind
Subject Re: Query performance
Date
Msg-id abf9211d0910120752o6c565ea8pde99de2c157d6f6d@mail.gmail.com
Whole thread Raw
In response to Re: Query performance  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Responses Re: Query performance  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
List pgsql-performance
Thanks Grzegorz,
        But work memory is for each process (connection) rt? so if i keep more then 10MB will not affect the overall performance ?

Arvind S


2009/10/12 Grzegorz Jaśkiewicz <gryzman@gmail.com>
btw, what's the version of db ?
what's the work_mem setting ?

try setting work_mem to higher value. As postgresql will fallback to disc sorting if the content doesn't fit in work_mem, which it probably doesn't (8.4+ show the memory usage for sorting, which your explain doesn't have).


pgsql-performance by date:

Previous
From: S Arvind
Date:
Subject: Re: Query performance
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: Query performance