[postgis-tickets] [PostGIS] #4372: PROJ 6: 4x slowdown on indexes over ST_Transform

PostGIS trac at osgeo.org
Mon Jun 17 04:27:46 PDT 2019


#4372: PROJ 6: 4x slowdown on indexes over ST_Transform
-------------------------+---------------------------
  Reporter:  Algunenano  |      Owner:  Algunenano
      Type:  defect      |     Status:  assigned
  Priority:  high        |  Milestone:  PostGIS 3.0.0
 Component:  postgis     |    Version:  trunk
Resolution:              |   Keywords:
-------------------------+---------------------------

Comment (by Algunenano):

 I have a WIP in https://github.com/postgis/postgis/pull/422 to address
 some of the issues found here.

 The main fix to gain the performance back is to also cache the
 proj_crs_is_swapped calls to avoid making them in every ST_Transform call.

 I'm still investigating further to try to understand why removing the
 invalid set_searchpath makes some calls 10x slower with PROJ6. Also I need
 to review that I haven't broken anything in proj5 ^^

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4372#comment:8>
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