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.4Data warehouses
Back to Computer Science HL Topics
3.4.25 min read

Data warehouses (Computer Science HL)

IB Computer Science · Unit 3

AI-powered feedback

Stop guessing — know where you lost marks

Get instant, examiner-style feedback on every answer. See exactly how to improve and what the markscheme expects.

Try It Free

Contents

  1. 1A database built for asking, not recording
  2. 2Why not just query the live database
  3. 3What a warehouse is not
  4. 4Exam-style question
The big idea: An operational database and a data warehouse hold the same data with opposite requirements.

Operational database

  • Optimised for recording transactions
  • Many small writes, one row at a time

Data warehouse

  • Optimised for asking questions of history
  • Few enormous reads scanning years of records
Operational (OLTP)Warehouse (OLAP)
Optimised forWriting — many small transactionsReading — few huge queries
HoldsCurrent stateHistory, often years of it
StructureNormalised — no duplicationDenormalised — deliberately duplicated
A typical queryOne customer's balanceSales by region by quarter since 2019
UsersThe application, constantlyAnalysts, periodically

The six properties the guide lists

PropertyMeaningSupermarket example
Subject-orientedOrganised around business subjects, not around the applications that produced the dataSales, customers, products
IntegratedData from many sources made consistent: one date format, one product codeTills, website and loyalty cards combined
Time-variantEvery record is tied to a point in time, so trends over years can be seenSales per week since 2020
Non-volatileOnce loaded, data is not changed or deleted by usersLast year's sales stay exactly as loaded
Append-onlyNew data is added at each load; old data is never overwrittenEach night adds that day's sales
Optimised for queriesDenormalised and indexed for fast reads of huge amounts of dataA report over five years runs in seconds

Together these serve business intelligence: managers asking questions of a complete, stable history to make decisions.

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

Four reasons

  • Load — a query scanning five years of sales would slow the system customers are using right now
  • History — operational systems overwrite. Yesterday's price is simply gone
  • Many sources — sales, web, stock and support each have their own database and their own formats
  • Structure — normalised tables need many joins per analytical query; a warehouse denormalises so those joins are already done
ETL is where the work is: Extract from each source system · Transform into one consistent shape — the same date format, the same country codes, the same definition of "a sale" · Load into the warehouse.

The transform step is where most of the effort goes, because every source defines things slightly differently.
Denormalised on purpose: A warehouse breaks the normalisation rules deliberately. Update anomalies are the usual objection — but a warehouse is rebuilt in bulk, not edited by users, so the anomaly cannot arise.

That is what makes the trade safe here and unsafe in an operational system.

Feeling unprepared for exams?

Get a clear study plan, practice with real questions, and know exactly where you stand before exam day. No more guessing.

Get Exam Ready FreeYour first topic is free to keep • No credit card required

Not live

  • Loaded on a schedule — nightly is common
  • So it is out of date by design
  • Never use it to answer "what is the stock right now?"

Not a backup

  • It holds transformed data, not the originals
  • You could not restore the business from it
  • Different purpose entirely

Not free

  • Storage for years of duplicated history
  • The ETL pipeline must be built and maintained
  • Every source change breaks it until it is updated
Name the latency: Saying "a warehouse is not real-time — it is loaded nightly, so it answers questions about the business up to yesterday" is frequently a mark. It shows you know what the design costs.

How this is tested — you must separate recording from analysing, and justify the duplication a warehouse involves. It comes up two ways:

Paper 1 Section A

  • Explain the objectives of a data warehouse, 3-4 marks
  • State one difference from an operational database
  • Name the stages of ETL

Paper 1 Section B — case study

  • Justify a warehouse for a scenario
  • Explain why denormalisation is acceptable here
The classic trap: Describing a warehouse as "a copy of the database". It holds transformed, integrated history from several sources, deliberately denormalised — and it is only current to the last load.
IB-style questionExplain[5 marks]

A supermarket chain wants to analyse five years of sales across 200 stores alongside its loyalty and stock systems. Explain why a data warehouse is appropriate rather than querying the existing databases.

Model answer plan

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

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Data warehouses. Write your answer and get instant AI feedback — just like a real IB examiner.

A supermarket chain copies sales data from all its stores into a data warehouse each night. the term data warehouse. [1 mark]

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.4.1Types of databaseNextOLAP and data mining3.4.3

9 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start FreeView All Computer Science HL Topics