Re: Query does not use index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query does not use index
Дата
Msg-id 18077.1083281571@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Query does not use index  (Martin Hampl <Martin.Hampl@gmx.de>)
Ответы Re: Query does not use index  (Martin Hampl <Martin.Hampl@gmx.de>)
Список pgsql-novice
Martin Hampl <Martin.Hampl@gmx.de> writes:
> It would be very nice, if someone could have a look at the query I'm
> trying to optimize. At the moment, I don't understand PostgreSQL's
> behaviour and are stuck. Thanks a lot in advance.

Did you ANALYZE these tables?  Also, please post EXPLAIN ANALYZE not
just EXPLAIN when complaining about bad plans.  Since the essence of
your complaint is that the planner's estimates are wrong, showing us
only estimates and not reality makes it hard to give constructive
suggestions ...

            regards, tom lane

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

Предыдущее
От: Martin Hampl
Дата:
Сообщение: Query does not use index
Следующее
От: Martin Hampl
Дата:
Сообщение: Re: Query does not use index