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

From: Richard Huxton <dev(at)archonet(dot)com>
To: Stephen Friedrich <stephen(dot)friedrich(at)fortis-it(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Partitioning: Planner makes no use of indexes on inherited
Date: 2006-01-18 09:05:25
Message-ID: 43CE04D5.6020101@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2006-01-18 09:10:22 Re: PostgreSQL Top 10 Wishlist
Previous Message Richard Huxton 2006-01-18 09:02:24 Re: Change owner of all database objects