Re: Simple join doesn't use index

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Simple join doesn't use index
Дата
Msg-id CAHyXU0xNX7cEnnceshoTi9U1Jpn1zY6T3GuUk6gJMuFJooZmRg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Simple join doesn't use index  (Alex Vinnik <alvinnik.g@gmail.com>)
Список pgsql-performance
On Tue, Jan 29, 2013 at 8:41 AM, Alex Vinnik <alvinnik.g@gmail.com> wrote:
> Setting work_mem to 64MB triggers in memory sort but look what happens with
> views look up. PG goes through all records there "Seq Scan on views" instead
> of using visitor_id index and I have only subset of real data to play
> around. Can imagine what cost would be running it against bigger dataset.
> Something else is in play here that makes planner to take this route. Any
> ideas how to gain more insight into planner's inner workings?

did you set effective_cache_seize as noted upthread?

merlin


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

Предыдущее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: Simple join doesn't use index
Следующее
От: Ben Chobot
Дата:
Сообщение: Re: Simple join doesn't use index