Library.db size more than doubled in latest version

Short Answer:

  1. Run PMS v1.41.8.9834.
  2. Enable Optimize Database Every Week in Settings → Scheduled Tasks.
  3. Database bloat will be removed the next time the optimization process runs.

Long Answer:

The problem causing database bloat existed in 1.41.7 beta releases.

The 1.41.7.9799 and 1.41.7.9823 public releases do not have the problem that causes database growth (release notes). Neither will remove the bloat from an affected database.

Plex Media Server v1.41.8.9834, current public release, will remove the bloat from an affected database.

The “de-bloating” occurs when the database is optimized as a scheduled task. Optimization happens once per week. Optimize database every week must be enabled in Settings → Scheduled Tasks.

If desired, you can initiate the database optimization manually using WebTools-NG. See this post for additional info.

You can also initiate the process via a POST or curl command. See this post for additional information.

2 Likes