phiresky/sqlite-zstd
Transparent dictionary-based row-level compression for SQLite observed · 2026-08-28
Health v2 · maintenance only
36/100
- Activity 29
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2377
- days_rel: 480
- days_push: 429
- n_releases_24m: 1
Adoption not part of the score
1695 stars · 70 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A SQLite loadable extension written in Rust that provides transparent dictionary-based row-level compression using zstd. It compresses table columns while retaining full random access by replacing tables with views backed by compressed shadow tables.
Use cases
- compress large text or blob columns in a sqlite database
- reduce sqlite database file size while keeping random access
- store compressed documents in sqlite transparently
- shrink disk usage of sqlite-backed applications
- compress sqlite rows with trained zstd dictionaries
When to choose
- you use SQLite and want row-level compression with normal SELECT/INSERT/UPDATE/DELETE queries
- your data is highly repetitive text or blobs and file size matters more than peak write speed
- you want incremental, tunable compression maintenance
When to avoid
- you need full DDL support like ALTER TABLE or CREATE INDEX on compressed tables
- you rely on sqlite3_changes() or streaming blob APIs
- you need to ATTACH databases containing compressed tables
- a whole-file compression VFS approach fits your workload better
Facets
library · maturity active
compression database database-driver databases developer-tools files cross-platform rust cli sqlite-extension zstd row-level-compression loadable-extension
2 sources
- readme: https://github.com/phiresky/sqlite-zstd · fetched 2026-08-28 · b0dbca24dd57
- registry_crates: https://crates.io/api/v1/crates/sqlite-zstd · fetched 2026-08-29 · bd01460a809c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| phiresky/sqlite-zstd | main | 36 |
For agents
markdown · JSON · MCP: product_card(name="phiresky/sqlite-zstd")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem