Re: Sequential Scan with LIMIT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sequential Scan with LIMIT
Дата
Msg-id 9172.1099007368@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sequential Scan with LIMIT  ("Jim C. Nasby" <decibel@decibel.org>)
Ответы Re: Sequential Scan with LIMIT  ("Jim C. Nasby" <decibel@decibel.org>)
Список pgsql-performance
"Jim C. Nasby" <decibel@decibel.org> writes:
> On Sun, Oct 24, 2004 at 04:11:53PM -0400, Tom Lane wrote:
>> The test case you are showing is probably suffering from nonrandom
>> placement of this particular data value; which is something that the
>> statistics we keep are too crude to detect.

> Isn't that exactly what pg_stats.correlation is?

No.  A far-from-zero correlation gives you a clue that on average, *all*
the data values are placed nonrandomly ... but it doesn't really tell
you much one way or the other about a single data value.

            regards, tom lane

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Sequential Scan with LIMIT
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Sequential Scan with LIMIT