Storage Engines for DBMSs, Multidimensional Data




CS157b

Chris Pollett

Feb 19, 2018

Outline

Introduction

Dawn of Databases - COBOL and files

Dawn of Databases - IBM and ISAM

How Tables and Indexes are Implemented: IBM, Ingres, Postgres, Oracle

How Tables and Indexes are Implemented: MySQL

MyISAM, InnoDB, Aria, XtraDB

How Tables and Indexes are Implemented: Sqlite

Sqlite Page Types

sqlite_master B-tree table

Quiz

Which of the following statements is true?

  1. Insert in a B-tree can be done in `O(log n)` time where `n` is the number of records stored in the B-tree.
  2. The terms inverted index and clustered index are synonymous.
  3. Extensible hash functions are required to store fewer than 10,000 items.

Multidimensional Data

Application Needing Multidimensional Data

More Applications

SQL for Multidimensional Queries

Using Conventional Indexes

Hash-Like Structures for Multidimensional Data and Indexes

Grid Files

Partitioned Hash Files