Database Systems Chapter 5

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/44

flashcard set

Earn XP

Description and Tags

CS 4210 Chapter 5

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

45 Terms

1
New cards

data model

plan or blueprint for database design

2
New cards

three design stages, and the one we focus on

conceptual design, logical design, and physical design. we focus on conceptual design

3
New cards

the er model

set of concepts and symbols to create conceptual schemas

4
New cards

what er model do we use now

extended er model

5
New cards

entity

something that can be identified and kept track of

6
New cards

entity class

a collection of entities of a given type

7
New cards

entity instance

occurence of a particular entity

8
New cards

attributes

an entity’s characteristics

9
New cards

identifiers

attributes that name/identify entities

10
New cards

identifier vs key

identifiers in data models become keys in database designs

11
New cards

composite identifiers

consists of two or more attributes

12
New cards

relationships

entities associated with one another

13
New cards

relationship classes

associations among entity classes; can involve two or more entity classes

14
New cards

relationship instances

associations among entity instances

15
New cards

degree of the relationship

number of entity classes in the relationship, binary, ternary

16
New cards

entities vs tables

you can express a relationship between entities without using a foreign key

17
New cards

maximum cardinality

the maximum # of relationship in which an entity can participate in

18
New cards

minimum cardinality

minimum # of relationship instances an entity must participate in

19
New cards

types of maximum cardinality

1:1, 1:N, N:M

20
New cards

who is parent and child is 1:N relationship

entity on the one side of the relationship is the parent. the one on the many side is the child

21
New cards

HAS-A relationship

each entity instance “has a” relationship with another entity instance

22
New cards

minimum cardinality types

zero (optional) , one (mandatory)

23
New cards

strong entity

entity that can exist on its own (basically a normal entity)

24
New cards

weak entity

entity whose existence depends on another entity

25
New cards

ID-dependent entity

an entity whos identifier includes the identifier of another entity. logical extension of the parent. minimum cardinality is always one

26
New cards

identifying relationship

solid line connecting an id dependent entity and its parent

27
New cards

nonidentifying relationship

dashed line connecting strong entities or non-id dependent weak entity to its parent

28
New cards

exclusive subtypes

one supertype relates to at most one subtype (student can only be grad or undergrad)

29
New cards

inclusive subtypes

one supertype can relate to one or more subtypes (a student can be in multiple clubs)

30
New cards

total subtypes

if a supertype has to be in one of the subtypes

31
New cards

partial subtypes

if a supertype doesnt have to be in any of the subtypes

32
New cards

IS-A relationships

relationship connecting supertypes and subtypes

33
New cards

the identifier of the supertypes and all the subtypes must be

identical

34
New cards

subtypes are used to avoid

value-inappropriate nulls

35
New cards

ID-Dependent relationship patterns

multivalued attribute pattern, archetype/instance pattern, association pattern

36
New cards

association pattern

includes a third entity to hold additional attributes. look at slides for examples

37
New cards

multivalued attribute pattern

idk like someone can have multiple phone numbers

38
New cards

archetype/instance pattern

when the id dependent child is the physical manifestation of an abstract parent (ie painting→print or house model→house)

39
New cards

patterns for mixing identifying and nonidentifying patterns

line-item pattern and others ig

40
New cards

look for a mixed pattern where

a strong entity has a multivalued composite attribute, and one of the elements of the composite group is an identifier of another strong entity

41
New cards

recursive relationship

when an entity has a relationship with itself, like a train a boxcar has a recursive relationship with the next boxcar

42
New cards

IDEF1X

Integrated Defined 1, Extended (national standard since 1993)

43
New cards

UML

Unified Modeling Language

44
New cards

IDEF1X relationship terms

nonidentifying connection relationships (same), identifying connection relationships (same), nonspecific relationships (N:M relationship), categorization relationships

45
New cards

default cardinality for identifying and non-identifying relationships

1:N, M:O