[postgis-tickets] [PostGIS] #2898: Define a guideline for function cost

PostGIS trac at osgeo.org
Fri Aug 15 08:47:07 PDT 2014


#2898: Define a guideline for function cost
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.2.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by strk):

 If I change the postgis_noop implementation to simply return the input
 datum it takes 66ms (vs. ~50ms of the plain timing). Having it simply do
 the DETOAST_DATUM makes it jump again to 18149.952 ms

 It turns out EXPLAIN ANALYZE does not run canonical output functions at
 all, so there's no detoasting performed in a "SELECT rast FROM ..."

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