[gdal-dev] Dropping GeoPackage table doesn't reduce file size

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Mon Oct 31 06:48:10 PDT 2016


You must vacuum https://www.sqlite.org/lang_vacuum.html. It can be slow so
you do not necessarily want to do it if your database is big and if you
dropped just a small table.

ogrinfo db.gpkg -sql "VACUUM"

-Jukka Rahkonen-



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Dropping-GeoPackage-table-doesn-t-reduce-file-size-tp5293603p5293607.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list