What is the task of a database management system (DBMS)?
Answer
A DBMS is the software that manages a database. Users and applications never access the raw data files directly – they always talk to the DBMS. Its tasks:
store, change and delete data,
manage the metadata (data dictionary – which tables and fields exist),
ensure data security and data protection – who may read, write or delete (access rights),
ensure data integrity – data stays correct and consistent,
enable multi-user operation through transactions (ACID),
optimise queries (e.g. SQL),
support triggers and stored procedures,
provide information about technology and operation (statistics, logs).
Examples: MySQL/MariaDB, PostgreSQL, Microsoft SQL Server, Oracle.
Diagram
Key vocabulary
Term
Meaning
Example
database management system (DBMS)
software that manages a database
PostgreSQL is a popular open-source DBMS.
query
a request for data
The query returns all customers from Berlin.
transaction
a group of operations that succeed or fail together
The money transfer runs as one transaction.
integrity
data being correct and consistent
Foreign keys protect referential integrity.
metadata
data about data
The metadata shows the data type of each column.
stored procedure
a saved program inside the database
The report is created by a stored procedure.
Useful phrases
to run a queryCan you run a query to find all open invoices?
to grant access rightsWe granted read-only access to the sales team.
to roll back a transactionIf an error occurs, the transaction is rolled back.
to handle many users at onceA DBMS can handle many users at once.
Talk about it
Explain why two people booking the last seat on a flight at the same time is a problem, and how a DBMS solves it.
Which DBMS have you worked with? What did you use it for?
Why should applications not access database files directly?
IHK hint
German: Aufgaben eines DBMS: Speichern/Ändern/Löschen, Metadatenverwaltung, Datensicherheit und Datenschutz, Datenintegrität, Mehrbenutzerbetrieb (Transaktionen), Abfrageoptimierung, Trigger / Stored Procedures.