4) Database Design

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/63

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

64 Terms

1
New cards

entity-relationship model

a high-level representation of data requirements, ignoring implementation details

2
New cards

entity

a person, place, product, concept, or activity

3
New cards

relationship

a statement about two entities

4
New cards

attribute

a descriptive property of an entity

5
New cards

reflexive relationship

relates an entity to itself

6
New cards

entity-relationship (ER) diagram

depict entities, relationships, and attributes

7
New cards

glossary or data dictionary or repository

documents names, synonyms, and descriptions of all entities, relationships, and attributes in a text format

8
New cards

entity type

a set of things

9
New cards

relationship type

a set of related things

10
New cards

attribute type

a set of values

11
New cards

entity instance

an individual thing

12
New cards

relationship instance

a statement about entity instances

13
New cards

attribute instance

an individual value

14
New cards

conceptual design

develops an entity-relationship model, capturing data requirements while ignoring implementation details

15
New cards

logical design

converts the entity-relationship model into tables, columns, and keys for a particular database system

16
New cards

physical design

adds indexes and specifies how tables are organized on storage media

17
New cards

binary relationship

the simplest kind of relationship between two entity types

18
New cards

one-to-many (1-M)

binary relationship that links one instance of an entity to multiple instances of another entity, where each child entity relates back to only one instance (ex. a state has many cities, a city is in only one state)

19
New cards

many-to-many (M-M)

binary relationship that links one record in Table A to many records in Table B, and vice versa (ex. a student takes many classes, a class has many students)

20
New cards

modality

the minimum number of entity occurrences that can be involved in a relationship

21
New cards

intersection data

located in an intersection table, which acts as a bridge, holding foreign keys from both related tables and additional attributes to that specific pairing (ex. a student’s enrollment date in a course)

22
New cards

associated entity

a construct that resolves an M-M relationship between two or more entities; transforming the complex M-M into two simpler 1-M relationships (ex. a student has many enrollments, a course has many enrollments)

23
New cards

unary relationships

associate occurrences of an entity type with other occurrences of the same entity type

24
New cards

one-to-one unary relationship

links instances of the same entity type where each instance relates to exactly one other instance of that same type

25
New cards

ternary relationship

a relationship that involves three different entity types

26
New cards

cardinality

refers to maxima and minima of relationship attributes

27
New cards

relationship maximum

the greatest number of instances of one entity that can relate to a single instance of another entity

28
New cards

singular

maximum is one

29
New cards

plural

maximum is many

30
New cards

crow’s foot notation

notation for the relationship maximum on an ER diagram

31
New cards

relationship minimum

the least number of instances of one entity that can relate to a single instance of another entity

32
New cards

optional

relationship minimum is zero

33
New cards

required

relationship minimum is one

34
New cards

attribute maximum

the greatest number of attribute values that can describe each instance

35
New cards

attribute minimum

the least number of attribute values that can describe each instance

36
New cards

unique attribute

describes at most one entity instance

37
New cards

identifying attribute

unique, singular, and required

38
New cards

identify

corresponds one-to-one to entity instances

39
New cards

strong entity

has one or more identifying attributes

40
New cards

weak entity

does not have an identifying attribute

41
New cards

subtype entity

a subset of another entity type, called the supertype entity

42
New cards

similar entities

entities that have may common attributes and relationships

43
New cards

partition

a group of mutually exclusive subtype entities

44
New cards

IsA relationship

the identifying relationship between a supertype entity and its subtype entities

45
New cards

subject area

a group of related entities from a complex model

46
New cards

independent

refers to strong entities

47
New cards

dependent

refers to weak entities

48
New cards

Unified Modeling Language (UML)

commonly used for software development in which software data structures are similar to database structures (uses ER conventions)

49
New cards

Information DEFinition version 1X (IDEF1X)

used by the US Department of Defense

50
New cards

Chen notation

notation that is not standardized but often appears in literature and tools

51
New cards

artificial key

a simple primary key created by the database designer

52
New cards

depends on

each B value is related to at most one A value

53
New cards

functional dependence

dependence of one column on another

54
New cards

multivalued dependence or join dependence

dependencies between three or more columns

55
New cards

redundancy

the repetition of related values in a table

56
New cards

normal forms

rules for designing tables with less redundancy

57
New cards

first normal form

every cell of a table contains exactly one value and the table has a primary key

58
New cards

second normal form

a table in which all non-key columns depends on the whole primary key

59
New cards

third normal form

a table in which all non-key columns depend on the key, the whole key, and nothing but the key

60
New cards

candidate key

a simple or composite column that is unique and minimal

61
New cards

non-key

a column not contained in a candidate key

62
New cards

Boyce-Codd normal form

a table in which when column A depends on column B, then column B is unique

63
New cards

normalization

eliminates redundancy by decomposing a table into two or more tables in higher normal form

64
New cards

denormalization

intentionally introducing redundancy by merging tables