Re: Random plan selection in DBT-3

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: Random plan selection in DBT-3
Дата
Msg-id 20080107120132.6486.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Random plan selection in DBT-3  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Random plan selection in DBT-3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> > I tested 8.3beta4 with DBT-3 (TPC-H) and found unstable selection of plans.
> > Planner randomly selected two types of plans (A, B) when I repeated EXPLAIN.
> 
> Are you sure the statistics weren't changing underneath you (due to
> auto-vacuum or auto-analyze)?

Sure. There were no statistic changes.

There might be regularity in the plan selection. When I connect to postgres
newly, I see plans { A, B, A, A ... }. Then disconnect, re-connect and send
the same EXPLAINs, the same pattern was reproduced.


Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Random plan selection in DBT-3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Random plan selection in DBT-3