CS 133: Databases

Fall 2019

Calendar

Important Dates:

Problem sets assigned each Thursday, due following Thursday.
Exceptions listed in calendar below.

Lab deadlines:

AssignedDue
Lab 1, Exercise 0 09-0309-11
Lab 1, Exercises 1-309-1209-19
Lab 1, Exercises 4-609-1909-25
 
Lab 2, Exercise 109-2610-02
Lab 2, Exercises 2-310-0310-09
Lab 2, Exercises 4-510-1010-16
 
Lab 3, Exercise 1-310-2410-30
Lab 3, Exercise 4-510-3111-06
 
Lab 4, Exercise 1-211-0711-13
Lab 4, Exercise 3-511-1411-20
 
Lab 511-2112-11

Lectures:

For reference materials, "DMS" refers to the textbook (Database Management Systems)

Lec Date Topic Reference Lecture slides Notes
1 09-03 Introduction, Relational model DMS Ch. 1, 3.1-3.2 PDF
2 09-05 Memory hierarchy, Disks, Buffer manager DMS Ch. 9.1, 9.3, 9.4 PDF
3 09-10 Files and records DMS Ch. 9.5-9.7 PDF
4 09-12 Intro to indexes DMS Ch. 8 PDF
5 09-17 Tree-based indexes DMS Ch 10PDF
09-19 No Class Shorter Pset out this week
6 09-24 Hash-based indexes DMS Ch. 11PDF
7 09-26 Relational algebra DMS Ch. 4.1-4.2 PDF
8 10-01 SQL DMS Ch. 5 PDF
9 10-03 SQL II DMS Ch. 5 PDF
10 10-08 Query Evaluation I DMS Ch. 12.2, 13.1-13.4 PDF
11 10-10 Query Evaluation II DMS 14.0-14.6 PDFNo problem set out, optional practice problems instead
12 10-15 Query Optimization I DMS 12.1, 12.4-12.5,15.1,15.3PDF
13 10-17 Midterm in class Content from lectures 1-11 No problem set out
10-22 Fall break -- no class
14 10-24 Query Optimization II DMS 15.2,15.4 PDF Shorter pset out this week
10-29 No class
15 10-31 Query Optimization III DMS 15.4-15.6 PDF
16 11-05 Transactions DMS 16.1-16.6, 17.1 PDF
17 11-07 Transactions II DMS 17.2-17.5 PDF
18 11-12 Transactions III DMS 17.6, 16.7 PDF
19 11-14 Recovery DMS 18.1-18.6 PDF
20 11-19 Database Design DMS 2.1-2.5,3.5 PDF
21 11-21 Database Design II DMS 19.1-19.3 PDF Pset out, due in two weeks (Dec. 5)
22 11-26 Database Design III DMS 19.4-19.7 PDF
11-28 Thanksgiving break -- no class
23 12-03Database Design: OO and XML DMS 23, 27.6-27.8, [3] PDF
24 12-05 Distributed and Parallel DBs DMS 22.1-22.3, 22.8, 22.10-22.12, 22.14.1 PDF
25 12-10 NoSQL References: [1], [2]
(skim only)
PDF
26 12-12 OLAP and data analytics DMS 25.1-25.5,25.7,25.9 PDFLast class!


[1] M. Stonebraker and R. Cattell. Ten Rules for Scalabale Performance in "Simple Operation" Datastores. Communications of the ACM, 2011.
[2] R. Cattell. Scalable SQL and NoSQL Data Stores. SIGMOD Record, 2011.
[3] M. Stonebraker. Object-Relational DBMS - The Next Wave. (white paper)