[postgis-devel] [PostGIS] #1828: Estimate returned by geography_gist_selectivity results in slow query plan for ST_DWithin

PostGIS trac at osgeo.org
Tue Nov 20 11:53:18 PST 2012


#1828: Estimate returned by geography_gist_selectivity results in slow query plan
for ST_DWithin
----------------------------+-----------------------------------------------
  Reporter:  realityexists  |       Owner:  mcayland     
      Type:  defect         |      Status:  closed       
  Priority:  medium         |   Milestone:  PostGIS 2.0.2
 Component:  postgis        |     Version:  2.0.x        
Resolution:  fixed          |    Keywords:               
----------------------------+-----------------------------------------------

Comment(by strk):

 What about a simple EXPLAIN ANALYZE based test ?
 I think we can force the analyzer to get the whole dataset in the
 histogram so that the expected number of results is predictable (rather
 than based on a smaller sample)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1828#comment:50>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list