Revision Notes
Cambridge A Level Computer Science (9618): Database Management Systems (DBMS) – Revision Notes
Condensed notes on DBMS features, data dictionary, schema, access rights, backups and DBMS tools for Cambridge AS Computer Science 9618 8.2.
- Subject
- Computer Science
- Level
- AS LEVEL
- Topic
- Topic 8: Databases
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to Cambridge A Level Computer Science (9618), 2026. Official specification .
Syllabus page (what it covers and how it is assessed): Cambridge A Level Computer Science.
Syllabus points this page covers
9618 (AS Level)
- 8.2 Database Management Systems (DBMS)
Found an error? Report a correction.
Need help with this topic? Request a free trial class for A Level Computer Science (9618).
Quick-recall notes for 8.2 Database Management Systems (DBMS) (AS content, Paper 1). The DBMS study guide explains each feature with a worked scenario, and the DBMS practice questions give exam-style practice. File-based limitations and keys are in the Database Concepts revision notes.
One sentence to remember
All access to the data goes through the DBMS, so it can apply one definition, one set of rules and one set of permissions to every user and program. That is how it fixes the file-based problems.
Features and the problems they address
| DBMS feature | What it is | File-based problem it addresses |
|---|---|---|
| Data management | DBMS controls storage, retrieval and update of all data | Each program handling its own files in its own way |
| Data dictionary | Central store of metadata about every table and field | No shared definition; structure buried in program code |
| Data modelling | Designing entities, attributes and relationships (E-R diagram) before building | Redundancy and poor structure found only in use |
| Logical schema | Overall design of the whole database, independent of physical storage | Data dependence: changing storage meant rewriting programs |
| Data integrity | Types, validation rules, unique keys, referential integrity, single copy of each fact | Inconsistent copies; invalid or orphaned data |
| Data security | User accounts, access rights for individuals/groups, backups | All-or-nothing file access; data lost with no recovery |
What goes in a data dictionary
- Table names and field names
- Data types and field sizes
- Primary keys and foreign keys
- Relationships between tables
- Validation rules
- Indexes
- Access rights for users and groups
It is metadata: data about the data, not the data itself.
Logical schema versus physical storage
| Logical schema | Physical storage |
|---|---|
| Tables, attributes, data types, keys, relationships | Files, disk locations, storage formats |
| What users and programs work with | Handled by the DBMS |
| Changes rarely | Can be reorganised without changing programs |
Integrity features
- Data type and size for each field
- Validation rules (range, allowed values, format)
- Primary key must be unique and present
- Referential integrity: foreign key must match an existing primary key; deletion of a referenced record is refused (or handled)
- Each fact stored once
Access rights
- Each user logs in with their own account.
- Rights are set per table (or field / view) for read, insert, update, delete.
- Groups let the same rights be given to everyone in a role; new staff are simply added to the group.
- The DBMS refuses any operation the user’s rights do not allow.
Backup procedure checklist
- What: full backup of the whole database; plus incremental backups or a transaction log for changes since.
- When: full backup at a quiet time (e.g. overnight); more frequent incremental backups if data changes all day.
- Where: off-site or cloud copy, away from the original.
- Check: test restores regularly.
Software tools
| Tool | Use | Purpose |
|---|---|---|
| Developer interface | Create tables, set types and rules, define relationships, build forms, queries and reports | Build and change the database and its applications without writing everything as code; give users suitable forms and reports |
| Query processor | Takes a query (e.g. SQL), checks it, plans how to run it efficiently (e.g. using an index), executes it, returns results | Users say what they want; the query processor works out how to get it |
Key terms
| Term | Meaning |
|---|---|
| DBMS | Software that manages a database and controls all access to it |
| Metadata | Data that describes other data |
| Data dictionary | Store of metadata for the database |
| Logical schema | Overall logical structure of the whole database |
| Access rights | Permissions defining what a user or group may do with each part of the database |
| Incremental backup | Copy of only the data changed since the previous backup |
Exam traps
- Data dictionary holds metadata, not the records themselves.
- The logical schema is not about where data is stored on disk.
- A backup answer needs what, when and where, linked to the scenario.
- The query processor executes queries; the developer interface is where they are built.
- “Explain how the DBMS addresses…” needs the problem and the fix for each feature.
- Access rights for groups is named in the syllabus; mention groups when relevant.
Self-test
- What is meant by metadata?
- Give four items stored in a data dictionary.
- What does the logical schema describe?
- Which file-based problem does the logical schema help to solve?
- State the purpose of data modelling.
- Give two ways a DBMS maintains data integrity.
- Why are access rights often given to groups rather than individuals?
- A shop is open 8 am to 8 pm and updates stock all day. Suggest a backup procedure.
- Why should backups be kept off-site?
- State two things a developer can build using the developer interface.
- Describe what the query processor does when a query is run.
- Explain how storing each fact once improves integrity.
Answers
- Data about data, such as the data type and size of a field.
- Any four: table names; field names; data types; field sizes; primary/foreign keys; relationships; validation rules; indexes; access rights.
- The overall design of the whole database: tables, attributes, types, keys and relationships, independent of physical storage.
- Data dependence: storage can change without rewriting the programs.
- To model the entities, attributes and relationships (e.g. as an E-R diagram) so that a suitable structure is designed before the database is built.
- Any two: validation rules; data types; unique primary keys; referential integrity; one copy of each fact.
- Everyone in a role needs the same rights, so they are set once; new staff are added to the group.
- Full backup each night after 8 pm; incremental backups or a transaction log during the day; copies stored off-site; restores tested.
- So that a fire, flood or theft at the shop does not destroy both the database and its backup.
- Any two: tables; forms; queries; reports; relationships; validation rules.
- It checks the query against the data dictionary, plans an efficient way to run it, retrieves or changes the data, and returns the results.
- There is no second copy that could be left un-updated, so the data cannot become inconsistent.
Related resources
-
Study guides
Cambridge A Level Computer Science (9618): Data Definition Language (DDL) and Data Manipulation Language (DML)
SQL DDL and DML for Cambridge AS Computer Science 9618 8.3: CREATE, ALTER, keys, SELECT with joins and aggregates, INSERT, UPDATE and DELETE.
Computer Science · Cambridge · AS Level
Read guide -
Practice questions
Cambridge A Level Computer Science (9618): DDL and DML – Practice Questions
Original SQL questions with answers on CREATE TABLE, ALTER TABLE, SELECT, joins, aggregates, INSERT, UPDATE and DELETE for Cambridge 9618.
Computer Science · Cambridge · AS Level
Try questions -
Revision notes
Cambridge A Level Computer Science (9618): DDL and DML – Revision Notes
Condensed SQL notes on data types, CREATE, ALTER, keys, SELECT, joins, aggregates and data maintenance for Cambridge AS Computer Science 9618 8.3.
Computer Science · Cambridge · AS Level
Revise topic
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.