[GRASS-dev] [GRASS GIS] #2185: Painfully Slow 'v.in.ogr' Vector Import

GRASS GIS trac at osgeo.org
Sat Feb 1 23:12:18 PST 2014


#2185: Painfully Slow 'v.in.ogr' Vector Import
--------------------------------------+-------------------------------------
 Reporter:  justinzane                |       Owner:  grass-dev@…              
     Type:  defect                    |      Status:  new                      
 Priority:  normal                    |   Milestone:  7.0.0                    
Component:  Vector                    |     Version:  svn-trunk                
 Keywords:  import, OGR, performance  |    Platform:  Linux                    
      Cpu:  Unspecified               |  
--------------------------------------+-------------------------------------
Changes (by justinzane):

 * cc: justinzane (added)


Comment:

 Running under `perf` several times, and using `-Og -g` builds of grass7
 and gdal, it seems that somewhere between 30-40% of the execution time is
 happening in Python or the shell. That seems odd, but I'm ignorant...

 Additionally, it seems that grass is sending a query for **every** write
 to the DB, **synchronously**, instead of either doing the DB IO in another
 thread. That seems a poor use of multicored systems.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2185#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list