3 points
*

Hopefully that swap is on an SSD, otherwise that query may not ever finish lol
Once you’re deep into swap, things can get so slow that there’s no recovering from it.

permalink
report
reply
2 points

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

permalink
report
reply
1 point

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.

permalink
report
parent
reply
0 points

What did they produce? Cruiseships?

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point

A very very badly written one no doubt…

permalink
report
parent
reply
1 point

Why stop at just one full table scan?

permalink
report
parent
reply
2 points

You really need to index your tables. This has all the hallways of a Cartesian cross product.

permalink
report
reply
1 point

I don’t want to see the EXPLAIN for that query. This person really needs to learn more about sql, I’d wager.

permalink
report
reply
0 points

I dunno why I didn’t realize you can add more swap to a system while running. Nice trick for a dire emergency.

permalink
report
reply
1 point

It’s Linux it’s made by people with a brain.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.8K

    Monthly active users

  • 797

    Posts

  • 7.3K

    Comments

Community moderators