1 of 10 · Basics
What is a DBMS, and why not just use files?
Say this first
A DBMS is software that stores data and lets many users safely read, change and protect it at once.
Picture it
File system
- • Same data repeated in many files
- • No safe multi-user editing
- • You write your own search
- • A crash can corrupt data
DBMS
- • One shared copy of the data
- • Locks and transactions
- • Query it with SQL
- • Recovers after a crash
Try it
Two people edit the same file at the same time. What usually goes wrong?
Common trap
Saying a DBMS is just 'a place to store data'. Storage is the easy part. The point is safe sharing, security and querying.
Say it like this
A DBMS gives many users one safe, shared copy of the data, with querying, security and crash recovery built in.
