levo

Database Concepts and Entity Relationship Modelling

Comparing the three database models

  • 3 things to know
  • A2 Unit 1
Start revising · £5/month

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.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

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

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A null is the of one.
absencepresencetype

Blank Blitz consolidates the facts

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

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

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.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

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