Dear developers

Ogr SQL update capabilities are really impressing but there is one major 
performance issue with update of many features, exemplified by:
ogrinfo -dialect sqlite -sql "UPDATE <table> SET x = 1" PG:”<connection>"

This is painfully slow because ogr updates features one by one and furthermore 
updates all existing attributes incl. geometries.
Eg. updating 10000 features in pgAdmin/psql with UPDATE <table> SET x = 1 
executes in milliseconds but takes several minutes with ogr.

The current ogr functionality is also not correct from a database transactional 
point of view.

I found an old RFC, https://gdal.org/development/rfc/rfc13_createfeatures.html, 
requesting this but it was withdrawn for reasons not anymore digitally 
available.

Best Regards

Andreas Oxenstierna
T-Kartor Geospatial AB
Olof Mohlins väg 12 Kristianstad
mobile: +46 733 206831
mailto: 
andreas.oxenstie...@t-kartor.com<mailto:andreas.oxenstie...@t-kartor.com>
www.t-kartor.com<http://www.t-kartor.com>
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to