Finish DBMS Overview




CS157a

Chris Pollett

Aug 28, 2023

Outline

Introduction

Information Integration

Overview of a Database Management System

Example diagram of the parts of a DBMS

Sources of Commands

Data-Definition Language Commands

Quiz

Which of the following is true?

  1. A database is a collection of tables.
  2. The hierarchical model (used in IBMs IMS system) organizes data in databases into tree-like hierarchies.
  3. NoSQL databases first appeared in the 1980s.

Overview of Query Processing

Answering a Query

Transaction Processing

Storage and Buffer Management

DBMS Info Stored on Disk

The following DBMS info is persisted on disk and hence would involve requests through the buffer and storage manager for to access and manipulate:

  1. Data: the contents of the database itself.
  2. Metadata: the database schema that describes the structure of and constraints on the database.
  3. Log Records: information about recent changes to the database; these are used to make ensure the durability of data stored in the database.
  4. Statistics: information gathered and stored by the DBMS such as sizes of various relations, etc.
  5. Indexes: data structures used to help speed up access to data in the database.

Transaction Processing

ACID Properties of a Transaction

Properly implemented transactions are often said to meet the "ACID" test where:

Tasks of the Transaction Processor

Query Processor