Re: Strange issue with GiST index scan taking far too long - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Strange issue with GiST index scan taking far too long
Date
Msg-id 1213022167.12046.109.camel@ebony.site
Whole thread Raw
In response to Strange issue with GiST index scan taking far too long  (Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>)
Responses Re: Strange issue with GiST index scan taking far too long  (Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>)
List 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.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Strange issue with GiST index scan taking far too long
Next
From: Mark Cave-Ayland
Date:
Subject: Re: Strange issue with GiST index scan taking far too long