We have a sqlite DB that has grown to over 800 MB. Consequentially accessing the data via the API has become problematic as the connections regularly time out.
We used to store PDFs in a "cache" - this was the main culprit in terms of database size. We have since dropped this table. Our sole, remaining data table is only a couple of MBs when downloaded as a CSV - leading me to assume that the other 798 MB of sqlite DB space is waiting to be reclaimed.
Looking at the sqlite documentation there is a command called VACUUM which reclaims space, but it seems that we are "unauthorised" to use this command.
Has anyone any alternative methods for reclaiming space?