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

PostGIS trac at osgeo.org
Tue Jul 3 13:01:23 PDT 2012


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

Comment(by strk):

 I guess you're right about it affecting geometry as well, but couldn't
 find the demonstration (which comment?).

 Teaching _st_expand() to the estimator sounds like an interesting project.

 Any chance to reuse more code between geometry and geography, to do less
 work ?
 Also, I think it's _very_ important to add some form of regression testing
 for this.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1828#comment:44>
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