Database Management Systems

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

1/20

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.

21 Terms

1
New cards

File System Approach

  • No centralized storage of data

  • Each department controls and stores its own data

  • Collection of apps that perform services to the end users

2
New cards

DBMS Approach

  • Centralized database/repository that can be viewed by any number of users based on their interests

3
New cards
  1. Self-describing Nature of a Database System

  2. Insulation Between Programs and Data, and Data Abstraction

  3. Support of Multiple Views of the Data

  4. Sharing of Data and Multiuser Transaction Processing

Characteristics of DBMS Approach

4
New cards

Self-describing Nature of a Database System

  • DB System - DB + Meta-data (DB Definition)

  • Stored in DBMS Catalog

  • Used by DBMS Software & DB Users

5
New cards

Insulation Between Programs and Data, and Data Abstraction

  • DBMS software must work equally well with any number of database applications

  • In traditional file processing, data-definition → part of application programs → work with only one specific DB

6
New cards

Support of Multiple Views of the Data

Different views of the DB for different users

7
New cards

View

subset of database, contains virtual data derived from database (not explicitly stored)

8
New cards

Sharing of Data and Multiuser Transaction Processing

For multiple users to be able to access a database at the same time, a multiuser database must include concurrency control

9
New cards

Concurrency Control

prevents 2 or more users from editing the same data at the same time

10
New cards

OLTP (Online Transaction Processing)

  • Applications that require concurrency control

  • Major part of database application

  • DBMS must enforce several transaction properties

11
New cards
  1. Isolation

  2. Atomicity

Transaction Properties

12
New cards

Isolation

Data is blocked/isolated from other users to prevent them from editing

13
New cards

Atomicity

DBMS must ensure that the transaction is executed completely or not at all

14
New cards

THREE-SCHEMA ARCHITECTURE

  • Separate the user applications from the physical database, which is the foundation for database independence

15
New cards
  1. Internal Level

  2. Conceptual Level

  3. External Level

The database description is organized into three distinct levels

16
New cards

Internal Level

  • Schema that describes the physical storage structure of the database

  • Details how the data is stored on disk and defines the access paths for efficient retrieval

17
New cards

Conceptual Level

  • Provides a unified, high-level description of the entire database

  • Focuses on describing the entities, relationships, and constraints

  • Hides physical storage details

18
New cards

External Level

  • Consists of multiple external schemas/user views

  • Each describes the specific part of the DB that a user group is interested in, hiding the rest

19
New cards

DATA INDEPENDENCE

enabled by the layered architecture (three-schema architecture)

20
New cards

Logical Data Independence

  • Ability to change the conceptual schema without having to change the external schema

  • Ex. adding a new entity or relationship

21
New cards

Physical Data Independence

  • Ability to change the internal schema without having to change the conceptual schema

  • Ex. modifying file organization or storage structures