Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPKG: optimize speed of 'DELETE FROM table_name', especially on ones with RTree #11139

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Oct 27, 2024

On a .gpkg of 1.6 GB with a table of 3.2 million features, this decreases the time from 1 minute to 12 seconds (with secure delete enabled, or 1 second with secure delete disabled)

@rouault rouault added this to the 3.11.0 milestone Oct 27, 2024
@rouault rouault added the funded through GSP Work funded through the GDAL Sponsorship Program label Oct 27, 2024
@rouault rouault force-pushed the gpkg_truncate branch 2 times, most recently from ae09606 to 4e02b5a Compare October 27, 2024 21:51
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 69.464% (-4.0%) from 73.478%
when pulling 4e02b5a on rouault:gpkg_truncate
into a8117d9 on OSGeo:master.

…with RTree

On a .gpkg of 1.6 GB with a table of 3.2 million features, this
decreases the time from 1 minute to 12 seconds (with secure delete
enabled, or 1 second with secure delete disabled)
@rouault rouault merged commit c0595f4 into OSGeo:master Oct 30, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
funded through GSP Work funded through the GDAL Sponsorship Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants