Re: Why is indexonlyscan so darned slow?

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: Why is indexonlyscan so darned slow?
Дата
в 17:37:27
Msg-id
CA+U5nM+gf5F=nm3ceaiWofXS+rjybUn_vsLRQakOp+0byGDn4A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Why is indexonlyscan so darned slow? Joshua Berkus <josh@agliodbs.com>
Re: Why is indexonlyscan so darned slow? Ants Aasma <ants@cybertec.at>
Re: Why is indexonlyscan so darned slow? Joshua Berkus <josh@agliodbs.com>
Re: Why is indexonlyscan so darned slow? Jeff Janes <jeff.janes@gmail.com>
Re: Why is indexonlyscan so darned slow? Joshua Berkus <josh@agliodbs.com>
Re: Why is indexonlyscan so darned slow? Jeff Janes <jeff.janes@gmail.com>
Re: Why is indexonlyscan so darned slow? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why is indexonlyscan so darned slow? Josh Berkus <josh@agliodbs.com>
Re: Why is indexonlyscan so darned slow? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why is indexonlyscan so darned slow? Josh Berkus <josh@agliodbs.com>
Re: Why is indexonlyscan so darned slow? Jeff Janes <jeff.janes@gmail.com>
Re: Why is indexonlyscan so darned slow? Josh Berkus <josh@agliodbs.com>
Re: Why is indexonlyscan so darned slow? Simon Riggs <simon@2ndquadrant.com>
Re: Why is indexonlyscan so darned slow? Jeff Janes <jeff.janes@gmail.com>
Re: Why is indexonlyscan so darned slow? Merlin Moncure <mmoncure@gmail.com>
Re: Why is indexonlyscan so darned slow? Ants Aasma <ants@cybertec.at>
Re: Why is indexonlyscan so darned slow? Jeff Janes <jeff.janes@gmail.com>
Re: Why is indexonlyscan so darned slow? Merlin Moncure <mmoncure@gmail.com>
Re: Why is indexonlyscan so darned slow? Simon Riggs <simon@2ndQuadrant.com>
Re: Why is indexonlyscan so darned slow? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why is indexonlyscan so darned slow? Simon Riggs <simon@2ndquadrant.com>
Re: Why is indexonlyscan so darned slow? Greg Stark <stark@mit.edu>
Re: Why is indexonlyscan so darned slow? Robert Haas <robertmhaas@gmail.com>
On 21 May 2012 16:02, Tom Lane  wrote:
> Simon Riggs  writes:
>> Surely the way to solve this is by having a new plan node that does a
>> physical SeqScan of the index relation. It means we wouldn't preserve
>> the sort order of the rows from the index, but that is just a plan
>> cost issue.
>
>> This is exactly what we do for VACUUM and it works faster there.
>
> The reason that's okay for vacuum is that vacuum doesn't care if it
> visits the same index tuple multiple times.  It will not work for real
> queries, unless you would like to lock out all concurrent inserts.

I checked a little more and Oracle supports something called a Fast
Index Scan. Maybe there is a way.

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

В списке pgsql-hackers по дате отправления
От: Daniel Farina
Дата:
Сообщение: Re: Schema version management
От: Josh Berkus
Дата:
FAQ