Database CH1 & CH2

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

1/129

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:03 PM on 9/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

130 Terms

1
New cards

Database

A collection of related data.

2
New cards

Data

Known facts that can be recorded and have an implicit meaning.

3
New cards

Mini-world

Some part of the real world about which data is stored in a database. For example, student grades and transcripts at a university.

4
New cards

Database Management System (DBMS)

A software package/system to facilitate the creation and maintenance of a computerized database.

5
New cards

Database System

The DBMS software together with the data itself. Sometimes, the applications are also included.

6
New cards

Traditional Applications

Numeric and Textual Databases.

7
New cards

More Recent Database Applications

Multimedia Databases; Geographic Information Systems (GIS); Biological and Genome Databases; Data Warehouses; Mobile databases; Real-time and Active Databases.

8
New cards

Big Data Storage Systems

Systems involving large clusters of distributed computers.

9
New cards

NOSQL

Not Only SQL.

10
New cards

Cloud

Huge data centers using thousands of machines.

11
New cards

Implicit Properties of a Database

Represents some aspect of the real world; logically coherent collection of data with some inherent meaning; designed, build and populated with data for a specific purpose.

12
New cards

Define a Database

Define a particular database in terms of its data types, structures, and constraints.

13
New cards

Construct or Load

Construct or Load the initial database contents on a secondary storage medium.

14
New cards

Retrieval

Querying, generating reports.

15
New cards

Modification

Insertions, deletions and updates to database content.

16
New cards

Query

Accesses different parts of data and formulates the result of a request.

17
New cards

Transaction

May read some data and “update” certain values or generate new data and store that in the database.

18
New cards

Additional DBMS Functionality

Protection or Security measures; “Active” processing; Presentation and Visualization of data; Maintenance of the database and associated programs.

19
New cards

UNIVERSITY Mini-world Entities

STUDENTs, COURSEs, SECTIONs, DEPARTMENTs, INSTRUCTORs.

20
New cards

UNIVERSITY Mini-world Relationships

SECTIONs are of specific COURSEs; STUDENTs take SECTIONs; COURSEs have prerequisite COURSEs; INSTRUCTORs teach SECTIONs; COURSEs are offered by DEPARTMENTs; STUDENTs major in DEPARTMENTs.

21
New cards

Main Traits of the Database Approach

Self-describing nature of a database system; insulation between programs and data and data abstraction; support of multiple views of the data; sharing of data and multiuser transaction processing.

22
New cards

Self-describing Nature of a Database System

A DBMS catalog stores the description of a particular database, such as data structures, types, and constraints.

23
New cards

Meta-data

The description of a particular database stored in the DBMS catalog.

24
New cards

Program-data Independence

Allows changing data structures and storage organization without having to change the DBMS access programs.

25
New cards

Data Abstraction

A data model is used to hide storage details and present the users with a conceptual view of the database.

26
New cards

Multiple Views of Data

Each user may see a different view of the database, which describes only the data of interest to that user.

27
New cards

Concurrency Control

Guarantees that each transaction is correctly executed or aborted.

28
New cards

Recovery Subsystem

Ensures each completed transaction has its effect permanently recorded in the database.

29
New cards

OLTP

Online Transaction Processing. A major part of database applications that allows hundreds of concurrent transactions to execute per second.

30
New cards

Actors on the Scene

Those who actually use and control database content and those who design, develop and maintain database applications.

31
New cards

Workers Behind the Scene

Those who design and develop DBMS software and related tools and computer systems operators.

32
New cards

Database Administrators

Responsible for authorizing access to the database, coordinating and monitoring its use, acquiring software and hardware resources, controlling its use, and monitoring efficiency of operations.

33
New cards

Database Designers

Responsible to define the content, structure, constraints, and functions or transactions against the database.

34
New cards

Casual End Users

Access database occasionally when needed.

35
New cards

Naïve or Parametric End Users

Use previously well-defined functions in the form of “canned transactions” against the database.

36
New cards

Sophisticated End Users

Business analysts, scientists, engineers, and others thoroughly familiar with the system capabilities.

37
New cards

Stand-alone End Users

Mostly maintain personal databases using ready-to-use packaged applications.

38
New cards

System Analysts

Understand the user requirements of naïve and sophisticated users and design applications including canned transactions to meet those requirements.

39
New cards

Application Programmers

Implement the specifications developed by analysts and test and debug them before deployment.

40
New cards

Business Analysts

Analyze vast amounts of business data and real-time data (“Big Data”) for better decision making related to planning, advertising, marketing, etc.

41
New cards

System Designers and Implementors

Design and implement DBMS packages in the form of modules and interfaces and test and debug them.

42
New cards

Tool Developers

Design and implement software systems called tools for modeling and designing databases, performance monitoring, prototyping, test data generation, user interface creation, simulation, etc.

43
New cards

Operators and Maintenance Personnel

Manage the actual running and maintenance of the database system hardware and software environment.

44
New cards

Advantages of the Database Approach

Controlling redundancy; sharing data; restricting unauthorized access; persistent storage; storage structures for efficient query processing; query optimization; backup and recovery; multiple interfaces; representing complex relationships; enforcing integrity constraints; drawing inferences and actions from stored data.

45
New cards

Potential for Enforcing Standards

Standards refer to data item names, display formats, screens, report structures, meta-data, Web page layouts, etc.

46
New cards

Reduced Application Development Time

Incremental time to add each new application is reduced.

47
New cards

Flexibility to Change Data Structures

Database structure may evolve as new requirements are defined.

48
New cards

Availability of Current Information

Extremely important for online transaction systems such as shopping, airline, hotel, and car reservations.

49
New cards

Economies of Scale

Wasteful overlap of resources and personnel can be avoided by consolidating data and applications across departments.

50
New cards

Hierarchical and Network Models

Introduced in the mid-1960s and dominated during the seventies.

51
New cards

Relational Model

Originally introduced in 1970. Relational DBMS products emerged in the early 1980s.

52
New cards

OODBMSs

Object-Oriented Database Management Systems introduced in the late 1980s and early 1990s.

53
New cards

ORDBMSs

Object-relational DBMSs created as relational DBMSs incorporated object database concepts.

54
New cards

HTML

Hypertext markup language.

55
New cards

XML

eXtended Markup Language.

56
New cards

When a DBMS May Be Unnecessary

If the database and applications are simple, well defined, and not expected to change; stringent real-time requirements may not be met due to overhead; multiple-user access is not required; or a general purpose DBMS may not fit in available storage.

57
New cards

Data Model

A set of concepts to describe the structure of a database, the operations for manipulating these structures, and certain constraints that the database should obey.

58
New cards

Data Model Constructs

Used to define the database structure.

59
New cards

Data Model Constraints

Specify some restrictions on valid data; these constraints must be enforced at all times.

60
New cards

Data Model Operations

Used for specifying database retrievals and updates by referring to the constructs of the data model.

61
New cards

Basic Model Operations

Generic insert, delete, update.

62
New cards

User-defined Operations

Operations such as compute_student_gpa and update_inventory.

63
New cards

Conceptual Data Models

Provide concepts that are close to the way many users perceive data. Also called entity-based or object-based data models.

64
New cards

Physical Data Models

Provide concepts that describe details of how data is stored in the computer.

65
New cards

Implementation Data Models

Provide concepts that fall between conceptual and physical data models and are used by many commercial DBMS implementations.

66
New cards

Self-Describing Data Models

Combine the description of data with the data values. Examples include XML, key-value stores and some NOSQL systems.

67
New cards

Database Schema

The description of a database. Includes descriptions of the database structure, data types, and constraints on the database.

68
New cards

Schema Diagram

An illustrative display of most aspects of a database schema.

69
New cards

Schema Construct

A component of the schema or an object within the schema, e.g., STUDENT, COURSE.

70
New cards

Database State

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

71
New cards

Database Instance

Another name for database state. Also called occurrence or snapshot.

72
New cards

Initial Database State

The database state when it is initially loaded into the system.

73
New cards

Valid State

A state that satisfies the structure and constraints of the database.

74
New cards

Intension

Another name for schema.

75
New cards

Extension

Another name for state.

76
New cards

Three-Schema Architecture

Proposed to support program-data independence and multiple views of the data.

77
New cards

Internal Schema

Describes physical storage structures and access paths, such as indexes. Typically uses a physical data model.

78
New cards

Conceptual Schema

Describes the structure and constraints for the whole database for a community of users.

79
New cards

External Schemas

Describe the various user views.

80
New cards

Schema Mappings

Needed to transform requests and data among schema levels.

81
New cards

Logical Data Independence

The capacity to change the conceptual schema without having to change the external schemas and their associated application programs.

82
New cards

Physical Data Independence

The capacity to change the internal schema without having to change the conceptual schema.

83
New cards

DDL

Data Definition Language.

84
New cards

Data Definition Language

Used by the DBA and database designers to specify the conceptual schema of a database.

85
New cards

SDL

Storage Definition Language.

86
New cards

VDL

View Definition Language.

87
New cards

DML

Data Manipulation Language.

88
New cards

Data Manipulation Language

Used to specify database retrievals and updates.

89
New cards

Host Language

A general-purpose programming language in which DML commands can be embedded, such as COBOL, C, C++, or Java.

90
New cards

Query Language

Stand-alone DML commands applied directly.

91
New cards

High-Level or Non-procedural Language

Set-oriented and specifies what data to retrieve rather than how to retrieve it. Also called a declarative language.

92
New cards

Declarative Language

Another name for a high-level or non-procedural language.

93
New cards

Low-Level or Procedural Language

Retrieves data one record-at-a-time; looping is needed to retrieve multiple records along with positioning pointers.

94
New cards

DBMS Interfaces

Stand-alone query language interfaces; programmer interfaces; user-friendly interfaces; mobile interfaces.

95
New cards

Embedded Approach

Examples include embedded SQL for C and C++ and SQLJ for Java.

96
New cards

Procedure Call Approach

Examples include JDBC for Java and ODBC for other programming languages as APIs.

97
New cards

ODBC

Open Database Connectivity.

98
New cards

JDBC

Programming interface for Java database access.

99
New cards

API

Application Programming Interface.

100
New cards

PL/SQL

A programming language based on SQL used by ORACLE that incorporates SQL and its data types as integral components.