Re:

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re:
Дата
Msg-id 19988.1173285440@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re:  (Jeff Cole <cole.jeff@gmail.com>)
Ответы Re:
Список pgsql-performance
Jeff Cole <cole.jeff@gmail.com> writes:
> Hi Tom, you are correct, the distribution is uneven... In the 13k
> symptom_reports rows, there are 105 distinct symptom_ids.   But the
> first 8k symptom_reports rows only have 10 distinct symptom_ids.
> Could this cause the problem and would there be anything I could do
> to address it?

Ah-hah, yeah, that explains it.  Is it worth your time to deliberately
randomize the order of the rows in symptom_reports?  It wasn't clear
whether this query is actually something you need to optimize.  You
might have other queries that benefit from the rows being in nonrandom
order, so I'm not entirely sure that this is a good thing to do ...

            regards, tom lane

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

Предыдущее
От: cedric
Дата:
Сообщение: Re: compact flash disks?
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: [kris@obsecurity.org: Progress on scaling of FreeBSD on 8 CPU systems]