Does such action do anything to the dB?
Nothing when the count is zero. Clean up library may be used when albums are removed and you want to delete all related data from the database.
Note that if attached storage is remove ?D, those releases won’t appear in Roon, but when the storage is reconnected, the albums, play history etc. is restored. So use Clean up library with care.
Thanks, I was hoping Roon still did some tiding up.. ah well, not a problem.
What sort of tidying up? Slightly confused.
Like a bit of a vacuum and some dusting?
Database ‘maintenance’ and/or rebuilding etc, as some software can do.
Roon doesn’t use a relational database. So, what does this mean?
@mjw, if it’s only possible to ‘tidy’/‘prune’/rebuild/verify/maintain’/optimise etc flat databases, then I’m way off beam.
I just wondered whether those operations could also be performed - especially verification - on any database.
And if so, whether Roon’s could also benefit?
Under my Nucleus in those hard to reach places please.
Roon uses LevelDB, which is held in memory, and as you’ve probaby noticed, many small files. Memory (tables) are written to disk when they reach a size limit. Moreover, writes are handled asyncronously by the OS, which is why corruption may occur with power loss.
Furthermore, convetional maintenance, e.g., compaction, garbage collection etc., is done automatically rather than as a standalone process.
Good to know; thanks, @mjw ![]()