Conversation
Notices
-
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:25:32 JST penguin
@Humpleupagus shut it all down (oy vey) and truncate the table 👈🤨 -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:40:23 JST ?? Humpleupagus ??
I haven't had any issues. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:41:11 JST ?? Humpleupagus ??
It's been running for 24 hours, so if you just noticed, it's probably a one off. -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:41:33 JST penguin
🤔 better defederate Slants Mcgee to be on the safe side -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:42:22 JST penguin
🤨 I'm an expert noticer 😤 -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:42:33 JST ?? Humpleupagus ??
If you see post going gray on the regular, let me know. I haven't had any myself though. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:43:53 JST ?? Humpleupagus ??
It on a one million row run. It'll be about 4 days. -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:44:36 JST penguin
feed was stuck but still getting notifications. so naturally I blame the elephant in the room 😄 -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:45:27 JST ?? Humpleupagus ??
I could truncate the table, but I think that's the whole table. Bye bye everything. 😏 -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:46:54 JST penguin
🤔 how long if you shut off all workers and holocaust tf out of it? -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:47:25 JST penguin
😃 LFGOOOOOOOO!!! -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:49:49 JST penguin
🤔 ... what percent do you want to keep?
white records go into temp table
ethnically cleanse activity table
whites return to promise land 😃 -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 10:53:49 JST ?? Humpleupagus ??
That is another approach. Then drop the original and rename the temp and reindex.
I think when we're done, about 50% will be gone. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:00:23 JST ?? Humpleupagus ??
We were down for a day or so. Now I have a delete job running on the activities table. It took me a day to tune it so it wouldn't lock the table. Everything seems fine over here since about yesterday when I got the job to not lock the table. Here's the the job:
do $$
declare
counter integer := 0;
begin
while counter < 100000 loop
DELETE FROM activities WHERE id = any (array(SELECT id FROM activities WHERE inserted_at < '2023-01-01' LIMIT 10));
COMMIT;
PERFORM pg_sleep(2);
counter := counter + 1;
end loop;
end$$; -
Embed this notice
anime graf mays ?️? (graf@poa.st)'s status on Friday, 15-Sep-2023 11:00:24 JST anime graf mays ?️?
@Herman_Hetherington @penguin @Humpleupagus ive noticed a lot from eveningzoo.club missing, and some other instances as well as of late. i have been monitoring the sitchTM and I will dedicate time to looking into it tomorrow but I do not think it's us -
Embed this notice
Herman_Hetherington (herman_hetherington@poa.st)'s status on Friday, 15-Sep-2023 11:00:25 JST Herman_Hetherington
I've noticed some posts federating late/ not at all the last couple of days. Tough to know how much is missing since it's purely based on seeing replies as posts in my TL. -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:01:50 JST penguin
oh! I thought it was way more than 50%
🤔 -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:02:46 JST ?? Humpleupagus ??
Time wise, yes. But we had a lot less traffic in the beginning, so row wise it's only about half. -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:05:11 JST penguin
😒 fag -
Embed this notice
zero escape (zero@nightshift.social)'s status on Friday, 15-Sep-2023 11:05:12 JST zero escape
How I heard the first 2 lines -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:07:35 JST ?? Humpleupagus ??
Just the sleeps add up to roughly 2.5 days or so. With the deletes, I estimate a four day run. -
Embed this notice
zero escape (zero@nightshift.social)'s status on Friday, 15-Sep-2023 11:07:36 JST zero escape
sniff a shoe -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:09:51 JST penguin
NEW TABLE!!! -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:19:47 JST penguin
😑 god dammit, french fry -
Embed this notice
PodunkPotato (podunkpotato@nicecrew.digital)'s status on Friday, 15-Sep-2023 11:19:48 JST PodunkPotato
Fags, just declare your PTRsafe. Doesn't matter if it is. -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:23:36 JST ?? Humpleupagus ??
Yes. I asked Lain about it. He said just delete activities before a certain date. It took me a few days to figure out how to create a loop to do that so we would avoid the lock a straight delete would cause. I'm not a programmer, so there was a bit of trial and error when creating and tuning that loop. There were several locks during that period. -
Embed this notice
zero escape (zero@nightshift.social)'s status on Friday, 15-Sep-2023 11:23:37 JST zero escape
is this related to the postgres issues you were having a while back? ?? Humpleupagus ?? likes this. -
Embed this notice
penguin (penguin@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:26:54 JST penguin
🤔 name it something like dogs-ass or her-pants -
Embed this notice
?? Humpleupagus ?? (humpleupagus@eveningzoo.club)'s status on Friday, 15-Sep-2023 11:29:01 JST ?? Humpleupagus ??
I could have created a new table and copied everything I wanted to keep over and then dropped and swapped and reindexed, but the table is live and very busy, about 30k rows added each day. I figured this way was easier, plus if it actually works, I could use the code as the base for a cron job.
-
Embed this notice