|
|
|
|
|
by AtNightWeCode
635 days ago
|
|
Not sure I get this. But I think it does matter since you understand why people do it to begin with. I worked on two enterprise solutions over the last couple of years that have this exact problem. That people are using WHERE 1=1 and then add random "AND something=something" that completely trashes the performance of the db. Also, it does not matter as much on-prem. But in cloud envs it does. Since you can't really spike CPU and mem the same way as on-prem. The reason I pointed out this specific issue is just that I thought it was the worsed of many poor tips. ChatGPT can give better tips. |
|