Re: partitioned tables query not using indexes

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: partitioned tables query not using indexes
Дата
Msg-id 4B8AF25C.3030209@agliodbs.com
обсуждение исходный текст
Ответ на Re: partitioned tables query not using indexes  (Kenneth Marshall <ktm@rice.edu>)
Список pgsql-performance
On 2/28/10 1:51 PM, Kenneth Marshall wrote:
> On Sun, Feb 28, 2010 at 12:29:14PM -0800, Josh Berkus wrote:
>>> However the same query against the base table when specifying the check
>>> constraint key in the where clause produces sequential scans:
>> Does the "master" table have the same indexes as the slave partitions?
>>
>> --Josh Berkus
>>
> Does this help? I have an empty base table without indexes and partitions
> underneath that do have the index. I did not think that an index on the
> parent table did anything.

I'm not sure that it does, but "try it and see" is easier than reading
the planner code.

--Josh Berkus

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [HACKERS] full text search index scan query plan changed in 8.4.2?
Следующее
От: Chris
Дата:
Сообщение: Re: [HACKERS] full text search index scan query plan changed in 8.4.2?