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

GRASS GIS trac at osgeo.org
Thu Jan 29 15:34:14 PST 2015


#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, v.in.ogr  |    Platform:  Linux                    
      Cpu:  x86-64                              |  
------------------------------------------------+---------------------------

Comment(by imincik1):

 In my situation, I have whole home directory including GRASS data dir on
 NFS 4 mount.

 1. After short investigation, it seems, that setting PRAGMA
 synchronous=OFF on SQLite db has no effect.

 2. What was a great change was moving '.tmp' directory from my mapset
 outside of NFS (by using symlink). v.in.ogr was 8 times faster.
 So my idea is, is it possible to have some environment variable, which
 could define global alternative directory for temporary files ? This could
 improve situation for all modules which are using temporary files (for
 example v.random is not using).

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



More information about the grass-dev mailing list