Re: Covering Indexes

Поиск
Список
Период
Сортировка
Искать
От
Vik Reykja
Тема
Re: Covering Indexes
Дата
Msg-id
CALDgxVv7GmdRtow1OSpOory7SmvvzQRFVJyjT3aCEQvMAK720A@mail.gmail.com
Ответ на
Re: Covering Indexes (Simon Riggs)
Список
Дерево обсуждения
Covering Indexes "David E. Wheeler" <david@justatheory.com>
Re: Covering Indexes Andreas Joseph Krogh <andreak@officenet.no>
Re: Covering Indexes Simon Riggs <simon@2ndQuadrant.com>
Re: Covering Indexes "David E. Wheeler" <david@justatheory.com>
Re: Covering Indexes Simon Riggs <simon@2ndQuadrant.com>
Re: Covering Indexes "David E. Wheeler" <david@justatheory.com>
Re: Covering Indexes "David Johnston" <polobo@yahoo.com>
Re: Covering Indexes Andrew Dunstan <andrew@dunslane.net>
Re: Covering Indexes Simon Riggs <simon@2ndQuadrant.com>
Re: Covering Indexes Bruce Momjian <bruce@momjian.us>
Re: Covering Indexes Jeff Davis <davis.jeffrey@gmail.com>
Re: Covering Indexes Jeff Davis <pgsql@j-davis.com>
Re: Covering Indexes Merlin Moncure <mmoncure@gmail.com>
Re: Covering Indexes Jeff Davis <pgsql@j-davis.com>
Re: Covering Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Covering Indexes Merlin Moncure <mmoncure@gmail.com>
Re: Covering Indexes Robert Haas <robertmhaas@gmail.com>
Re: Covering Indexes Merlin Moncure <mmoncure@gmail.com>
Re: Covering Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: Covering Indexes Simon Riggs <simon@2ndQuadrant.com>
Re: Covering Indexes Vik Reykja <vikreykja@gmail.com>
Re: Covering Indexes Rob Wultsch <wultsch@gmail.com>
Re: Covering Indexes Thomas Munro <munro@ip9.org>
Re: Covering Indexes Eric McKeeth <eldin00@gmail.com>
Re: Covering Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Covering Indexes Csaba Nagy <ncslists@googlemail.com>
Re: Covering Indexes Bruce Momjian <bruce@momjian.us>
Re: Covering Indexes Cédric Villemain <cedric@2ndquadrant.com>
Re: Covering Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: Covering Indexes Andrew Dunstan <andrew@dunslane.net>
Re: Covering Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: Covering Indexes Alvaro Herrera <alvherre@commandprompt.com>
Re: Covering Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: Covering Indexes Aidan Van Dyk <aidan@highrise.ca>
Re: Covering Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Covering Indexes Florian Weimer <fw@deneb.enyo.de>
On Tue, Jul 17, 2012 at 6:08 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
On 17 July 2012 16:54, David E. Wheeler <david@justatheory.com> wrote:
> Yeah, but that index is unnecessarily big if one will never use c or d in the search. The nice thing about covering indexes as described for SQLite 4 and implemented in MSSQL is that you can specify additional columns that just come along for the ride, but are not part of the indexed data:
>
>     CREATE INDEX cover1 ON table1(a,b) COVERING(c,d);
>
> Yes, you can do that by also indexing c and d as of 9.2, but it might be nice to be able to include them in the index as additional row data without actually indexing them.

Can you explain what you mean by "without actually indexing them"?
ISTM that it is a non-feature if the index is already non-unique, and
the difference is simply down to the amount of snake oil applied to
the descriptive text on the release notes.

It would be useful in non-unique indexes to store data without ordering operators (like xml).
В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
Сообщение: Re: Covering Indexes
От: David Johnston
Дата:
Сообщение: Re: Covering Indexes
FAQ