Skip to content

Support optimize other file types#1

Draft
rhodey wants to merge 1 commit intomainfrom
support-optimize-other-file-types
Draft

Support optimize other file types#1
rhodey wants to merge 1 commit intomainfrom
support-optimize-other-file-types

Conversation

@rhodey
Copy link
Owner

@rhodey rhodey commented Feb 18, 2026

Support optimize other file types by add --pattern command line option

sqlitesuperfs super1 /tmp/super1
sqlitesuperfs super1 /tmp/super1 --pattern db-journal,db
sqlitesuperfs super1 /tmp/super1 --pattern db-journal,db --pattern lock,off,log

Pattern defaults to "db-journal,db" and so running the first command is same as second

The third command is what you would use to optimize for SQLite and tinyraftplus at the same time

If you have a data structure which uses the file system and the data structure behaves similar to journal_mode DELETE or TRUNCATE you can use this feature. Pattern is a list of file extensions and the first needs to be the file extension of the lockfile

(DRAFT) more tuning to be done

@rhodey rhodey force-pushed the support-optimize-other-file-types branch from 530741b to 3a79751 Compare February 19, 2026 19:39
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.

1 participant

Comments