- What a DBMS is — and the file-based problems it solves
A DBMS is the software layer that manages the data so applications don't have to.
A Database Management System (DBMS) is software that is used to create, manage and control access to a database. The crucial point examiners want is the distinction:
- the database is the stored data;
- the DBMS is the program that looks after that data.
The DBMS sits between the users/applications and the database, handling all storage, retrieval, integrity and security so that individual programs don't each have to manage the data themselves.
Why we moved on from the file-based approach. Older systems gave each program/department its own separate files. That caused recurring problems:
| File-based problem | What goes wrong | How the DBMS fixes it |
|---|---|---|
| Data redundancy | the same item stored in many files | data stored once centrally |
| Data inconsistency | one copy updated, others not | update once → all consistent |
| Poor security | security applied file-by-file | central access rights + backups |
| Hard to share | files locked to one program | many users share one database |
Almost every "why use a DBMS?" question is answered by one of these rows: name the problem, then say how the DBMS removes it.
- DBMS = software that creates, manages and controls access to a database.
- Database = the data; DBMS = the managing program.
- DBMS sits between users/applications and the data.
- Fixes file-based redundancy, inconsistency, poor security and sharing.
See the full worked example for database management systems (dbms) →