logoalt Hacker News

woadwarrior01today at 8:13 AM2 repliesview on HN

Someone posted a temporary workaround for this on X[1].

sqlite3 ~/.codex/logs_2.sqlite "CREATE TRIGGER IF NOT EXISTS block_log_inserts BEFORE INSERT ON logs BEGIN SELECT RAISE(IGNORE); END;"

Also, I found that running VACUUM FULL on the sqlite file on my laptop shrunk it from 27GB to a mere 73MB[2].

[1]: https://xcancel.com/bdsqlsz/status/2067964486615810369

[2]: https://xcancel.com/jeethu/status/2068087449469780434


Replies

sgarlandtoday at 1:30 PM

DB-level rules saving the day once again.

NamlchakKhandrotoday at 1:07 PM

The real solution is to stop using it and switch to Pi

show 2 replies