Opened 7 years ago

Closed 7 years ago

#2062 closed defect (fixed)

Performance Drop in ST_Distance(geog)

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.2
Component: postgis Version: 2.0.x
Keywords: Cc:

Description (last modified by pramsey)

Versions 2.0+ included a change in the distance code that results in repetitive calculation of the geocentric bounds of objects during distance calcs. This can cause much longer return times. See #1976, comment 7.

Change History (2)

comment:1 Changed 7 years ago by pramsey

Description: modified (diff)

comment:2 Changed 7 years ago by pramsey

Resolution: fixed
Status: newclosed

Fix committed to 2.0 branch (r10530) and trunk (r10531). 1.5 branch was already fast. Turns out the fix for #1976 made even 1.5 almost 10 times faster.

Note: See TracTickets for help on using tickets.