[gdal-dev] "OGR_SQLITE_SYNCHRONOUS" and "OGR_SQLITE_CACHE" accessible through Python bindings?

Even Rouault even.rouault at spatialys.com
Sun May 23 02:15:21 PDT 2021

gdal.SetConfigOption(name_of_config_option, value_as_string)

Le 23/05/2021 à 03:46, Met Bas a écrit :
> Write speeds to GeoPackages appear to be going extremely slow in my use case.
> GPKG/SQLite journal files are being created at the sizes of 10-25 kb
> incrementally increasing the main geopackage file. This is saving on a drive
> where such small incremental cause larger slowdowns, so I would like to
> increase the size of these changes.
> The configuration options "OGR_SQLITE_SYNCHRONOUS" and "OGR_SQLITE_CACHE"
> appear relevant to increasing speed.
> Is there a way in which I can set these options (limited to the scope of the
> script being run) through Python?
> Thank you,
> M.B
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

My software is free, but my time generally not.

More information about the gdal-dev mailing list