Re: BUG #8620: SELECT on Materialized View Fails to Use Index

Поиск
Список
Период
Сортировка
От Jesse Denardo
Тема Re: BUG #8620: SELECT on Materialized View Fails to Use Index
Дата
Msg-id CANiVXAiy5nDP_=4z16ydiZZt0N065Un8aZuYOGOAdV5VcTy6TQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #8620: SELECT on Materialized View Fails to Use Index  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Thanks Tom, that did the trick.


--
Jesse Denardo


On Sat, Nov 23, 2013 at 12:53 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> jesse.denardo@myfarms.com writes:
> > Any idea why Postgres would fail to use the
> > index on one machine but not the other, for identical queries?
>
> The rowcount estimates are far from identical.  Maybe you've ANALYZEd the
> matview on one machine and not the other?  Could you have auto-analyze
> disabled on the second machine?
>
>                         regards, tom lane
>
>

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8620: SELECT on Materialized View Fails to Use Index
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Server may segfault when using slices on int2vector