Re: PostgreSQL 8.0.6 crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL 8.0.6 crash
Дата
Msg-id 1452.1139499375@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL 8.0.6 crash  ("Mark Woodward" <pgsql@mohawksoft.com>)
Ответы Re: PostgreSQL 8.0.6 crash  ("Mark Woodward" <pgsql@mohawksoft.com>)
Список pgsql-hackers
"Mark Woodward" <pgsql@mohawksoft.com> writes:
>          ->  HashAggregate  (cost=106527.68..106528.68 rows=200 width=32)
>                Filter: (count(ucode) > 1)
>                ->  Seq Scan on cdtitles  (cost=0.00..96888.12 rows=1927912
> width=32)

> Well, shouldn't hash aggregate respect work memory limits?

If the planner thought there were 1.7M distinct values, it wouldn't have
used hash aggregate ... but it only thinks there are 200, which IIRC is
the default assumption.  Have you ANALYZEd this table lately?

Meanwhile, I'd strongly recommend turning off OOM kill.  That's got to
be the single worst design decision in the entire Linux kernel.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Feature request - Add microsecond as a time unit for interval
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Re: User Defined Types in Java