What's wrong with this SQL IN list with thousands of IDs?

What's wrong with this SQL IN list with thousands of IDs. The SQL code passes a huge IN clause. In MySQL large IN lists can crash the parser or pick a bad plan. In SQL use a temp table and JOIN instead.

#whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlin #sqlla...

https://www.youtube.com/watch?v=hQg2J2ckQBk

Whats wrong with this SQL IN list with thousands of IDs? #sqlreliability

YouTube

Why does this SQL lock table block readers?

Why does this SQL lock table block readers in production. The SQL code runs a long update in a transaction, holding locks and blocking reads. In SQL services this causes latency spikes and timeouts.

#whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqllock #sqltransaction #sqlla...

https://www.youtube.com/watch?v=s_mcOfxOi3s

Why does this SQL lock table block readers? #sqldebugging

YouTube