[{"data":1,"prerenderedAt":83},["ShallowReactive",2],{"term-i\u002Fisolation":3,"related-i\u002Fisolation":61},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":55,"sitemap":56,"stem":59,"subcategory":6,"__hash__":60},"terms\u002Fterms\u002Fi\u002Fisolation.md","Isolation",null,{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Isolation means concurrent transactions do not see each other's in-progress changes. If you and your friend both edit the same row at the same time, isolation prevents you from seeing each other's half-done work. It is the 'I' in ACID.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Isolation ensures that concurrent transaction execution results in a state equivalent to serial execution. Different isolation levels (READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, SERIALIZABLE) trade strictness for performance. Higher isolation prevents anomalies like dirty reads, non-repeatable reads, and phantom reads.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"We increased the isolation level to prevent dirty reads.\" \u002F \"Lower isolation improves performance but risks reading stale data.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"database","Isolation means concurrent transactions do not see each other's in-progress changes.","advanced","md","i",{},true,"\u002Fterms\u002Fi\u002Fisolation",[49,50,51,52,53,54],"ACID","Atomicity","Consistency","Durability","Locking","Deadlock",{"title":5,"description":41},{"changefreq":57,"priority":58},"weekly",0.7,"terms\u002Fi\u002Fisolation","9lNLatx9zkIfeK5F5gdJPc3VQ-S-wqzYKZGWqLp31Es",[62,67,70,73,77,80],{"title":49,"path":63,"acronym":64,"category":40,"difficulty":65,"description":66},"\u002Fterms\u002Fa\u002Facid","Atomicity, Consistency, Isolation, Durability","intermediate","ACID is the four guarantees a reliable database makes about transactions. It is the reason you trust a bank's database with your money.",{"title":50,"path":68,"acronym":6,"category":40,"difficulty":65,"description":69},"\u002Fterms\u002Fa\u002Fatomicity","Atomicity means a transaction is all-or-nothing — like an atom that cannot be split.",{"title":51,"path":71,"acronym":6,"category":40,"difficulty":65,"description":72},"\u002Fterms\u002Fc\u002Fconsistency","Consistency in databases means a transaction can only bring the database from one valid state to another valid state.",{"title":54,"path":74,"acronym":6,"category":75,"difficulty":65,"description":76},"\u002Fterms\u002Fd\u002Fdeadlock","general","A deadlock is when two things are each waiting for the other to go first, and neither ever does. Thread A holds Lock 1 and wants Lock 2.",{"title":52,"path":78,"acronym":6,"category":40,"difficulty":65,"description":79},"\u002Fterms\u002Fd\u002Fdurability","Durability means once the database says 'committed', your data is saved forever — even if the server crashes right after.",{"title":53,"path":81,"acronym":6,"category":40,"difficulty":42,"description":82},"\u002Fterms\u002Fl\u002Flocking","Locking prevents two transactions from modifying the same data at the same time. It is how databases coordinate concurrent access.",1776518289527]