this post was submitted on 02 Oct 2023
1022 points (99.1% liked)

Programmer Humor

32721 readers
347 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] KingThrillgore@lemmy.ml 60 points 1 year ago (2 children)

WHAT FUCKING QUERY ARE YOU RUNNING TO USE UP THAT MUCH MEMORY DAMN

[–] frezik@midwest.social 68 points 1 year ago (1 children)

In a database course I took, the teacher told a story about a company that would take three days to insert a single order. Thing was, they were the sort of company that took in one or two orders every year. When it's your whole revenue on the line, you want to make sure everything is correct. The relations in that database were checked to hell and back, and they didn't care if it took a week.

Though that would have been in the 90s, so it'd go a lot faster now.

[–] ladicius@lemmy.world 35 points 1 year ago (2 children)

What did they produce? Cruiseships?

[–] frezik@midwest.social 30 points 1 year ago

No idea, but I imagine it was something big like that, yes. I think it was in northern Wisconsin, so laker ships are a good guess.

[–] Treczoks@feddit.uk 18 points 1 year ago

We have a company like that here somewhere. When they have one job a year, they have to reduce hours, if they have two, they are doing OK, and if they have three, they have to work overtime like mad. Don't ask me what they are selling, though. It is big, runs on tracks, and fixes roads.

[–] fibojoly@sh.itjust.works 14 points 1 year ago (1 children)

A very very badly written one no doubt..

[–] frezik@midwest.social 11 points 1 year ago

Why stop at just one full table scan?