Database Design Flashcards

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
full-widthPodcast
1
Card Sorting

1/216

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.

217 Terms

1
New cards

Database

A collection of data central to some enterprise

2
New cards

essential to operation of enterprise

3
New cards

contains only record of enterprise activity

4
New cards

an asset in its own right

5
New cards

persistent

6
New cards

Data

Known facts that can be recorded and have an implicit meaning

7
New cards

Mini-world

Some part of the real world about which data is stored in a database

8
New cards

Database Management System (DBMS)

A program/software package that manages a database by supporting high-level access language and interpreting statements to perform database access

9
New cards

Database System

The DBMS software together with the data itself

10
New cards

sometimes includes applications

11
New cards

Entity

Objects or things in the mini-world that are represented in the database

12
New cards

Attribute

Properties used to describe an entity

13
New cards

Simple Attribute

Each entity has a single atomic value for the attribute

14
New cards

Composite Attribute

Attribute may be composed of several components forming a hierarchy

15
New cards

Multi-valued Attribute

Entity may have multiple values for that attribute

16
New cards

Entity Type

Entities with the same basic attributes grouped together

17
New cards

Key Attribute

An attribute of an entity type for which each entity must have a unique value

18
New cards

Entity Set

The collection of all entities of a specific entity type

19
New cards

Relationship

A connection that relates two or more distinct entities with a specific meaning

20
New cards

Relationship Type

Relationships of the same type grouped or typed together

21
New cards

Degree of Relationship Type

The number of participating entity types

22
New cards

Binary Relationship

A relationship with two participating entity types

23
New cards

Recursive Relationship

A relationship where two entities of the same entity type are related

24
New cards

Weak Entity Type

An entity that does not have a key attribute

25
New cards

Identifying Relationship Type

A relationship type that identifies a weak entity through connection to owner entity

26
New cards

Partial Key

A key component of weak entity that identifies it only in combination with owner entity

27
New cards

Cardinality Ratio

Specifies the maximum number of relationship instances (1:1, 1:N, N:M)

28
New cards

One-to-one (1:1) Relationship

Each entity in one set relates to at most one entity in another set

29
New cards

One-to-many (1:N) Relationship

One entity in first set relates to many entities in second set

30
New cards

Many-to-many (M:N) Relationship

Many entities in first set relate to many entities in second set

31
New cards

Participation Constraint

Specifies whether entity participation in relationship is total or partial

32
New cards

Total Participation

Mandatory participation of all entities in a relationship type

33
New cards

Partial Participation

Optional participation where not all entities must participate in relationship

34
New cards

(min

max) Notation

35
New cards

Roles in Relationships

In recursive relationship two entities play different roles

36
New cards

Attributes of Relationship Types

Relationship type can have attributes describing each relationship instance

37
New cards

ER Diagram

A diagrammatic display of aspects of a database schema

38
New cards

Classification

A grouping of member entities into an entity type

39
New cards

Aggregation

A grouping of member relationships into a relationship type

40
New cards

Identification

A means of uniquely identifying entities

41
New cards

Generalization

A process of grouping entity types into higher-level entity types

42
New cards

Schema

The description of a database including structure and constraints

43
New cards

Database Instance

The actual data stored in a database at a particular moment in time

44
New cards

Intension

The database schema

45
New cards

describes structure

46
New cards

Extension

The database state

47
New cards

changes every time database is updated

48
New cards

Three-Schema Architecture

DBMS design that defines internal

49
New cards

Internal Schema

Describes data storage structures and access paths using physical data model

50
New cards

Conceptual Schema

Describes structure and constraints for whole database at conceptual level

51
New cards

External Schema

Describes various user views at external level

52
New cards

Physical Data Independence

Capacity to change internal schema without changing conceptual schema

53
New cards

Logical Data Independence

Capacity to change conceptual schema without changing external schemas

54
New cards

Information

Processed data that has value for decision making

55
New cards

Metadata

Description of data at some level

56
New cards

stored in DBMS catalog

57
New cards

Physical Data Schema

Describes details of how data is stored including tracks

58
New cards

Conceptual Data Level

Hides storage details

59
New cards

presents data as set of tables

60
New cards

External Data Level

Presents data as set of relations

61
New cards

tailored to particular user categories

62
New cards

View

A portion of stored data or a derived computation defined for specific users

63
New cards

Data Model

A set of concepts to describe the structure of a database

64
New cards

Data Model Operations

Operations for specifying database retrievals and updates

65
New cards

Conceptual Data Models

High-level semantic models providing concepts close to user perception

66
New cards

Physical Data Models

Low-level internal models providing concepts describing how data is stored

67
New cards

Implementation Data Models

Models providing concepts between high-level and low-level

68
New cards

Record-based Data Models

Relational

69
New cards

Object-based Data Models

Models close to human perception but farther from computer system

70
New cards

Relational Model

Data model proposed in 1970

71
New cards

organizes data in tables

72
New cards

Network Model

Data model implementing multiple parent-child relationships

73
New cards

Hierarchical Data Model

Data model representing data in tree structure with parent-child relationships

74
New cards

Object-oriented Data Model

Data model for persistent O-O programming languages

75
New cards

Object-Relational Models

Most recent trend combining relational and object-oriented approaches

76
New cards

Benefits of Using DBMS

Controlling redundancy

77
New cards

sharing data

78
New cards

restricting unauthorized access

79
New cards

providing multiple interfaces

80
New cards

representing complex relationships

81
New cards

enforcing integrity constraints

82
New cards

backup and recovery

83
New cards

flexibility to change structures

84
New cards

When Not to Use DBMS

When access is simple and well-defined and not expected to change

85
New cards

when access by multiple users is not required

86
New cards

Self-contained Nature of DB

DBMS catalog stores database description (metadata)

87
New cards

Program-data Independence

Allows changing data storage structures without changing DBMS access programs

88
New cards

Data Abstraction

Data model used to hide storage details and present conceptual view

89
New cards

Support of Multiple Views

Each user may see different view of database

90
New cards

Virtual Data

Data not actually stored but computed when accessed

91
New cards

Sharing of Data and Multiuser Processing

Concurrency control allows multiple users to access data

92
New cards

Data Redundancy

Same data appears in multiple locations

93
New cards

Data Inconsistency

Lack of data integrity when same data appears multiple times

94
New cards

Data Anomalies

Modification

95
New cards

insertion

96
New cards

or deletion anomalies

97
New cards

Modification Anomaly

Data inconsistency due to updating same data in multiple locations

98
New cards

Insertion Anomaly

Inability to insert data without knowing values in other attributes

99
New cards

Deletion Anomaly

Deletion of data causing unintended loss of other data

100
New cards

Structural Dependence

Physical structure of database is dependent on access method