logoalt Hacker News

porridgeraisinlast Saturday at 3:33 PM1 replyview on HN

In memory DBs don't have anything to vacuum.

However... what you (and OP) are looking for might be pragma shrink_memory [1].

[1] https://sqlite.org/pragma.html#pragma_shrink_memory


Replies

asa400last Saturday at 4:08 PM

Ah, you're correct. I read too fast and missed that it was in-memory databases specifically!