Joins, Completing Plans, System Failures




CS157b

Chris Pollett

Mar 23, 2020

Outline

Dynamic Programming for Join Order

Quiz

Which of the following statements is true?

  1. We estimated the number of tuples return by `S= sigma_{A lt c}(R)` as `T(S)=(T(R))/3`.
  2. ANALYZE DATABASE returns info about a sqlite's table statistics.
  3. Selinger-Style Optimizations are used to get an estimation of the number of tuples return by set operations.

Completing the Physical-Query

Choosing a selection method

Choosing a Join Method

Pipelining Versus Materialization

Notations for Physical Query Plans

Ordering of Physical Operations

DBMS Goals

Possible Kind of Database Errors

Transactions

Jobs of the Transaction Manager