Re: Collect frequency statistics for arrays

Поиск
Список
Период
Сортировка
От Nathan Boley
Тема Re: Collect frequency statistics for arrays
Дата
Msg-id CAHetpQQDNgPaf2WvwC5zL0erSFmueDS3UdcYkD5ZmnPOGT-uMQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Collect frequency statistics for arrays  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Collect frequency statistics for arrays
Список pgsql-hackers
>> What about MCV's? Will those be removed as well?
>
> Sure.  Those seem even less useful.

Ya, this will destroy the performance of several queries without some
heavy tweaking.

Maybe this is bad design, but I've gotten in the habit of storing
sequences as arrays and I commonly join on them. I looked through my
code this morning, and I only have one 'range' query ( of the form
described up-thread ), but there are tons of the form

SELECT att1, attb2 FROM rela, relb where rela.seq_array_1 = relb.seq_array;

I can provide some examples if that would make my argument more compelling.

Sorry to be difficult,
Nathan


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Allowing multi "-t" and adding "-n" to vacuumdb ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Collect frequency statistics for arrays