The Real Fullstack

Bancos de dados e SQL

Índices, níveis de isolamento, paginação e replicação.

9 desafios

D19The Million-Row ProblemAn order history page slows down as the table grows. Will a cache, or an index, fix it?Laboratório de performanceEngenheiro9 minD20The Dirty ReadA loan is approved based on money that never existed.Simulador de linha do tempoEngenheiro7 minD21The Phantom RowsThe daily report divides revenue by an order count from a different moment.Simulador de linha do tempoEngenheiro sênior8 minD22The Lost TransactionFive items in stock, two customers buy three each — and both succeed.Simulador de linha do tempoEngenheiro8 minD23The Slow PaginationPage 1 is instant, page 5,000 takes forever — and items repeat while you scroll.Laboratório de performanceEngenheiro7 minD24The Replica That LiedUsers save their profile, reload, and see the old name.Simulador de fluxoEngenheiro sênior8 minD67The Invisible IndexLogin takes two seconds because the query no longer matches the index it was built for.Laboratório de performanceEngenheiro7 minD68The Migration That Locked the TableA schema change that drops a column before the code stops reading it.Simulador de linha do tempoEngenheiro sênior10 minD84The Transaction That Never EndedOne job keeps a transaction open for hours, and PostgreSQL can't clean up dead rows anywhere.Laboratório de depuraçãoEngenheiro sênior9 min