Are you saying that although the size and number of documents is remaining constant, the file size of SQLite is growing? The compact()
trims unused blobs (not related to database file size) and then simply calls a few SQLite pragma commands so if that is not causing the size to drop, then I’m curious what commands that SQLite studio is running. Perhaps we could incorporate them into the compact call but it looks like the DB is still 120 MB. What was the original size with 150,000 documents inside?