Firstly, I really do apologise! CompuVerse has been down for a number of hours now, and I’m really sorry.

I’ll be 100% transparent on this, the server ran out of disk space! This sent it into a sort of “safe mode”, which unfortunately took down CompuVerse.

I have migrated all image storage over to an external server with a large amount more storage.

However, even with this, just the text content and metadata for CompuVerse is still rather large.

I’m going to investigate solutions but am averse to running a DB server over mounted storage as this is very susceptible to latency and speeds.

By my approximations we have around 2 months’ worth of disk space remaining now that Pictrs is removed. I’m looking for solutions in the meantime that will balance performance and cost effectively.

Edit: The PostgreSQL database has been moved. Please read https://compuverse.uk/post/277751 for more info.

  • Cameron@compuverse.ukOPM
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    From what I gather, the way it works is that once a user here has interacted with a remote community at least once, and subscribed to it, from then on, all activity that happens in that community is then automatically pulled across and stored inside this instance also.

    So if I subscribed to the “technology” community on “lemmy.world”, every post and comment, edit and deletion and I believe even votes and such made afterwards will then be synchronised across to this instance.

    Checking the database however, it actually seems that the post and comment data etc isn’t too large.

    The majority of the storage is actually taken by the “Activity” table.

    From what I can see, this table is used to basically store a log of everything the server has been told about. The actual contents are taken out into other tables. (Which are only a couple of hundred MB, rather than 20GB!)

    Lemmy does have an automatic cleanup of this table, but it only removes content older than 6 months.

    Since we only started in June, we’ve got an entire 4 months more data to go, and by the way things are going, that’s liable to total to potentially hundreds of gigabytes of data.

    The activity table had more data in it from the last 2 weeks than it did for the entire month and a half preceeding! (12 million activity records in 2 weeks, compared to only 11 million between the start of June and 2 weeks ago)