[Feature Request] - Unbloat the database

30 views
Skip to first unread message

Pedro Coimbra

unread,
Jun 26, 2017, 12:21:31 PM6/26/17
to Session Buddy Discussion
The database where Sessionbuddy stores the sessions data is very bloated.
I had a lot of automatically saved sessions since more than a year, and recently I've deleted them all except for the 3 more recent ones, which together with 3 or 4 manually saved sessions with not that many tabs in it, make for all my sessions, but the database still occupies 167 MB, the same size before I deleted some 100s of automatic sessions.
 In other words, there's 0 optimization and the database will just keep growing.
Please fix this, I made a backup of all sessions (the gear menu in sessionbuddy) *after* the cleanup and the resulting file only has a 19 MB filesize, almost 10 times less the bloated database

Session Buddy Support

unread,
Jun 26, 2017, 1:13:41 PM6/26/17
to sessionbud...@googlegroups.com
This will be fixed once we convert to IndexedDB (see "Migration to new local storage" on the roadmap). 

Unfortunately with the current database it doesn't self-compact and there is no API for compaction. In the interim you could compact the local user data file manually using something like DB Browser for SQLite if it's worth your time.

Hans



--
You received this message because you are subscribed to the Google Groups "Session Buddy Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sessionbuddy-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages