Re: Out of memory error in 8.1.0 Win32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Out of memory error in 8.1.0 Win32
Дата
Msg-id 2652.1151003758@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Out of memory error in 8.1.0 Win32  ("Todd A. Cook" <tcook@blackducksoftware.com>)
Ответы Re: Out of memory error in 8.1.0 Win32  ("Todd A. Cook" <tcook@blackducksoftware.com>)
Список pgsql-general
"Todd A. Cook" <tcook@blackducksoftware.com> writes:
> Tom Lane wrote:
>> Well, that's the problem right there :-(.  Have you ANALYZEd this table?

> My production table and query are more complex.  In the original, the
> query above was in a sub-select; the work-around was to create a temp
> table with the sub-query results, analyze it, and then do the larger
> query based off of the temp table.

Hmm.  One of the things that's on my TODO list is to make the planner
smarter about drilling down into sub-selects to extract statistics.
I think that's what's called for here, but your example has eliminated
all the interesting details.  Can you show us the actual query, its
EXPLAIN plan, and the definitions of the tables/views involved?

            regards, tom lane

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

Предыдущее
От: "Relyea, Mike"
Дата:
Сообщение: Re: Out of memory error in 8.1.0 Win32
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: sequence in select