Plain text file vs relational database
The DBMS as guarantor of correctness
A DBMS (database management system) introduces transactions: a set of operations is either fully committed or rolled back. At the same time, row locks and data versions work in parallel: while one session changes a balance, another waits or reads a consistent state — not an “old copy from a file.” Picture the DBMS as a bouncer at the data door: without a queue, rule checks, and a log, no one blindly rewrites critical amounts.