Sudden non-responsive and "Sqlite3: Sleeping for 200ms to retry busy DB. Sqlite3: Sleeping" messages

@ChuckPa My DB size is ~2.5GB. I have a large library but have no idea if this size would be indicative of the bloat issue you mention. My server version is currently 1.42.2.10156.

Assuming I am impacted by this issue and from a quick search, I came across this. Is it the recommended way to fix the DB?