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 . washington . edu

OH:  Thursdays @ 3:30pm (Zoom)

Anna Kuznetsova (Head TA)

She/her pronouns, avk5@cs

OH: Mondays @ 5pm (Allen 5th Floor Breakout)

Ron Pechuk

He/him pronouns, rpechuk@cs

OH: Wednesdays @ 4:30pm (Allen 2nd Floor Breakout)

Eden Chmielewski 

She/her pronouns, edenski@cs

OH: Mondays @ 3:00pm (Zoom)

David Cao

He/him pronouns, zc84@cs

OH: Tuesdays @ 4pm (Allen 3rd Floor Breakout) 


Jessica Wang

She/her pronouns, jwang717@cs

OH: Wednesdays @ 2pm (Allen 5th Floor Breakout)

Jiacheng Wu

He/him pronouns, jcwu22@cs 

OH: Thursdays @ 1:30pm (Allen 5th Floor Breakout)

Aagney Iyer

He/him pronouns, aagney@cs

OH: Fridays @ 3:30pm (Gates 150)

 



Office Hour Schedule

Calendar

See Canvas (under Panopto tab)  for lecture recordings

Date

Slides

Reading

Week 1

Monday, January 6

Introduction (slides)

2.1-3

Wednesday, January 8

SQL Basics (slides)

6.1 - 6.2

Friday, January 10

SQL Joins (slides , demo_setup, solutions)

6.1 - 6.2

Week 2

Monday, January 13

SQL Joins (cont.)

Wednesday, January 15

SQL Aggregates (slides)

6.4

Friday, January 17

SQL Joins and Aggregates (slides)

6.4

Week 3

Monday, January 20

NO CLASS (Holiday)

6.3

Wednesday, January 22

SQL Sub-queries  (slides)


6.3


Friday, January 24

SQL Sub-queries continued


6.3


Week 4

Monday, January 27


Relational Algebra (slides)

5.2, 5.4 

Wednesday, January 29

Database Design - ER Diagrams (slides)

2.1

Friday, January 31

Database Design - ER Diagrams cont.

2.1

Week 5

Monday, February 3

Database Design - Functional Dependencies (slides)

2.2, 2.3

Wednesday, February 5

Database Design - BCNF Decomposition (slides

3.4, 3.5, 3.6 

Friday, February 7

BCNF Decomposition cont.
Transactions - Serializability (slides)

Week 6

Monday, February 10

Transactions - Serializability cont.

18.1, 18.2

Wednesday, February 12

Transactions - Locking (slides)

18.1, 18.2

Friday, February 14

Transactions - Locking cont.

18.3

Week 7

Monday, February 17

NO CLASS (Holiday)

Wednesday, February 19

Transactions - Isolation Levels (slides)

8.3-4, 14.1-7

Friday, February 21

Cost estimation (slides)

8.3-4, 14.1-7

Week 8

Monday, February 24

Cost estimation cont.
Tuning and Indexing (slides)


Wednesday, February 26

Tuning and Indexing cont.


8.3-4, 14.1-7

Friday, February 28

Tuning and Indexing cont.

Week 9

Monday, March 3

Parallel Databases Intro (slides)

20.1

Wednesday, March 5

Parallel Databases (cont.)

Friday, March 7

Parallel Databases (cont.)

MapReduce and Spark (slides)

Week 10

Monday, March 10

Semi-structured Data (slides)

Wednesday, March 12

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


Friday, March 14

SQL++ wrap up (slides)
Course Wrap-up (slides)

Section

Time Slots


Materials

Section 1, January 9th: Demo, AD Slides, AA Slides, AB/BB Slides, AE/BE Slides

Section 2, January 16th: Worksheet, Solutions, AB/BB Slides, AD Slides, AA Slides

Section 3, January 23rd: Worksheet, Solutions, AA Slides, AB/BB Slides, AC/AD Slides

Assignments

Exams

There will be two take-home 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