36 points

Yet it’s the sysadmin who gets blamed, not the developer. “How can you tune the database so this doesn’t happen?”

permalink
report
reply
22 points

I am telling you this because hopefully it will make you feel a little better. Our head of it blames devs for slow queries.

permalink
report
parent
reply
8 points

In my 30 years of experience, it is usually the devs.

permalink
report
parent
reply
4 points

As a dev, yes usually. It is certainly the better starting point.

permalink
report
parent
reply
3 points

Devs who don’t understand how SQL or relational databases work write absolute abortions of queries.

9 times out of 10 - yes it is absolutely the devs. I say that as the dev who gets tasked with analysing why these shitty queries from our low budget outsourced labour are so slow

permalink
report
parent
reply
4 points

So you are saying you are the expert in unshitifying queries? What is the most common thing that needs to be unshitified?

permalink
report
parent
reply
8 points

I’m the sysadmin (and transitioning to DevOps) at work, but the DBs are 100% in control of our two devs (one of which being the head of IT).

Apparently we’re going to hire a third Dev, who will moonlight as our DBA – oh, and for 30K/yr.

I’m sure this will go well.

permalink
report
parent
reply
5 points

Infinitely this, biggest pet peeve

permalink
report
parent
reply
5 points

At my job, it’s almost always the dev team that is called first for bad DB performance (not always, because sometimes it is the server that’s borked).

permalink
report
parent
reply
30 points

So the guy died and decomposed in 10 minutes and somehow it mysql’s fault?

permalink
report
reply
29 points

Poor guy got sigkill-ed, but MySQL keeps going with the request

permalink
report
parent
reply
20 points

10 minutes for a process is essentially infinity

permalink
report
parent
reply
10 points

Very big table, complex operations, much waiting, so yeah.

In this comic, bodily decomposition occurs at a “feels like” pace:-).

permalink
report
parent
reply
23 points

Allergic to Indices? If your database is slow just add more Indices until you have one on every column of every table! :-)

permalink
report
reply
16 points

Hi I need to add some data to the database.

No you fucking don’t

permalink
report
parent
reply
2 points

Sounds too good to be true.

permalink
report
parent
reply
11 points

The guy after him:

“Hmm since I don’t feel like looking in the documentation for every possible key of this attribute, I’ll just throw a distinct. And while I’m at it, let’s do this for every attribute that I don’t know the keys of”

permalink
report
reply
10 points

This is fake the pid of the younger guy is smaller than that of grandpa

permalink
report
reply
6 points

Their age is measured in CPU time

permalink
report
parent
reply
1 point

and their niceness increases with age

permalink
report
parent
reply
2 points
*

Could be an instance of BSD where (so I hear) PIDs are assigned randomly from the unused numbers, or else the system has massive process churn going on elsewhere and the old timer is from a previous cycle of consecutive PIDs.

Some systems still have /proc/sys/kernel/pid_max set to something around 32768, so wrapping back to 0 can happen fairly often.

Given all the PIDs in the comic seem pretty low, it might even be as low as 1024 wherever this is.

(Yes, I know I’m taking this way too seriously.)

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

  • 3.6K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments