Re: query very slow when enable_seqscan=on

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query very slow when enable_seqscan=on
Дата
Msg-id 25494.1152036954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: query very slow when enable_seqscan=on  (Tomasz Ostrowski <tometzky@batory.org.pl>)
Ответы Re: query very slow when enable_seqscan=on  (Tomasz Ostrowski <tometzky@batory.org.pl>)
Список pgsql-bugs
Tomasz Ostrowski <tometzky@batory.org.pl> writes:
> So why estimate regex expressions if there is no estimation possible?
> Let's set this estimate to be pessimistic (match everything or
> everything not null) and it will choose better plans.

Better plans for this specific example, worse plans for other cases.
Life is not that simple.

            regards, tom lane

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

Предыдущее
От: tomas@tuxteam.de
Дата:
Сообщение: Re: query very slow when enable_seqscan=on
Следующее
От: "Phil Frost"
Дата:
Сообщение: BUG #2512: pg_dump produces unrestorable output when table and serial sequence are not in the same schema