aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 3.4Types of database
Back to Computer Science HL Topics
3.4.15 min read

Types of database (Computer Science HL)

IB Computer Science · Unit 3

Exam preparation

Practice the questions examiners actually ask

Our question bank mirrors real IB exam papers. Practice under timed conditions and track your progress across topics.

Start Practicing

Contents

  1. 1Relational is not the only model
  2. 2What each one buys
  3. 3What is given up
  4. 4Exam-style question
The big idea: A relational database stores data in tables with a fixed schema, and that is the right choice far more often than not.
When other models fit: But when the data has no fixed shape, or must be spread across hundreds of machines, other models trade some of relational's guarantees for what those situations need.
TypeStores data asSuits
RelationalTables, fixed schema, joinsStructured data with relationships and transactions
DocumentSelf-contained documents (JSON-like)Records whose fields vary between rows
Key-valueA key and an opaque valueCaches, sessions — lookup by one key, very fast
GraphNodes and the edges between themRelationships that are themselves the data
Column-familyColumns grouped, not rowsHuge tables where queries read few columns

The four models the guide names

ModelWhat it isReal-world use
NoSQLAny non-relational store: document, key-value, graph or column-family (above)Social media posts and friend links; e-commerce product catalogues
CloudA database run by a provider as a managed service, scaled and backed up for you, paid for by useA SaaS app that grows from 100 to 100,000 users without buying servers
SpatialStores locations and shapes (points, lines, areas) and answers questions such as "what lies within 2 km?"Geographic information systems (GIS): maps, delivery routes, tracking an outbreak by address
In-memoryKeeps the data in RAM instead of on disk, so reads and writes are very fast; copies to disk are needed for durabilityReal-time analytics: live dashboards, fraud checks during a payment

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Document

  • No fixed schema — two records may hold different fields
  • A whole record is read in one go, with no joins
  • But duplicated data must be updated everywhere it appears

Key-value

  • The simplest possible model: give a key, get a value
  • Extremely fast, and easy to spread across machines
  • You cannot query the value — only fetch it

Graph

  • Nodes joined by edges that carry meaning
  • "Friends of friends who like X" is one traversal
  • In SQL that is a join per level, and it degrades fast
The relational cost that drives this: A relational query answering "friends of friends of friends" needs three joins, and each one multiplies the work. A graph database follows edges directly, so depth costs far less.

Where the relationships are the question, the relational model is doing the wrong kind of work.

Practice with exam-style questions

Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.

Try Practice FreeYour first topic is free to keep • No credit card required

The honest trade

  • No enforced schema means nothing stops a record missing a field it needs
  • No joins means duplication, and duplication means update anomalies return
  • Weaker transactions — many non-relational stores offer only eventual consistency
  • Fewer guarantees overall: the database no longer enforces what you assumed
  • And SQL skills do not transfer — every system has its own query language
"NoSQL is more modern" is not a justification: These are trades, not upgrades. Relational databases remain the right answer for most business data precisely because they enforce structure and transactions.

An exam answer choosing a document store must say what about this data does not fit tables.

How this is tested — you must match a storage model to what the data and the queries actually look like. It comes up two ways:

Paper 1 Section A

  • Outline the different types of database, 3-4 marks
  • Identify a suitable type for a scenario
  • State one feature of a graph or document store

Paper 1 Section B — case study

  • Justify a choice against the relational default
  • Explain what the choice gives up
The classic trap: Choosing a non-relational store because it sounds modern. These are trades: an answer must say what about this data does not fit tables, and what guarantee is being surrendered in exchange.
IB-style questionSuggest[5 marks]

A social network must answer "which of my friends' friends live in my city?" for millions of users. Suggest a suitable database type, justify it, and state one drawback.

Model answer plan

See the answer broken into clear points, with guidance on how each point earns marks.

Claim your free topic

IB Exam Questions on Types of database

Practice with IB-style questions filtered to Topic 3.4.1. Get instant AI feedback on every answer.

Practice Topic 3.4.1 QuestionsBrowse All Computer Science HL Topics

How Types of database Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

  • Define

    Give the precise meaning of key terms related to Types of database.

    AO1
  • Describe

    Give a detailed account of processes or features in Types of database.

    AO2
  • Explain

    Give reasons WHY — cause and effect within Types of database.

    AO3
  • Evaluate

    Weigh strengths AND limitations of approaches in Types of database.

    AO3
  • Discuss

    Present arguments FOR and AGAINST with a balanced conclusion.

    AO3

See the full IB Command Terms guide

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

3.1.1Relational databases3.2.1Database schemas3.2.2ERDs3.2.3Data types
View all Computer Science HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Computer Science HL
Previous3.3.6Transactions and integrityNextData warehouses3.4.2

3 practice questions on Types of database

Students who practiced this topic on Aimnova scored 82% on average. Try free practice questions and get instant AI feedback.

Try 3 Free QuestionsView All Computer Science HL Topics