I enabled sonic analysis on my music library (64000 tracks) a couple of months ago and I just realised (after a failed timed-out backup) that my com.plexapp.plugins.library.db file is sitting at around 70GB. Is that normal? Should I run the DBRepair script (GitHub - ChuckPa/DBRepair: Database repair utility for Plex Media Server databases) and if yes by choosing which options?
I remember that when I created my music library in Plex I regretted the way it has been set up and I deleted it and created a new one. Plex is notorious for not cleaning up after itself so maybe the com.plexapp.plugins.library.db contains garbage from previous libraries too.
All I worry is that the file might get so big that plex will not be able to read from it and I will loose my library (and its years long history).
The automatic solution will arrive when the server version 1.42.8 goes into the public channel.
If you need to solve it now, because your server is unbearably slow or almost doesn’t work at all, there are several methods described in the thread to repair it with a few SQL commands.