Database Management Systems (DBMS)

Computer Science AS · Databases. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Computer Science AS topics

The idea

A DBMS is the software that creates and manages a database. All programs and users reach the data through it and never open the files directly. Each item is stored once, so the redundancy and inconsistency of a file-based approach are reduced.

The structure of the data is held by the DBMS and not inside each program. A program can then stay the same when the structure changes. This is called program-data independence.

The DBMS keeps a data dictionary, which is data about the data. It also protects the database with access rights and backups, and it gives tools to developers and users.

Rules to remember

Common mistake

The data dictionary is often described as holding the data. It only holds the description of the data (metadata), such as field names and data types.

Worked example

A school database is used by teachers and by office staff. Teachers must change marks but must not see fee payments. Office staff must see fee payments but only view marks. Which DBMS feature provides this, and how?

  1. The need is to limit what each kind of user can do, so this is a data security feature, not a backup or integrity feature.
  2. The DBMS gives access rights to groups of users. Each person logs in with a user account that belongs to a group.
  3. The teacher group gets read and write access to marks and no access to fees. The office group gets read-only access to marks and read access to fees.

Answer: Access rights set for groups of users, enforced by the DBMS through user accounts.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Keep going

← Database conceptsData Definition Language (DDL) and Data Manipulation Language (DML) →Take a Computer Science AS test