Re: Correlation in cost_index()

Поиск
Список
Период
Сортировка
Искать
От
Manfred Koizar
Тема
Re: Correlation in cost_index()
Дата
Msg-id
k1d8jvs046jckhvjt433lpgkgh6kovl350@4ax.com
Ответ на
Список
Дерево обсуждения
Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Tom Lane <tgl@sss.pgh.pa.us>
Re: Correlation in cost_index() Sean Chittenden <sean@chittenden.org>
Re: Correlation in cost_index() Tom Lane <tgl@sss.pgh.pa.us>
Re: Correlation in cost_index() Sean Chittenden <sean@chittenden.org>
Re: Correlation in cost_index() Tom Lane <tgl@sss.pgh.pa.us>
Re: Correlation in cost_index() Sean Chittenden <sean@chittenden.org>
Re: Correlation in cost_index() Tom Lane <tgl@sss.pgh.pa.us>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Sean Chittenden <sean@chittenden.org>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Sean Chittenden <sean@chittenden.org>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() "scott.marlowe" <scott.marlowe@ihs.com>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() "scott.marlowe" <scott.marlowe@ihs.com>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Tom Lane <tgl@sss.pgh.pa.us>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() "scott.marlowe" <scott.marlowe@ihs.com>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
Re: Correlation in cost_index() Manfred Koizar <mkoi-pg@aon.at>
On Fri, 08 Aug 2003 18:25:41 -0400, Tom Lane 
wrote:
>  Two examples: [...]

One more example:X	Y
A	Aa	BA	Cb	AB	Bb	CC	Ac	BC	C

Correlation for column X is something less than 1.0, OTOH correlation
for an index on upper(X) is 1.0.

>I don't really see
>a way to do this without actually examining the multi-column ordering
>relationship during ANALYZE.

So did we reach consensus to add a TODO item?
* Compute index correlation on CREATE INDEX and ANALYZE,  use it for index scan cost estimation

ServusManfred

В списке pgsql-hackers по дате отправления
От: Manfred Koizar
Дата:
От: Sean Chittenden
Дата:
FAQ