Re: index not used with inherited tables

Поиск
Список
Период
Сортировка
От Verena Ruff
Тема Re: index not used with inherited tables
Дата
Msg-id 44649C60.2030801@triosolutions.at
обсуждение исходный текст
Ответ на Re: index not used with inherited tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi,

Tom Lane schrieb:
> Yes, and I'm sure it did.  The more relevant question is how much data
> do you have in the child table?  The planner generally won't bother with
> an indexscan if the table is only one or two disk pages; trying to use
> the index in such cases would end up fetching *more* disk pages overall.
>
Yes, there isn't much data in those child tables. It seems like this is
the reason why. Thanks for this information!

Regards,
Verena

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: index not used with inherited tables
Следующее
От: "Robert Landsmeer"
Дата:
Сообщение: Wondering if anyone could help me