Re: JOINS and non use of indexes - Mailing list pgsql-sql

From Ian Cass
Subject Re: JOINS and non use of indexes
Date
Msg-id 00d401c1df0f$d445c410$6602a8c0@salamander
Whole thread Raw
In response to JOINS and non use of indexes  ("Ian Cass" <ian.cass@mblox.com>)
Responses Re: JOINS and non use of indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
> There's your problem (and don't tell me Oracle gets this right; they
> don't do inheritance, do they?).

No, Oracle doesn't do inheritance.

> The planner isn't smart about
> indexscan-based joins for inheritance trees.  This could possibly be
> improved with some work, but I haven't thought about the details.

Is there any way I could 'educate' it by using more explicit sql, or do I
have to abandon the idea of using inheritance altogether?

--
Ian Cass



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: JOINS and non use of indexes
Next
From: "Ian Cass"
Date:
Subject: Re: JOINS and non use of indexes