Re: Queries taking ages in PG 8.1, have been much faster in PG<=8.0
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Queries taking ages in PG 8.1, have been much faster in PG<=8.0 |
| Дата | |
| Msg-id | 29616.1133795501@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Queries taking ages in PG 8.1, have been much faster in PG<=8.0 ("Markus Wollny" <Markus.Wollny@computec.de>) |
| Ответы |
Re: Queries taking ages in PG 8.1, have been much faster in PG<=8.0
|
| Список | pgsql-performance |
"Markus Wollny" <Markus.Wollny@computec.de> writes:
>> Could we see the pg_stats row for answer.session_id in both
>> 8.0 and 8.1?
> Here you are:
> 8.1:
> Correlation -0.0736492
> 8.0.3:
> Correlation -0.237136
Interesting --- if the 8.1 database is a dump and restore of the 8.0,
you'd expect the physical ordering to be similar. Why is 8.1 showing
a significantly lower correlation? That has considerable impact on the
estimated cost of an indexscan (plain not bitmap), and so it might
explain why 8.1 is mistakenly avoiding the indexscan ...
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера