pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ian Cass <ian.cass@mblox.com>
To: pgsql-sql@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: JOINS and non use of indexes
Date: Mon, 8 Apr 2002 16:12:36 +0100
Message-ID: <00d401c1df0f$d445c410$6602a8c0@salamander> (raw)
References: <002001c1def9$e0fcc750$6602a8c0@salamander>
	<20623.1018277168@sss.pgh.pa.us>

> 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




view thread (8+ messages)  latest in thread

Message-ID: <00d401c1df0f$d445c410$6602a8c0@salamander>
Permalink:  ../00d401c1df0f$d445c410$6602a8c0@salamander/
Also on:    postgresql.org/message-id/00d401c1df0f$d445c410$6602a8c0@salamander

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ian.cass@mblox.com, tgl@sss.pgh.pa.us
  Subject: Re: JOINS and non use of indexes
  In-Reply-To: <00d401c1df0f$d445c410$6602a8c0@salamander>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox