Re: Wrong plan for simple join with index on FK

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Wrong plan for simple join with index on FK
Дата
Msg-id 20060516101046.GC976@svana.org
обсуждение исходный текст
Ответ на Wrong plan for simple join with index on FK  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Ответы Re: Wrong plan for simple join with index on FK
Список pgsql-hackers
On Tue, May 16, 2006 at 11:52:05AM +0200, Pavel Stehule wrote:
> Hello
>
> I test using index on foreign key. I found situation, when planner choose
> worse plan.

Can we seen an EXPLAIN ANALYZE output to see where the miscalculation
lies. Is it underestimating the cost of the index scan, or
overestimating the cost of the hash join.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Creating a Pseudocolumn
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Wrong plan for simple join with index on FK