this post was submitted on 14 Sep 2023
465 points (97.5% liked)

Programmer Humor

32050 readers
1787 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
[โ€“] [email protected] 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.