Inverted Files and Indexes, Multicolumn Indexes




CS257

Chris Pollett

Oct 19, 2020

Outline

Introduction

Secondary Indexes

Secondary Index Example

Applications of Secondary Indexes

Indirection in Secondary Indexes

Document Retrieval and Inverted Indexes

Inverted Indexes and Column-Oriented Databases

Quiz

Which of the following is true?

  1. Relative location records are the same thing as slotted pages.
  2. Sequential files are usually organized as contiguous blocks on disk.
  3. A dense index is an index where we have one entry per block of the original file.

Multidimensional Data

Application Needing Multidimensional Data

More Applications

SQL for Multidimensional Queries

Using Conventional Indexes

Multiple Key Indexes

Multi Key Index Example

Uses of Multiple-Key Indexes

kd-trees

Operations on kd-trees