Edit : OK so the outage was less brief than expected. The upgrade of the 3GB pictrs database took over 1 hour, and the version 0.4 database is now 14.5 GB… But anyway, it seems to be working alright now!

We will upgrade pictrs today, from 0.3.1 to 0.4.4. This will enable us to switch to S3 storage later on, and is needed for more anti-CSAM tools. Outage should only involve picture uploads, and should be brief.

  • RuudM
    link
    fedilink
    189 months ago

    OK, the pictrs database upgrade is taking it’s time… please wait… ;-)

    pictrs_1     | {"timestamp":"2023-10-02T16:31:44.746467Z","level":"WARN","fields":{"message":"new"},"target":"pict_rs::repo","span":{"name":"Migrating Database from 0.3 layout to 0.4 layout"},"spans":[]}
    
      • RuudM
        link
        fedilink
        109 months ago

        It’s building a 0.4 database, which is already twice as big as the 0.3 one

        • RuudM
          link
          fedilink
          99 months ago

          It’s grown from 3.1 GB to over 8GB and still running…

              • RuudM
                link
                fedilink
                139 months ago

                Don’t tell them about the feetish

            • RuudM
              link
              fedilink
              139 months ago

              That’s not the pictures… The picture take up 1.2 TB… it’s just the database with the metadata about the pictures. (11.8 GB now…)

              • @9point6@lemmy.world
                link
                fedilink
                5
                edit-2
                9 months ago

                I’m curious, how much storage in total is needed for a Lemmy instance like this one currently?

                • RuudM
                  link
                  fedilink
                  79 months ago

                  1.2 TB for pictures and 100GB for Postgres

                • @bdonvr@thelemmy.club
                  link
                  fedilink
                  59 months ago

                  For reference I run a pretty small instance. I’m at 34GB for the main database, and about 120GB of media. (Doesn’t count backups)

                  My instance is much, much smaller though. A few hundred users, and probably only a couple dozen actually active.

                • RuudM
                  link
                  fedilink
                  99 months ago

                  The people that donate to lemmy.world

                • RuudM
                  link
                  fedilink
                  69 months ago

                  But it’s not in S3 yet. Still on disk.

              • ɐɥO
                link
                fedilink
                29 months ago

                I know. Giant database = Giant × 10² amount of Pictures