The Real Fullstack

数据库与 SQL

索引、隔离级别、分页与复制。

9 个挑战

D19The Million-Row ProblemAn order history page slows down as the table grows. Will a cache, or an index, fix it?性能实验室工程师9 分钟D20The Dirty ReadA loan is approved based on money that never existed.时间线模拟器工程师7 分钟D21The Phantom RowsThe daily report divides revenue by an order count from a different moment.时间线模拟器高级工程师8 分钟D22The Lost TransactionFive items in stock, two customers buy three each — and both succeed.时间线模拟器工程师8 分钟D23The Slow PaginationPage 1 is instant, page 5,000 takes forever — and items repeat while you scroll.性能实验室工程师7 分钟D24The Replica That LiedUsers save their profile, reload, and see the old name.流程模拟器高级工程师8 分钟D67The Invisible IndexLogin takes two seconds because the query no longer matches the index it was built for.性能实验室工程师7 分钟D68The Migration That Locked the TableA schema change that drops a column before the code stops reading it.时间线模拟器高级工程师10 分钟D84The Transaction That Never EndedOne job keeps a transaction open for hours, and PostgreSQL can't clean up dead rows anywhere.调试实验室高级工程师9 分钟