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

Allow cleanup of SQLite tables using new database_cleaner command #1136

Merged
merged 3 commits into from Mar 3, 2021

Conversation

anmatako
Copy link
Contributor

Added functionality to clear SQLite tables and also call VACUUM on Database::Close to reduce the DB file size after cleanup.

src/exe/colmap.cc Outdated Show resolved Hide resolved
@ahojnnes ahojnnes merged commit cd98b8e into colmap:dev Mar 3, 2021
@anmatako anmatako deleted the public/dbcleaner branch March 3, 2021 17:58
lucasthahn pushed a commit to TNE-ai/colmap that referenced this pull request Aug 17, 2022
…lmap#1136)

* Allow cleanup of SQLite tables using new database_cleaner command

* Change type option to string

* Add Database unit tests for clearing tables

Co-authored-by: Antonios Matakos <anmatako@dss.microsoft.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants