Ch 1 - Fundamentals of Database Management Systems

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

1/133

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.

134 Terms

1
New cards

Database

a collection of related data items within a specific business process or problem setting

2
New cards

Database management system (DBMS)

software package used to define, create, use, and maintain a database

3
New cards

Database system

combination of a database and a DBMS

4
New cards

Data

stored representations of meaningful objects and events

5
New cards

Structured data

numbers, text, dates

6
New cards

Unstructured data

images, video, documents

7
New cards

Information

data processed to increase knowledge

8
New cards

Metadata

data that describes properties and context of user data

9
New cards

File approach to data management

Data definitions included in each application, hard to manage concurrency control, duplicate or redundant information will be stored, danger of inconsistent data.

10
New cards

Database approach to data management

Applications now directly interface with the DBMS to access the data, loose coupling between applications and data, data stored and managed centrally by a DBMS.

11
New cards

Data persistence

Data outlives application.

12
New cards

Data safety

Data is safe from failures, malicious users etc.

13
New cards

Concurrent access

Data is concurrently accessible by multiple users.

14
New cards

Airline reservation system

An example of a database management system that requires information on flights/customers, pending airline reservation tickets, ticket purchase history, and trends/preferences.

15
New cards

Data querying

Facilities provided for data querying and retrieval.

16
New cards

Data availability

Find availability of seats, list flights out of a certain airport, price range.

17
New cards

Purchase history generation

Generate a purchase history and sales figures per airline/state.

18
New cards

Geographical Information System (GIS)

An application that manages geographical data.

19
New cards

Customer Relationship Management (CRM)

An application that manages customer data.

20
New cards

Data redundancy

Duplicate or redundant information stored in files.

21
New cards

Concurrency control

Managing simultaneous operations without conflicting.

22
New cards

Loose coupling

Minimal dependency between applications and data.

23
New cards

Raw data

Data that has not been processed.

24
New cards

Catalog

A collection of metadata.

25
New cards

Data management

The process of storing, organizing, and maintaining data.

26
New cards

File Approach

A method of data management that involves using files such as Word documents and Excel files to store data.

27
New cards

DB Approach (SQL)

A method of data management that uses Structured Query Language (SQL) to interact with a database.

28
New cards

Procedure FindCustomer

A SQL procedure that retrieves customer information based on the name 'Bart'.

29
New cards

SELECT * FROM Customer WHERE name = 'Bart'

A SQL statement that selects all columns from the Customer table where the name is 'Bart'.

30
New cards

SQL is declarative

SQL specifies what data to retrieve rather than how to obtain it.

31
New cards

open file Customer.txt

A command in the file approach to open a text file containing customer data.

32
New cards

Read(Customer)

A command to read data from the Customer file.

33
New cards

EOF(Customer)

End Of File indicator for the Customer file, used to determine when to stop reading data.

34
New cards

display(Customer)

A command to show the customer data that matches the criteria.

35
New cards

Converting from file to DB approach

The process of changing data management from a file-based system to a database system, which can be complex and costly.

36
New cards

Costs of converting to a database

Includes expenses related to new personnel, installation, management complexity, conversion, and backup/recovery needs.

37
New cards

Logistics

The planning and execution of a project, in this case, related to the database system implementation.

38
New cards

DBMS

Database Management System, software that interacts with end users, applications, and the database itself to capture and analyze data.

39
New cards

File-based vs. database approaches

A comparison of using files for data management versus using a database system.

40
New cards

Advantages of DB systems

Benefits of using a database system, which may include improved data integrity, reduced redundancy, and easier maintenance.

41
New cards

iClicker Quiz

A quiz format used to assess understanding of database concepts.

42
New cards

Elements of a database system

Components that make up a database system, including database model, instances, and architecture.

43
New cards

Database model

A framework that provides a description of the database data at different levels of detail.

44
New cards

Database instances

Specific occurrences of data items, their characteristics, relationships, constraints, and storage details.

45
New cards

3-Layer Architecture

A design pattern for database systems that separates the user interface, application logic, and data storage.

<p>A design pattern for database systems that separates the user interface, application logic, and data storage.</p>
46
New cards

Catalog

A collection of metadata that describes the structure of the database.

47
New cards

Users

Individuals or applications that interact with the database system.

48
New cards

Languages

Programming languages used to interact with the database, such as SQL.

49
New cards

Data model

A data model provides a clear, unambiguous description of the data items, their relationships, and various data constraints from a particular perspective.

50
New cards

3-Layer Architecture

Specified during database design.

51
New cards

Catalog

Not expected to change too frequently.

52
New cards

Users

Stored in the catalog.

53
New cards

Languages

Typically changes on an ongoing basis.

54
New cards

Elements of a Database System

A database model comprises different data models, each describing the data from different perspectives.

55
New cards

Database model

Represents data in the database at a particular moment.

56
New cards

Database instances

Also called the current set of instance.

57
New cards

Conceptual Data Model

Provides high-level description of data items (e.g., flights), their characteristics (e.g., flight number), and relationships (a flight flies out of an airport).

58
New cards

Business needs

Shared with information architect: What data to store, how are the different entities related, what are the constraints, if any, etc.

59
New cards

Implementation-independent

User-friendly, close to how business user perceives the data.

60
New cards

Entity relationship (ER) model

Usually represented using an entity relationship model, or an object-oriented model.

61
New cards

Logical data model

One of the types of data models developed during a DB design process.

62
New cards

External data model

One of the types of data models developed during a DB design process.

63
New cards

Data items

The individual pieces of data that are stored in a database.

64
New cards

Data relationships

The connections between different data items.

65
New cards

Data constraints

Rules that define the properties and limits of the data.

66
New cards

Database model

Provides description of the database data at different levels of detail

67
New cards

Database instances

Specifies data items, their characteristics and relationships, constraints, storage details etc.

68
New cards

Data model

e.g., the relational data model

69
New cards

3-Layer Architecture

Student (number, name, address, email), Course (number, name), Building (number, address)

70
New cards

Catalog

Not expected to change too frequently

71
New cards

Users

Stored in the catalog

72
New cards

Languages

Several types of data models are developed during a DB design process

73
New cards

Conceptual Data Model

Provides high-level description of data items (e.g., flights), their characteristics (e.g., flight number), and relationships (a flight flies out of an airport)

74
New cards

Business rules

Statements that define or constrain some aspect of business

75
New cards

Good business rule

Declarative - what, not how; Precise - clear, agreed-upon meaning; Atomic - one statement; Consistent - internally and externally; Expressible - structured, natural language; Distinct - non-redundant; Business-oriented - understood by business personnel

76
New cards

Logical Data Model

Mapping of conceptual data model to a specific implementation environment

77
New cards

Data model types

Can be a hierarchical, CODASYL, relational, object-oriented, extended relational, XML, or NoSQL model

78
New cards

Internal data model

Can be mapped to an internal data model that represents the data's physical storage details

79
New cards

Data retrieval

Describes which data are stored where, in what format, which indexes are provided to speed up retrieval, etc.

80
New cards

Database model

A structure that defines how data is organized, stored, and manipulated within a database.

81
New cards

External data model

Includes views offering a window on a carefully selected part of the logical data model.

82
New cards

Database instances

Contains various subsets of the data.

83
New cards

Data model

Items in the logical model, also called views, tailored toward the needs of specific applications or groups of users.

84
New cards

3-Layer Architecture

A framework that separates the database system into three layers: external, conceptual/logical, and physical/internal.

85
New cards

Catalog

Data stored and managed centrally by a DBMS.

86
New cards

Conceptual data model

A user-friendly, implementation-independent model that focuses on data items and their characteristics.

87
New cards

Logical data model

Based upon the implementation environment, detailing how data items relate to one another.

88
New cards

External Layer

The top level of the three-layer architecture, which provides views for one or more applications.

89
New cards

Conceptual/Logical Layer

The middle layer of the three-layer architecture, consisting of both the conceptual and logical data models.

90
New cards

Physical/Internal Layer

Specifies how the data are stored or organized physically.

91
New cards

View

Part of the database that an application is interested in; the rest of the database is hidden.

92
New cards

Data access and security

Controls that manage who can access data and how data can be accessed.

93
New cards

Application programmer

A person who develops applications that interact with the database.

94
New cards

Database administrator

A person responsible for managing and maintaining the database system.

95
New cards

Schema

The structure that defines the organization of data in the database.

96
New cards

Invoicing

An application that has access to certain views or parts of the data.

97
New cards

CRM

Customer Relationship Management application that interacts with the database.

98
New cards

GIS

Geographic Information System application that accesses specific views of the data.

99
New cards

Statement 1

The middle layer of the three-layer architecture consists of both the conceptual data model and the logical data model. The logical data model is physically implemented in the internal layer.

100
New cards

Statement 2

The top level of the three-layer architecture is the external layer. Views for one or more applications always offer a window on the complete logical model.