Physical Organization and Access Methods




CS257

Chris Pollett

Oct 26, 2020

Outline

Introduction

How Tables and Indexes are Implemented: Sqlite

Sqlite Page Types

sqlite_master B-tree table

Quiz

Which of the following is true?

  1. An inverted file index is typically bigger than a standard dense secondary index.
  2. The `k` chosen for a `k`d-tree in a database setting is usually related to the number of attribute values and pointers that can fit in a block.
  3. A B-tree is a kind of balanced binary tree.

Database Organization and Table Spaces

Database Organization

Tablespaces and SQL

Index Design

Data Access Methods

DBMS Statistical Data

Estimating the Cost of a Query

Example Estimating the Cost of a Query

Query Optimizer Example