levo

Database Concepts and Entity Relationship Modelling

Comparing the three database models

  • 3 things to know
  • A2 Unit 1

Overview

How each stores an association, which relationships each can represent directly, which copes with an unanticipated question, and which suits an organisation chart, a stock system or an XML document.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Summarise how the relational, hierarchical and network models each store the association between records

Key term

Which relationships can the relational, hierarchical and network models each represent directly?

Key term

Compare the relational, hierarchical and network models for redundancy

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Summarise how each of the three models stores the association between records.

    Model answer

    The relational model stores an association as a matching value in an ordinary column. The hierarchical model stores it as a pointer from a parent to its children. The network model stores it as named sets of pointers in which a record may have several owners.

  2. 2

    Which relationships can each model represent directly?

    Model answer

    All three represent one to many directly. The hierarchical model cannot represent many to many without duplicating data; the network model can, through multiple set membership; and the relational model does so with a link table.

  3. 3

    Which model gives the greatest independence between programs and data?

    Model answer

    The relational model, because programs ask for data by name and the database management system chooses how to retrieve it, so the storage can change without the programs changing.

  4. 4

    Which model is fastest for a query the structure was designed for?

    Model answer

    The hierarchical and network models are generally faster on their intended paths, because following a stored pointer reaches the data directly rather than matching values across tables.

  5. 5

    Which model copes best with a question nobody anticipated?

    Model answer

    The relational model, because any tables sharing a value can be joined in a new query. In the other two models an unanticipated question may have no access path at all.

  6. 6

    Compare the three models for redundancy.

    Model answer

    The relational model, properly normalised, holds each fact once. The network model avoids most duplication through shared membership. The hierarchical model forces duplication wherever data genuinely belongs to two parents.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A null is the of one.
absencepresencetype

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AA null means no value has been recorded.
BZero and an empty string are values.
CA null is the absence of a value.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Database Concepts and Entity Relationship Modelling, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.