Conversation
Notices
-
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:37:39 JST :suya: what the fuck? Did we lose half of our database?
@karolat what did you do?-
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 05:37:38 JST karolat @newt I started a vacuum analyze last night, the vacuum part removes parentless records :comfygeek: Did it really clear up that much space? :blobcathug: likes this. -
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 05:37:52 JST karolat @newt you know though, we can probably run repack now considering the true size of those tables now :blobidea: :blobcathug: likes this. -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:37:53 JST :suya: @karolat yes and no. Postgres doesn't track it anymore, but the space is still occupied on disk. We need to do VACUUM FULL to reclaim it. -
Embed this notice
Ennui (iwillbite@whinge.town)'s status on Friday, 10-Feb-2023 05:38:17 JST Ennui @karolat @newt literally nerd talk :blobcathug: likes this. -
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 05:38:18 JST karolat @newt we have enough to do them a few tables at a time. Now using it on activities is possible thanks to my work :blobcatcomfyuwu: -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:38:19 JST :suya: @karolat sadly, no. We don't have 180 gigs free. -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 05:42:31 JST :blobcathug: @newt @karolat i wana join the discussion, im curious how fast the db would be if i would compress activities and objects with lz4 -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:32 JST :suya: @karolat also, I don't really want to prune it. Pleroma won't like it. -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:33 JST :suya: @karolat it won't. Again, the index seems to be the problem. I'll try to reindex my copy and see how long it takes before doing the same on the main database. -
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:34 JST karolat @newt we can prune and vacuum again to see if that gets activities small enough to unpack locally :blobcatcomfthink: -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:35 JST :suya: @karolat yup. But activities and objects were the bulk of it, really. The rest is minuscule. -
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:37 JST karolat @newt for the whole db though, right? -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:38 JST :suya: @karolat last I tried, it was 5 days on my workstation. -
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:39 JST karolat @newt we could go offline just to vacuum full that table and then we’d have space for the rest. I wonder how long it would take :blobcatcomfthink: -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:40 JST :suya: @karolat i'll figure something out. Don't worry :comfycool: -
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:41 JST karolat @newt how do we reindex? We need 2x free space for the repack which I guess we don’t really have -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:42 JST :suya: @karolat wait, I use a wrong query. But!
Half of that size is indices. So, if we reindex the database, half of that shit will be gone!
Honestly, this is like the first time I'm seeing that indices are larger than the data itself. -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 05:42:43 JST :suya: @karolat ah maybe. Ok, I'll try this out some time. -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 06:07:09 JST :blobcathug: @newt @karolat
wouldn't be so sure about that
https://www.postgresql.fastware.com/blog/what-is-the-new-lz4-toast-compression-in-postgresql-14 -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 06:07:10 JST :suya: @Jain @karolat it won’t be any faster, that’s for sure In conversation permalink -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 06:11:37 JST :blobcathug: @newt @karolat :blobcat3c: let me know... the big issue i have with it is taking the risk and actually test it out... if it goes wrong i will probably have issues for hours because the big tables are on a slower storage rn In conversation permalink -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 06:11:38 JST :suya: @Jain @karolat I’ll make a new copy of our database to experiment on tomorrow. This will probably be on my checklist. In conversation permalink :blobcathug: likes this. -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 06:16:09 JST :blobcathug: @newt @karolat do you mirror all requests to the second server to benchmark or experiment with things? In conversation permalink -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 06:16:10 JST :suya: @Jain @karolat and this is why I first try things on a copy In conversation permalink -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 06:19:14 JST :blobcathug: @newt @karolat so you would not know the actual load which then falls on the new env... In conversation permalink -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 06:19:15 JST :suya: @Jain @karolat nope. I just see if things aren’t screwed up terminally. But mostly this is to see how long it would take e.g. to reindex or vacuum the database. In conversation permalink -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 06:20:06 JST :blobcathug: @newt @karolat why dont u use repack? In conversation permalink -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 06:23:53 JST :blobcathug: @newt @karolat i thought so too, had the idea while reading your text... im pretty sure thats possible somehow and if i got some time i might test things out... but on the other hand to create an environment like this one probably have to replication before mirroring and everything might get difficult to just setup such an experimental env In conversation permalink -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 06:23:54 JST :suya: @Jain @karolat I haven’t gone that far. But mirroring all traffic seems like a good idea. In conversation permalink -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 06:26:03 JST :blobcathug: @newt @karolat ah, i know that... same situation lead to the weird config i do now have... having everything on fast storage except activities and objects, they are on hetzners block storage which is way slower but its cheaper and costs me less In conversation permalink -
Embed this notice
:suya: (newt@stereophonic.space)'s status on Friday, 10-Feb-2023 06:26:04 JST :suya: @Jain @karolat not enough space In conversation permalink -
Embed this notice
:blobcathug: (jain@blob.cat)'s status on Friday, 10-Feb-2023 10:06:47 JST :blobcathug: @karolat @newt oh i have no idea, this was a spontaneous idea, i don't know if it would work at all... In conversation permalink -
Embed this notice
karolat (karolat@stereophonic.space)'s status on Friday, 10-Feb-2023 10:06:49 JST karolat @Jain @newt how do you do this? :blobcatcomfthink: In conversation permalink
-
Embed this notice