Re: SQL explainer problem for 8.0.1?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQL explainer problem for 8.0.1?
Дата
Msg-id 4064.1109033353@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SQL explainer problem for 8.0.1?  (Neil Conway <neilc@samurai.com>)
Список pgsql-bugs
Neil Conway <neilc@samurai.com> writes:
> Evidently the optimizer chooses a different plan in the presence of the
> WHERE clause, but that plan appears to be pretty bad. However, it is
> tough to say more without EXPLAIN output for both queries (if possible,
> get EXPLAIN ANALYZE output -- although this might take too long for the
> second query).

And the schemas for the tables involved --- without knowing what indexes
are available it's impossible to guess much.

> Also, have you run ANALYZE recently?

Indeed.

            regards, tom lane

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: BUG #1482: SQL ERROR IN 7.4.7
Следующее
От: "naresh soni"
Дата:
Сообщение: BUG #1493: image storeg