Plex server unresposnive for extend amounts of time during the DB optimization

Once you have removed the bloat, optimize the Plex DB file and align the block size of the DB with the ZFS record size of your ZFS volume. (if you have put the plex data folder on the ZFS volume, that is)