Re: Index not used on join with inherited tables

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Index not used on join with inherited tables
Дата
Msg-id 200505300921.46460.josh@agliodbs.com
обсуждение исходный текст
Ответ на Index not used on join with inherited tables  (Sebastian Böck <sebastianboeck@freenet.de>)
Ответы Re: Index not used on join with inherited tables
Список pgsql-performance
Sebastian,

> I'm having another problem with a query that takes to long, because
> the appropriate index is not used.

PostgreSQL is not currently able to push down join criteria into UNIONed
subselects.   It's a TODO.

Also, if you're using inherited tables, it's unnecessary to use UNION; just
select from the parent.

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Postgresql and xeon.
Следующее
От: Michael Engelhart
Дата:
Сообщение: Re: sequential scan performance