Re: 9.3 Pre-proposal: Range Merge Join - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: 9.3 Pre-proposal: Range Merge Join
Date
Msg-id 1358498248.26970.57.camel@jdavis
Whole thread Raw
In response to Re: 9.3 Pre-proposal: Range Merge Join  (Stefan Keller <sfkeller@gmail.com>)
Responses Re: 9.3 Pre-proposal: Range Merge Join
List pgsql-hackers
On Thu, 2013-01-17 at 21:03 +0100, Stefan Keller wrote:
> Hi Jeff

> I'm perhaps really late in this discussion but I just was made aware
> of that via the tweet from Josh Berkus about "PostgreSQL 9.3: Current
> Feature Status"
> 
> What is the reason to digg into spatial-joins when there is PostGIS
> being a bullet-proof and fast implementation?
> 

Hi Stefan,

You are certainly not too late.

PostGIS uses the existing postgres infrastructure to do spatial joins.
That mean it either does a cartesian product and filters the results, or
it uses a nested loop with an inner index scan.

That isn't too bad, but it could be better. I am trying to introduce a
new way to do spatial joins which will perform better in more
circumstances. For instance, we can't use an inner index if the input
tables are actually subqueries, because we can't index a subquery.

Regards,Jeff Davis




pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Removing PD_ALL_VISIBLE
Next
From: Abhishek Sharma G
Date:
Subject: Starting Postgres : user from same group