FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
DURABILITY
NewsMachine Learning

DURABILITY

via Dev.toAshiq Omar2h ago

Let’s understand durability using a simple accounts table Initially, we have: Alice = 1000 Bob = 500 lets perform a money transfer of 300 from Alice to Bob: BEGIN ; UPDATE accounts SET balance = balance - 300 WHERE name = 'Alice' ; UPDATE accounts SET balance = balance + 300 WHERE name = 'Bob' ; COMMIT ; At this point we deducted money from Alice added it to Bob and committed the transaction. So the updated balances become Alice = 700 Bob = 800 this is durability Now we simulate system restart reconnect and check data: SELECT * FROM accounts; Result: Alice = 700 Bob = 800 even after restart data is still there Final understanding Once a transaction is committed its changes are permanently saved in the database. Thats exactly what durability means What about failures? If a failure happens before COMMIT: The transaction isnt complete so none of the changes are saved. The data stays as it was. If a failure happens after COMMIT: The changes are already written and secured so they wont be l

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles

SteelSeries’ feature-packed Nova Pro Wireless headset is $80 off
News

SteelSeries’ feature-packed Nova Pro Wireless headset is $80 off

The Verge • 2h ago

PostGIS Distance Calculations: Why ST_Distance Returns Degrees Instead of Meters
News

PostGIS Distance Calculations: Why ST_Distance Returns Degrees Instead of Meters

Medium Programming • 3h ago

News

Best Block Blast Solver (2026) Instantly Solve Any Level

Medium Programming • 3h ago

Amazon Spring Sale live blog 2026: Breaking discounts on Apple, Dyson, and more
News

Amazon Spring Sale live blog 2026: Breaking discounts on Apple, Dyson, and more

ZDNet • 4h ago

Anthropic Literally Sued the US Defense Department for Banning It While Giving the Contract to…
News

Anthropic Literally Sued the US Defense Department for Banning It While Giving the Contract to…

Medium Programming • 4h ago

Discover More Articles