More Distributed Databases




CS157b

Chris Pollett

Apr 30, 2018

Outline

Introduction

Distributed Query Processing

Semi-join Reductions

Quiz

Which of the following statements is true?

  1. Using strict 2PL will guarantee recoverable schedules.
  2. If a schedule avoids cascading rollbacks it could always have been generated by using strict 2PL.
  3. In distributed databases we treat the cost of communication between databases on different machines as negligible.

Distributed Commit

What Might Go Wrong

Two Phase Commit - Prerequisites

Two Phase Commit - Phase 1

Two Phase Commit - Phase 2

Two Phase Commit - Recovery