Re: Partitioning: Planner makes no use of indexes on inherited

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Partitioning: Planner makes no use of indexes on inherited
Дата
Msg-id 43CE04D5.6020101@archonet.com
обсуждение исходный текст
Ответ на Partitioning: Planner makes no use of indexes on inherited table?!  (Stephen Friedrich <stephen.friedrich@fortis-it.de>)
Ответы Re: Partitioning: Planner makes no use of indexes on inherited
Список pgsql-general
Stephen Friedrich wrote:
> Here is the plan if I query the inherited table directly
> (which is not really possible to do with that stupid, inflexible
> hibernate framework):
>
> explain select this_.id as id1_0_, <more columns>
> from call_sources_10554 this_
> where this_.cdr_id = 10554
> order by this_.id asc
> limit 100;

I don't suppose changing it to:
   ORDER BY this_.cdr_id, this_.id
does anything for you?

--
   Richard Huxton
   Archonet Ltd

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