CSE 414 - Introduction to Database Systems

Description: In this course, we will introduce the basics of modern data management. You will learn about schema design, data modeling, query languages, building database applications, transactions, and many other topics. Through lectures, sections, and assignments, you will learn about and understand how real-world data management systems work, and how they touch upon many aspects of our daily lives.

Questions and Comments: If you have any questions or comments about lecture, sections, assignments, exams, or whatever, post on the discussion board. This is the fastest way to get in contact with the 414 staff and your peers. If you need to talk about anything personal or offline, see us during office hours or email the instructor (maas @ cs.washington.edu) to set up a meeting. And we love feedback! If you have any concerns, comments, or suggestions let us know through this anonymous feedback tool.

For additional details about the class, please refer to the syllabus.

Ryan Maas (instructor)

He/him pronouns, maas@cs

OH:  Thursday 12:00pm 1:00pm (zoom)

Eden Chmielewski (head TA)

She/her pronouns, edenski@cs

OH: Monday 1:20 - 2:20pm (zoom)

Ananya Bajaj

She/her pronouns, ananya27@uw

OH: Wednesday 1:00 - 2:00 pm @ Gates Center Room 152 

Winston Bullen

He/him pronouns, wbullen@cs

OH: Monday 3:00 - 4:00pm @ CSE1 5th Floor Breakout

Ananya Ganapathi

She/her pronouns, gananya1@cs

OH: Tuesday 12:30 - 1:30pm @ CSE2 Room 152 

Allison Gu

She/her pronouns, alligu@uw

OH: Friday 12:30 - 1:30pm (zoom)

Vidisha Gupta

She/her pronouns, vidisha@cs

OH: Tuesday 1:30 - 2:30 pm @ CSE2 Room 152 

Hongyi Ji

She/her pronouns, hji14@cs

OH: Monday 10:00 - 11:00am @ CSE1 3rd Floor Breakout

Hayoung Jung

He/him pronouns, hjung10@cs

OH: Wednesday 11:30 - 12:30pm @ CSE1 2nd Floor Breakout

Rohith Leeladharan

He/him pronouns, rohithl@cs

OH: Thursday 2:00pm - 3:00pm @ CSE1 4th Floor Breakout

Madrona Maling

She/her pronouns, mkmaling@uw

OH: Monday 3:00 - 4:00pm (zoom)

Qirui Wang

He/him pronouns, qw43@cs

OH: Tuesday 10:00 - 11:00am @ CSE1 5th Floor Breakout

Saleh Wehelie

He/him pronouns,  swehelie@uw

OH: Friday 1:30 - 2:30pm  (zoom)

Emi Yoshikawa

She/her pronouns, emiyosh@cs

OH: Monday 1:30 - 2:30pm @ CSE1 220 TA Office

Calendar

See Canvas (under Panopto tab)  for lecture recordings

Date

Slides

Reading

Week 1

Wednesday, September 27

Introduction (slides)

2.1-3

Friday, September 29

SQL Basics (slides)

6.1 - 6.2

Week 2

Monday, October 2

SQL Joins (slides , demo_setup, solutions)

6.1 - 6.2

Wednesday, October 4

SQL Joins (cont.)

Friday, October 6

SQL Aggregates (slides)

6.4

Week 3

Monday, October 9

SQL Joins and Aggregates (slides)

6.4

Wednesday, October 11

SQL Sub-queries (slides)

6.3

Friday, October  13

SQL Sub-queries part two 


6.3


Week 4

Monday, October 16

Relational Algebra (slides)

5.2, 5.4 

Wednesday, October 18 

Database Design - ER Diagrams (slides)

2.1

Friday, October 20

Database Design - ER Diagrams cont.

2.1

Week 5

Monday, October 23

Database Design - Functional Dependencies (slides)

2.2, 2.3

Wednesday, October 25 

Database Design - BCNF Decomposition (slides

3.4, 3.5, 3.6 

Friday,  October 27

BCNF Decomposition cont.

Week 6

Monday, October 30

Transactions - Serializability (slides)

18.1, 18.2

WednesdayNovember 1

Transactions - Locking (slides)

18.1, 18.2

FridayNovember 3

Transactions - Locking cont.

18.3

Week 7

Monday, November 6

Transactions - Isolation Levels (slides)

Wednesday, November 8

Cost estimation (slides)

8.3-4, 14.1-7

Friday, November 10

No class (holiday)

Week 8

Monday, November 13

Cost estimation (slides)

8.3-4, 14.1-7

Wednesday, November 15

Tuning and Indexing (slides)


8.3-4, 14.1-7

Friday, November 17

Parallel Databases Intro (slides)

20.1

Week 9

Monday, November 20

Parallel Databases cont.

HW6 Notes (slides)

Wednesday, November 22

No class (holiday)

Friday, November 24

No class (holiday)

Week 10

Monday, November 27

MapReduce and Spark (slides)

Wednesday, November 29

MapReduce and Spark (cont.)

Friday, December 1

Semi-structured Data (slides)

Week 11

Monday, December 4

Semi-structured Data cont. 
SQL++ (slides)

Wednesday, December 6

SQL++ (cont.) (more nesting)

Friday, December 8

Streaming Databases (slides)

Database Applications (BlinkDB slides)

Course Wrap-up (slides)

Section

Time Slots


Materials

Section 1, September 28th: slides, slides (CA), slides (CB), demo

Section 2, October 5th: slides (CA), slides (CB), worksheet, solutions

Section 3, October 12th: slides (CB)worksheet, solutions

Section 4, October 19th: slides (CA), slides (CB), worksheet, solutions

Section 5, October 26th: slides (CA), worksheet, solutions

Section 6, November 2nd: slides (CA), slides(CB), worksheet, solutions

Section 7, November 9th: slides (CA), worksheet, solutions

Section 8, November 16th: slides (CA), worksheet, solutions

Section 9, November 30th: Slides (CB), worksheet, solutions

Section 10, December 7th: Slides (CA), worksheet, solutions

Assignments


Exams

There will be two quizzes for this course. Both exams will be offered on Gradescope and can be taken at home.

Other Resources

Textbook

Database Systems: The Complete Book (2nd Edition) <errata>

The library has the following that you might find useful if you require another explanation of a topic.

Past Lecture Recordings (for UW students)

Look at the course webpage for a schedule of what topic was taught when. 

Related Groups

Down the Rabbit Hole