On dimanche 10 mars 2019 16:45:20 CET Rahkonen Jukka (MML) wrote: > Hi, > > On page https://www.gdal.org/ogr2ogr.html I can read from the Performance > hints: "For example, for SQLite, explicitly defining -gt 65536 ensures > optimal performance while populating some table containing many hundredth > thousand or million rows. However, note that if there are failed > insertions, the scope of -skipfailures is a whole transaction." > > I have thought that -skipfailures overrides -gt and sets the size of > transactions into 1 and there is also a comment in > https://github.com/OSGeo/gdal/blob/master/gdal/apps/ogr2ogr_lib.cpp on row > 5190: /* If skipfailures is already set we should not > modify nGroupTransactions = 1 #2409 */ > > Does -skipfailures set the size of a transaction into 1 or not?
Yes, -skipfailures overrides -gt. The doc seems to be behind Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev