this post was submitted on 14 Sep 2023
434 points (97.4% liked)

Programmer Humor

32156 readers
41 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
[โ€“] stealthnerd 13 points 1 year ago (1 children)

Having query logging enabled on a production database is bonkers. The duplicate deletes are too but query logging is intended for troubleshooting only. It kills performance.

[โ€“] [email protected] 15 points 1 year ago

Take a wild guess as to why it had to be enabled in the first place, and only for Delete queries.