Re: query memory consumption

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: query memory consumption
Дата
Msg-id 603c8f070909211308i5f4a84bfsbcd4228befd8bcc4@mail.gmail.com
обсуждение исходный текст
Ответ на query memory consumption  (Alan McKay <alan.mckay@gmail.com>)
Ответы Re: query memory consumption
Список pgsql-performance
On Mon, Sep 21, 2009 at 10:47 AM, Alan McKay <alan.mckay@gmail.com> wrote:
> We are looking to optimize the query I was talking about last week
> which is killing our system.
>
> We have explain and analyze which tell us about the cost of a query
> time-wise, but what does one use to determine (and trace / predict?)
> memory consumption?

I'm not sure what to suggest, other than the available operating
system tools, but if you post EXPLAIN ANALYZE output we might be able
to speculate better.

Setting work_mem too high is a frequent cause of problems of this sort, I think.

...Robert

В списке pgsql-performance по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: How to post Performance Questions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: statement stats extra load?