Back to Topic 3.2 — Database design
3.2.1Computer Science SL5 flashcards

Database schemas

Practice Flashcards

Flip to reveal answers
Card 1 of 53.2.1
3.2.1
Question

What are the three database schema levels?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — Database schemas

Sign up free to track progress and get spaced-repetition review schedules.

Card 1definition

Question

What are the three database schema levels?

Answer

Conceptual — the entities and relationships the organisation cares about. Logical — those turned into tables, columns, keys and data types. Physical — how the chosen system actually stores it, including files and indexes.

Card 2definition

Question

What does a conceptual schema contain, and what does it leave out?

Answer

It contains the entities and the relationships between them, in language the organisation recognises. It deliberately omits keys, data types and any choice of database product.

Card 3definition

Question

What belongs to the physical schema?

Answer

How the chosen system stores the data: files on disk, indexes, partitions and storage settings. This is where performance decisions live, and it must be redone if you change database product.

Card 4definition

Question

What is data independence?

Answer

The schema levels are insulated from each other, so a change at one does not force a change at another. Adding an index at the physical level alters no query written against the logical schema.

Card 5concept

Question

Why describe one database three times?

Answer

So the meaning can be agreed with non-technical people before technical choices are made, so storage can change without breaking programs, and so the same logical design can be built on different database systems.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free