Re: Strange issue with GiST index scan taking far too long

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Mark Cave-Ayland <mark(dot)cave-ayland(at)siriusit(dot)co(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Strange issue with GiST index scan taking far too long
Date: 2008-06-09 14:36:07
Message-ID: 1213022167.12046.109.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Mon, 2008-06-09 at 14:18 +0100, Mark Cave-Ayland wrote:
> Unfortunately I can't seem to work out why the extra time is
> disappearing into the index scan when my extra mcatest() function is
> not present,

Hmmm, perhaps implicit casting?

Try this to see if it works better also

select count(*) from geography where centroid
&& (select the_geom::geometry from geography where id=69495);

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-06-09 14:38:49 Re: Message-ID should surely not be shown as a mailto: URL
Previous Message Alvaro Herrera 2008-06-09 14:34:17 Re: Message-ID should surely not be shown as a mailto: URL