[postgis-tickets] [PostGIS] #2365: find_srid performance regression with large numbers of tables

PostGIS trac at osgeo.org
Wed Apr 29 11:46:40 PDT 2015


#2365: find_srid performance regression with large numbers of tables
------------------------+---------------------------
  Reporter:  angrygoat  |      Owner:  pramsey
      Type:  defect     |     Status:  reopened
  Priority:  medium     |  Milestone:  PostGIS 2.2.0
 Component:  postgis    |    Version:  2.0.x
Resolution:             |   Keywords:
------------------------+---------------------------

Comment (by robe):

 Commited at trunk 2.2 at r13461.  I did put in a note it's 2.1.8 cause I
 plan to backport to 2.1.  I can't see how this new version is any worse
 than what we had before, but I'll test with the casting view to make sure
 performance is not bad.

 With this version I keep all the silly checking of old and error handling.

 and timings don't try my patience anymore.

 For my 30,000 row geometry_columns view, mostly of constraint based
 columns, my stats are now surprisingly respectable.
 {{{
 -- 1912 ms
 SELECT find_srid(f_table_schema, f_table_name, f_geometry_column)
   FROM  tmp_geoms As f;

 -- 1911 ms

 SELECT find_srid('', f_table_schema || '.' || f_table_name,
 f_geometry_column) FROM  tmp_geoms As f;
 }}}

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