Re: cross column correlation revisted

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cross column correlation revisted
Дата
Msg-id 4355.1279116086@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cross column correlation revisted  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: cross column correlation revisted  (PostgreSQL - Hans-Jürgen Schönig<postgres@cybertec.at>)
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> On 14/07/10 13:12, PostgreSQL - Hans-J�rgen Sch�nig wrote:
>> maybe somehow like this ...
>> ALTER TABLE x SET CORRELATION STATISTICS FOR (id = id2 AND id3=id4)

> +1 is my general feeling, it's good if you can tell the system to 
> collect additional statistics where needed.

The previous discussions about this went in the direction of
"automatically collect stats if there is an index on that combination of
columns".  Do we really need a command?

> However, the problem is how to represent and store the 
> cross-correlation.

Yes, whatever the triggering mechanism is for collecting cross-column
stats, actually doing something useful is the hard part.
        regards, tom lane


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: patch: preload dictionary new version
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: cross column correlation revisted