[PostGIS] #5959: Query planner vastly underestimates number of rows matched by GIST index

PostGIS trac at osgeo.org
Wed Oct 22 16:24:37 PDT 2025


#5959: Query planner vastly underestimates number of rows matched by GIST index
----------------------+---------------------------
  Reporter:  alexobs  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.5.5
 Component:  postgis  |    Version:  3.5.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by robe):

 This sounds an awful lot like this ticket #5984

 I recall whenever I saw the misbehavior - the SELECT
 _postgis_stats('nodes', 'geom','2') ; would spit out junk.

 I'm curious what yours shows @alexobs for your bad case.  I think we
 determined in that ticket too that 3.4 was good and 3.5 and above
 exhibited the bad behavior.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5959#comment:7>
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-tickets mailing list