← All questions
Card 72 · Databases

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:

Examples: MySQL/MariaDB, PostgreSQL, Microsoft SQL Server, Oracle.

Diagram

Users / appssend SQL queriesDBMSrights, integrity,transactionsDatabasedata files

Key vocabulary

TermMeaningExample
database management system (DBMS)software that manages a databasePostgreSQL is a popular open-source DBMS.
querya request for dataThe query returns all customers from Berlin.
transactiona group of operations that succeed or fail togetherThe money transfer runs as one transaction.
integritydata being correct and consistentForeign keys protect referential integrity.
metadatadata about dataThe metadata shows the data type of each column.
stored procedurea saved program inside the databaseThe report is created by a stored procedure.

Useful phrases

Talk about it

  1. Explain why two people booking the last seat on a flight at the same time is a problem, and how a DBMS solves it.
  2. Which DBMS have you worked with? What did you use it for?
  3. 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.