Show newer

Found another good console design. It's a bear
Model number is H8 but I can't find it for sale outside China atm
detail.1688.com/offer/71953809

taizou boosted
taizou boosted

Dogfood Bowl
Cooking, 30cm4mm to roll up

A dish to put pet food in. Use it for both solid and liquid food.

------------------------
ใ‚ชใƒฏใƒณ
ใ‚ฏใƒƒใ‚ญใƒณใ‚ฐ 30cm4mm

ใƒ‰ใ‚ฆใƒ–ใƒ„ใ€€ใ‚ปใƒณใƒจใ‚ฆใƒŽ ใ‚ดใƒใƒณใƒŽใ€€ใ‚ตใƒฉ ใ‚ซใ‚ฟใ‚คใ‚ดใƒใƒณใƒขใ€€ใ‚นใƒผใƒ—ใƒข ใƒ‰ใƒƒใƒใƒขใ€€ใ‚คใƒฌใƒฉใƒฌใƒซใƒจใ‚ฆใƒ€

I also found that "file per table" was actually ON but for that particular table it doesn't create a file for it, even if I dump and reimport the table? hello???
once again I'm going to fucking bed

Show thread

Tried a few possible solutions for reclaiming the space without recreating the whole DB. None of them worked. Piss

Show thread
taizou boosted
taizou boosted

the dust has settled, i got my stuff (mostly) set up, now it's time to... go to space?? Wednesday, November 8, 4:00 PM PST, fellow ear-haver Lizstar and i will be taking a trip to Saturn. what treasures will we find there? will i remember my helmet? is there a burger joint on the way? twitch.tv/rachelretro

taizou boosted
taizou boosted
taizou boosted
taizou boosted

We did it gamers. Deleted all the spam text. And how much space has that gained me? fuck all!!!!! because InnoDB will never give you space back once it's used it, if you have the "file per table" setting turned off (which is the default) it just dumps everything into that fucking ibdata file which can never get any smaller. The only thing you can do from here apparently is to dump all the DBs, wipe the whole thing and reimport them. I'm going to fucking bed

Show thread

well my internet went down but i'm tethering off my phone to fucking finish this
I deleted all those orphaned slots/content entries and ran the script. the script actually found the orphaned text this time but threw an error when trying to delete it. so I ran another sql query to delete the text
THAT failed cos it ran out of space while trying to write a temp file so I'm now doing them 100 at a time

Show thread

OK so what I figured out is that revisions are linked to content by the "slots" table, and the "slots" table suspiciously has 2888 entries referencing nonexistent revision ids, which is the exact same number of archived revisions that were purged
So I THINK I should be safe to delete those slots and Then delete the content entries corresponding to those slots and Then delete the text entries corresponding to the content entries

Sorry for posting through this btw

Show thread

I Think what happened was the first script purged the references to the revisions in the "archive" table, meanwhile the second script is looking for references in the "content" table which was not actually touched by the first script
so uhhhhh I guess I can try and identify orphaned content entries myself and delete them and then run the second script and hope I don't fuck everything up

How did I even get here this has nothing to fucking do with Docker

Show thread

so i ran a mediawiki script to purge the deleted revisions, which worked
but that script then runs another script to purge orphaned text records (which are the thing that is actually taking up the space) and that... did nothing
cool cool thanks

Show thread
taizou boosted

oh christ it's from when i had open talk pages and they got spammed to shit & its stored thousands of revisions of megabytes of fucking spam in the database

Show thread

was looking into how much free space i have on my VPS before i do all this & found that i'm using like half the 40GB available
and of that like 4GB was /var/log/journal so i configured it to use max 100MB because i never checked those logs in my life?
another 4GB ibdata1 in mysql which .......apparently is mostly accounted for by my notes wiki db WHY there's barely shit in there

Show thread
Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!