Cron for optimizing database

Since i’ve been adding my music library i’ve noticed the occasional Sqlite3: Sleeping for 200ms to retry busy DB which i guess should be expected since the library is so large.

Would it be advisable to make a cron to optimize the database say… every hour?

The server will do this every night during maintenance anyway.
https://support.plex.tv/articles/201553286-scheduled-tasks/

You might wanna do it more often only after adding or removing large numbers of media, but not generally.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.