Re: Optimize date query for large child tables: GiST or GIN?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Optimize date query for large child tables: GiST or GIN?
Дата
Msg-id 1275412319-sup-2359@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Optimize date query for large child tables: GiST or GIN?  (Matthew Wakeling <matthew@flymine.org>)
Ответы Re: Optimize date query for large child tables: GiST or GIN?
Список pgsql-performance
Excerpts from Matthew Wakeling's message of mar jun 01 05:55:35 -0400 2010:
> On Sun, 23 May 2010, David Jarvis wrote:
> > The measurement table indexes (on date and weather station) were not being
> > used because the only given date ranges (e.g., 1900 - 2009) were causing the
> > planner to do a full table scan, which is correct.
>
> I wonder if you might see some benefit from CLUSTERing the tables on the
> index.

Eh, isn't this a GIN or GiST index?  I don't think you can cluster on
those, can you?

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: PostgreSQL Function Language Performance: C vs PL/PGSQL
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Optimize date query for large child tables: GiST or GIN?