Ruben Hensen 175769d36c Add a tool to VACUUM the k8s-dqlite database
dqlite supports VACUUM from v1.18.2, which microk8s 1.34 ships, but the dqlite shell wraps every statement in a transaction and SQLite refuses to VACUUM inside one. dqlite-vacuum sends it through the go-dqlite driver instead and otherwise just prints page statistics. dqlite-vacuum.sh makes the backups first.

Rehearsed on opti1 on a throwaway node in /dev/shm: 657 MB to 41 MB in 0.6s, with concurrent writes unaffected and the data intact after restarts.
2026-10-23 22:03:30 +02:00
2026-10-22 10:11:06 +02:00
2025-03-31 12:03:20 +02:00
2026-10-22 10:11:06 +02:00
2026-03-18 09:04:40 +01:00
2026-03-15 18:31:53 +01:00
2026-10-22 12:56:07 +02:00
2026-01-25 17:03:36 +01:00
S
Description
No description provided
2.4 MiB
0 Stars 1 Watchers 0 Forks
Languages
Nix 49.6%
Shell 46.7%
Python 2.9%
Go 0.8%