[gdal-dev] Tips on Speeding up OGR2OGR GeoPackage Creation

Laurențiu Nicola lnicola at dend.ro
Thu Oct 20 06:08:30 PDT 2022


Hi,

https://gdal.org/drivers/vector/gpkg.html#configuration-options has a couple of options that can help with performance. See also https://gdal.org/drivers/vector/sqlite.html#target-drivers-vector-sqlite-performance-hints.

But I don't recall them helping that much. YMMV.

Regards,
Laurentiu

On Thu, Oct 20, 2022, at 15:06, Dennis Burgess wrote:
> We have a large table in MSSQL, this table we extract data from and drop it into a GeoPackage for further processing.  However, the extraction can take some time, its only using 5% of the CPU available, and pulling the data is fairly quick in debug mode, its really its generation and index creation that is slow.  Any tips on speeding this up?  We have SSDs and NVME drives, 10gig networking etc..  So.  It should be as quick as it can be, but the 5% CPU is what I think the killer is.  On this server 24 cores, so 5% would be right at one core..  Is there no multi-threading or other options here? 
>  
>  
> *LTI-Full_175px*
> *Dennis Burgess, Mikrotik Certified Trainer
> MTCNA, MTCRE, MTCWE, MTCTCE, MTCINE, MTCSE, HE IPv6 Sage, Cambium ePMP Certified*
> Author of "Learn RouterOS- Second Edition”
> *Link Technologies, Inc* -- Mikrotik & WISP Support Services
> *Office*: 314-735-0270  Website: http://www.linktechs.net
> Need to Automate MikroTik Backups:  https://cloud.linktechs.net
> Create Wireless Coverage’s with www.towercoverage.com
>  
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221020/6d3ecfcb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4424 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221020/6d3ecfcb/attachment-0001.png>


More information about the gdal-dev mailing list