Lesson 5: Relational Mapping and Transformation

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:25 AM on 9/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

31 Terms

1
New cards

Relational Mapping

The process of transforming a conceptual ERD into relational tables.

2
New cards

Conceptual Design

Entities, attributes, relationship. No product in mind

3
New cards

Logical Design

The relational schema: tables, keys, constraints

4
New cards

Physical Design

Storage, indexes, and tuning

5
New cards

Implementation

Executable DDL on a running server

6
New cards

Strong entity type

One relation, keyed on its own identifier

7
New cards

Weak entity type

One relational, keyed on the owner’s key plus the partial key

8
New cards

Binary 1:1

No new relational, a foreign key, made unique

9
New cards

Binary 1:M

No new relation. A foreign key on the many side

10
New cards

Binary M:N

A new relational keyed on both foreign keys

11
New cards

Multivalued attributes

A new relation keyed on the owner plus the value

12
New cards

Degree three or more

A new relation with one foreign key per entity

13
New cards

Recursive relationship

Same table at borh ends

14
New cards

Recursive 1:M

A foreign key on the same tavle, at its own primary key

15
New cards

Recursive M:N

A new relation with two foreign key to the same table

16
New cards

Supertype and subtypes

One relation for the supertype, one per subtype

Cost: Every subtype query needs a join

17
New cards

Subtypes only

One relation per subtype, none for the supertype


Problem: Cannot record a supertype instance in no subtype

18
New cards

Single Relation, One Type Column

One relation with a discriminator column


Problem: Many NULLs, and no NULL rule can be enforced

19
New cards

Single relation, boolean columns

One relation with a flag per subtype


Problem: Many NULLs, and flags may disagree with the data

20
New cards

Surrogate key

A key that provides stability and simplicity but loses meaning and can allow duplicates if the natural key is not preserved

21
New cards

Stability

The key never changes, whatever happens to the data

22
New cards

Simplicity

One short column instead of a three-column composite

23
New cards

Meaning

The key says nothing, so it cannot be checked by eye

24
New cards

Duplicates

Two rows may differ only by the surrogate, and both look valid

25
New cards

Logical schema document

Standard notation with the primary key underlined and foreign keys marked, plus a data dictionary

26
New cards

Data Dictionary

A description containing each attribute's type, null status, and meaning

27
New cards

DDL

Executable database statements used to implement the derived tables

28
New cards

Dependency order

A table may only be created after the tables it points at

29
New cards

Constraint naming

Name every constraint, such as pk_student and fk_section_course

30
New cards

Referential action

The action defined for what happens to related records when referenced records are changed or deleted. The lecture states that silence means RESTRICT

31
New cards

Forward Engineering

The process where Workbench turns an EER model into a CREATE TABLE script