Re: Is clustering factor stored in pg_stats.correlation?
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Is clustering factor stored in pg_stats.correlation? |
| Дата | |
| Msg-id | 11526.1419118131@sss.pgh.pa.us обсуждение |
| Ответ на | Is clustering factor stored in pg_stats.correlation? (AlexK987 <alex.cue.987@gmail.com>) |
| Ответы |
Re: Is clustering factor stored in pg_stats.correlation?
|
| Список | pgsql-general |
AlexK987 <alex.cue.987@gmail.com> writes: > I believe that tables' clustering factors are stored in pg_stats.correlation. Dunno what you mean by "clustering factor", but pg_stats.correlation stores the correlation coefficient between the sequence of the column's data values and the sequence of their physical order. Correlation coefficient is defined in the usual way: http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient so it ranges between +1 in your example (perfect ordering) and -1 (perfect descending order). regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера