Postgres locks both tables with SHARE ROW EXCLUSIVE when a migration adds a foreign key, blocking writes until every child row is scanned. A dev.to guide on Laravel migrations splits the change into two statements so the slow scan stops holding up the app's writes.
Reality
- Evidence45
- Adoption
- Insufficient
- Hype gap+15
- Incentives
- Insufficient
- Confidence50
A dev.to walkthrough of PostgreSQL snapshots, LSNs and Oracle SCNs sets out why a row version has no commit coordinate to record when it is written, and what that indirection costs the replication and audit consumers that read it later.
Reality
- Evidence58
- Adoption
- Insufficient
- Hype gap−8
- Incentives30
- Confidence58
InnoDB applies MVCC to reads and pure locking to writes, so under the default Repeatable Read the same predicate can be answered from a snapshot frozen at your first statement or from the newest committed row.
Reality
- Evidence52
- Adoption
- Insufficient
- Hype gap+8
- Incentives25
- Confidence45
Mercari's DBRE team found that on tables with a composite or non-integer primary key, TiDB reads every matching index entry and then sorts. The upstream fix is in master, not in the current LTS.
Publishers:engineering.mercari.com
Reality
- Evidence72
- Adoption38
- Hype gap−12
- Incentives32
- Confidence61
Prices in Magento 2 are computed from tier prices, catalog rules, groups and staging, not read from a column. That is why the price indexer scales worst, and why hand-written SQL fixes backfire.
Reality
- Evidence46
- Adoption
- Insufficient
- Hype gap+16
- Incentives58
- Confidence41
A walkthrough of OrioleDB's concurrency model puts the cost of Postgres MVCC in the search-key space. That is also the reason zheap's table-only fix was never enough.
Reality
- Evidence34
- Adoption
- Insufficient
- Hype gap+12
- Incentives
- Insufficient
- Confidence38
A dev.to write-up argues Multi-Source Inventory leaves an unbounded reservation table in the read path of every cart operation. The reported cost: 200-800ms per product, per add-to-cart.
Reality
- Evidence34
- Adoption24
- Hype gap+34
- Incentives58
- Confidence44