this post was submitted on 13 Jul 2023
15 points (100.0% liked)

Lemmy Support

4651 readers
23 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

My database is already getting to the size of almost 1GB so it made me think about some questions I have regarding maintenance of my Lemmy instance:

  • What cleanup is recommended on the database?
  • What is the default length of time that pictrs holds onto its cached data and how to clear the cache?
  • Any other recommendations you can think of?
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Nugget@lemm.ee 4 points 1 year ago (1 children)

There's a DELETE /internal/variants endpoint specified in the pictrs docs that might remove some extra data: https://crates.io/crates/pict-rs