home.social

#sqllock — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sqllock, aggregated by home.social.

  1. Why does this SQL batch INSERT hold locks for minutes?

    Why does this SQL batch INSERT hold locks for minutes. The SQL code inserts millions of rows in one statement. In MySQL that holds locks until done. In SQL a huge insert blocks all other writes.

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

    youtube.com/watch?v=jsfy-AaKG20

  2. Why does this SQL batch INSERT hold locks for minutes?

    Why does this SQL batch INSERT hold locks for minutes. The SQL code inserts millions of rows in one statement. In MySQL that holds locks until done. In SQL a huge insert blocks all other writes.

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

    youtube.com/watch?v=jsfy-AaKG20

  3. Why does this SQL batch INSERT hold locks for minutes?

    Why does this SQL batch INSERT hold locks for minutes. The SQL code inserts millions of rows in one statement. In MySQL that holds locks until done. In SQL a huge insert blocks all other writes.

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

    youtube.com/watch?v=jsfy-AaKG20

  4. Why does this SQL UPDATE lock the entire table?

    Why does this SQL UPDATE lock the entire table. The SQL code updates with a condition that has no index. In MySQL it locks every row it scans. In SQL services one update blocks all other writes.

    #whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlupdate #sqllock #sqlfullsca...

    youtube.com/watch?v=hxJMh219sf0

  5. Why does this SQL UPDATE lock the entire table?

    Why does this SQL UPDATE lock the entire table. The SQL code updates with a condition that has no index. In MySQL it locks every row it scans. In SQL services one update blocks all other writes.

    #whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlupdate #sqllock #sqlfullsca...

    youtube.com/watch?v=hxJMh219sf0

  6. Why does this SQL UPDATE lock the entire table?

    Why does this SQL UPDATE lock the entire table. The SQL code updates with a condition that has no index. In MySQL it locks every row it scans. In SQL services one update blocks all other writes.

    #whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlupdate #sqllock #sqlfullsca...

    youtube.com/watch?v=hxJMh219sf0

  7. What's wrong with this SQL LOCK WAIT timeout killing requests?

    What's wrong with this SQL LOCK WAIT timeout killing requests. The SQL code has default innodb_lock_wait_timeout. In MySQL long held locks cause others to fail. In SQL tune or fix the long transactions.

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

    youtube.com/watch?v=JqGp9vyFXOU

  8. 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...

    youtube.com/watch?v=s_mcOfxOi3s