Re: capturing/viewing sort_mem utilization on a per query basis

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: capturing/viewing sort_mem utilization on a per query basis
Дата
Msg-id 29238.1107361079@sss.pgh.pa.us
обсуждение исходный текст
Ответ на capturing/viewing sort_mem utilization on a per query basis  (Lonni J Friedman <netllama@gmail.com>)
Ответы Re: capturing/viewing sort_mem utilization on a per query basis  (Lonni J Friedman <netllama@gmail.com>)
Список pgsql-general
Lonni J Friedman <netllama@gmail.com> writes:
> I've got a pesky J2EE based app that is using PostgreSQL-7.4.x on the
> backend.  Lately i've been getting a disturbing large number of
> PostgreSQL out of memory exceptions on the J2EE side when running
> queries that have some huge joins in them.

Such an error on the client side would indicate that the query retrieved
more rows than the client app had memory for.  Perhaps your problem is
incorrectly-constrained joins that are returning way more rows than
you expect?

            regards, tom lane

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: PostgreSQL on cluster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: simple case syntax oddity in 8.0.0