Chat with us on the course Piazza site if you have any questions!
The course is not flipped- instead we're introducing iPython notebooks to allow for more interaction. Please see this post on the class Piazza for setup instructions. Python is used in both the projects and in some course handouts.
The reading material listed below is optional, but it refers to Database Systems: The Complete Book by Garcia-Molina, Ullman, and Widom. The lecture plan below may change.
Note that there are four types of lecture material below:
|#||Date||Topic||Lecture Materials||Extra Reading Material||Assignments|
|Introduction and Querying|
|1||9/22||Course Logistics and Database History||
Activities: 1, 2
Notebook data: dataset_1.db
|Greenspun- SQL for web nerds||PS #1:|
|3||9/29||SQL: Advanced||Ch. 6|
|Database Design and Normal Forms|
|4||10/1||Database Design: ER Diagrams||
Activity Solutions (pdf)
|Ch. 2||Project Part 1||5||10/6||Database Design: Theory 1||
|Ch. 3.2-3.7||PS #1 Due|
|6||10/8||Guest Lecture: Manpreet Singh (Google), Google Ads Infrastructure: Challenges in building Big Data Systems|
|7||10/13||Database Design: Theory 2||PS #2:|
|8||10/15||Transactions from a User's Perspective||
|Ch. 8.6||Project Part 1 Due|
|9||10/20||Mechanisms for Transactions: Logging and Locking||Ch. 18.1-18.4|
|10||10/22||Midterm Review||Midterm Review Slides (pdf)||PS #2 Due|
|Introduction to Database Internals|
|12||10/29||IO Cost Models and External Sort||
Lecture 12 (
|Ch. 11.4||Project Part 2|
Lecture 13 (
|14||11/5||Access Methods and Operators||
Lecture 14-15 (
|Ch. 15 (except 15.9)|
|15||11/10||Joins: A Cage Match||Ch. 2 and 16.3||
Project Part 2 Due
Project Part 3
Lecture 16 (
|Ch. 2 and 16.3|
Lecture 17 (
|18||11/19||Guest Lecture: 10 Years of Hadoop from a Cofounder||PS #3 Due|
|Thanksgiving Break: 11/23-11/27|
|19||12/1||Research Talk: Dark Data and Analytics Systems||
Lecture 19 (
|Wrap up and Final|
|20||12/3||Final Exam Review||
Final Review Lecture (
Project Part 3 Due
Unless otherwise specified in the staff section below, office hours will be held in the open area of the Huang basement. CAs will bring signs to identify themselves. Please see the staff section below for office hours.
Note: the schedule of office hours may change from time to time, in which case an announcement will be made on the course Piazza.
|Ari Nubar Ekmekji|
We encourage you to discuss the Programming Projects and Problem Sets with other students; it's fine to discuss overall strategy and collaborate with a partner or in a small group, as both giving and receiving advice will help you to learn.
However, for the Programming Projects, you must write your own code: it's not OK to share code or write code collaboratively. (This includes posting and/or sharing your code publicly, such as on GitHub!) Likewise, for the Problem Sets, you must write up your own solutions to all of the problems, and you must cite all people you worked with. If you do not do so, we will consider this a violation of the Stanford Honor Code.
If you consult any resources outside of the materials provided in class, you must cite these sources. We reserve the right to assign a penalty if your answers are substantially derivative, but, as long as you provide appropriate citations, we will not consider this an Honor Code violation.