Re: Aggressive memory consumption in {ts,array}_typanalyze

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Aggressive memory consumption in {ts,array}_typanalyze
Дата
Msg-id CA+Tgmobt2Zq-7mEN9WWzWDoOM1CyOC=FKXUV7aeEi47+5TQWFg@mail.gmail.com
обсуждение исходный текст
Ответ на Aggressive memory consumption in {ts,array}_typanalyze  (Noah Misch <noah@leadboat.com>)
Ответы Re: Aggressive memory consumption in {ts,array}_typanalyze  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, Apr 16, 2012 at 4:58 PM, Noah Misch <noah@leadboat.com> wrote:
> The size hint I chose is fairly arbitrary.  Any suggestions for principled
> alternatives?

Based on your test results, it doesn't seem like it matters very much
what you put in there, so I'm inclined to think that num_mcelem is
fine.  I thought about maybe allowing for a little slop, like
num_mcelem * 10, but maybe the way you did it is better.  It's
possible that people will set ridiculously overblown stats targets on
some columns, and that's certainly going to cost something no matter
what we do, but there's no point in making that worse than it has to
be without some clear reason for doing so.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: nodes/*funcs.c inconsistencies
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [BUGS] BUG #6572: The example of SPI_execute is bogus