Re: GIST index : order Hack : getting the order used by CLUSTER .. USING my_index

Поиск
Список
Период
Сортировка
От Rémi Cura
Тема Re: GIST index : order Hack : getting the order used by CLUSTER .. USING my_index
Дата
Msg-id CAJvUf_vTgcAxpzsCaMsQjf+fOxFwv0tt0LC7s0gn6DFirp0aig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: GIST index : order Hack : getting the order used by CLUSTER .. USING my_index  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Great,
thanks.

Now you say that I never saw any improvement when clustering table with gist.
You just saved me a lot of unnecessary queries :-)

Cheers,

Rémi-C


2013/10/24 Tom Lane <tgl@sss.pgh.pa.us>
Rémi Cura <remi.cura@gmail.com> writes:
> I don't understand how the CLUSTER .. USING index command work then.
> It is supposed to rewrite on disk following index order. Does it do nothing
> for GIST index?

Nobody has ever demonstrated that CLUSTER has any value for anything
except btree indexes.  It seems likely to me that it'd actually be
counterproductive for indexes like GiST, which depend on data arriving in
random order for the highest index levels to end up well-distributed.

                        regards, tom lane

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: PostgreSQL Point In Time Recovery
Следующее
От: John R Pierce
Дата:
Сообщение: Re: PostgreSQL Point In Time Recovery