Internal Structures and Physical Database Design




CS257

Chris Pollett

Oct 12, 2020

Outline

Introduction

Memory Hierarchy Review

Memory Hierarchy

Hard Drive Characteristics

Hard Drive

Going From Logical Design to Physical Constructs

Example of Going From Conceptual Model to Physical Model

An Example of Going from Conceptual to Physical Model

Types of Records

Variable Length Records

Blocking Factor

Quiz

Which of the following is true?

  1. To make a new collection in MongoDB we use the CREATE COLLECTION command.
  2. Because document stores are essentially hash tables, a document store never supports indexes.
  3. The syntax to make a new table in Cassandra, a column-oriented database, looks very similar to standard SQL.

Search Keys and Non-Key Attributes

Types of Files

Directories and Files

Heap, Sequential, and Random File Organization

Avoiding Overflow Blocks, Preventing Row Migration