[postgis-devel] CLUSTER in 8.3

Obe, Regina robe.dnd at cityofboston.gov
Fri Dec 5 09:42:01 PST 2008


As I recall when it failed it didn't just clobber the index, it clobbered all the records when I went to open the table. Very scary


-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net on behalf of Mark Cave-Ayland
Sent: Fri 12/5/2008 12:34 PM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] CLUSTER in 8.3
 
Chris Hodgson wrote:
> It might be worth trying it on a non-Postgis index... if you can 
> replicate it using a the GiST B-tree implementation on a table full of 
> integers then I expect you could immediately get the attention of the 
> Postgres devs, or at least Oleg and/or Teodor.
> 
> If you can't replicate it that way, it still doesn't rule it out as a 
> Postgresql core or GiST problem... but it certainly suggests that 
> Postgis does something differently that isn't helping.
> 
> Chris

I think the GiST part is a red herring - there is no way that a "SELECT 
COUNT(*) FROM foo" can use an index in PostgreSQL. My suspicion is that 
it's related to the use of ANALYZE/VACUUM/CLUSTER.


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel



-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20081205/628d7fca/attachment.html>


More information about the postgis-devel mailing list