Re: insane index scan times

Поиск
Список
Период
Сортировка
От Sergei Shelukhin
Тема Re: insane index scan times
Дата
Msg-id 1180938547.431269.205000@g4g2000hsf.googlegroups.com
обсуждение исходный текст
Ответ на Re: insane index scan times  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: insane index scan times  (Martijn van Oosterhout <kleptog@svana.org>)
Re: insane index scan times  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-general
This is just an example isolating the problem.
Actual queries contain more tables and more joins and return
reasonable amount of data.
Performance of big indices however is appalling, with planner always
reverting to seqscan with default settings.

I tried to pre-filter the data as much as possible in preceding joins
to put less strain on the offending join (less rows to join by?) but
it doesn't help.

I wonder what exactly makes index perform 100+ times slower than
seqscan - I mean even if it's perfromed on the HD which it should not
be given the index size, index and table are on the same HD and index
is smaller and also sorted, isn't it?





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

Предыдущее
От: "Bart Degryse"
Дата:
Сообщение: Re: plperl and/or insert trigger problem
Следующее
От: Johannes Konert
Дата:
Сообщение: Re: Suppress checking of chmod 700 on data-dir?