CSE 232A Graduate Database Systems
1
CSE 232A Graduate Database Systems Fall 2019 Arun Kumar 1 About - - PowerPoint PPT Presentation
CSE 232A Graduate Database Systems Fall 2019 Arun Kumar 1 About Myself 2009: Bachelors in CSE from IIT Madras Summers: 110F! 200916: MS and PhD in CS from UW-Madison PhD thesis area: Data systems for ML workloads Winters: 40F!
1
Summers: 110F! Winters: —40F! Ahh! :)
2
3
5
6
7
8
9
10
11
12
Analysis
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Week Topic 0-1 Introduction; Data Storage (Disks; Files; New Hardware) 2-3 Indexing (B+ Tree; Hash Indexes; Learned Indexes); Sorting 3-4 Relational Operator Implementations; Query Processing 4 Midterm Exam 1 on Friday, 10/25 5-6 Query Optimization; Materialized Views 6-7 Parallel RDBMSs; Dataflow Systems; Cloud RDBMSs 7-8 Data Systems for ML Workloads 9 Midterm Exam 2 on Monday, 11/25 9-10 Data Integration and Cleaning; Semi-Structured Data 10 More ML for RDBMSs; Recap 11 Final Exam on Friday, 12/13
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
RatingID NumStars Timestamp UserID MovieID 1 3.5 08/27/15 79 20 2 4.0 07/20/15 80 20 3 2.5 08/02/14 79 16 4 4.5 03/05/14 80 16
RatingID NumStars RateDate UserID MovieID 1 3.5 08/27/15 79 20 2 4.0 07/20/15 80 20 3 2.5 08/02/14 79 16 4 4.5 03/05/14 80 16
57
58
59
UserID Name Age JoinDate 79 Alice 23 01/10/13 80 Bob 41 05/10/13 MovieID Name ReleaseYear Director 20 Inception 2010 Christopher Nolan 16 Avatar 2009 Jim Cameron
UserID U.Name Age JoinDate MovieID M.Name Release Year Director 79 Alice 23 01/10/13 20 Inception 2010 Christopher Nolan 79 Alice 23 01/10/13 16 Avatar 2009 Jim Cameron 80 Bob 41 05/10/13 20 Inception 2010 Christopher Nolan 80 Bob 41 05/10/13 16 Avatar 2009 Jim Cameron
60
61
62
63
64
65
RatingID NumStars Timestamp UserID MovieID 1 3.5 08/27/15 79 20 2 4.0 07/20/15 80 20 3 2.5 08/02/14 79 16
RatingID NumStars Timestamp UserID MovieID 3 2.5 08/02/14 79 16 4 4.5 03/05/14 80 16 5 5.0 06/09/13 135 20
RatingID NumStars Timestamp UserID MovieID 1 3.5 08/27/15 79 20 2 4.0 07/20/15 80 20
66
67
68
69
RatingID NumStars Timestamp UserID MovieID 1 3.5 08/27/15 79 20 2 4.0 07/20/15 80 20 3 2.5 08/02/14 79 16
RatingID NumStars Timestamp UserID MovieID 3 2.5 08/02/14 79 16 4 4.5 03/05/14 80 16 5 5.0 06/09/13 135 20
RatingID NumStars Timestamp UserID MovieID 3 2.5 08/02/14 79 16
70
71
72
73
Rating ID NumS tars Timesta mp UserI D MovieI D Name Release Year Director 1 3.5 08/27/15 79 20 Inception 2010 Christopher Nolan 2 4.0 07/20/15 80 20 Inception 2010 Christopher Nolan 3 2.5 08/02/14 79 16 Avatar 2009 Jim Cameron 4 4.5 03/05/14 80 16 Avatar 2009 Jim Cameron
74
75
76
77
78
79
UserI D UNa me Ag e JoinDat e RatingI D NumSta rs Timesta mp MovieI D Name ReleaseY Ear Directo r
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
MovieID Name Year Director 20 Inception 2010 Christopher Nolan 16 Avatar 2009 Jim Cameron 53 Gravity 2013 Alfonso Cuaron 74 Blue Jasmine 2013 Woody Allen Year 2010 2009 2013 2013
96
MovieID Name Year Director 20 Inception 2010 Christopher Nolan 16 Avatar 2009 Jim Cameron 53 Gravity 2013 Alfonso Cuaron 74 Blue Jasmine 2013 Woody Allen Year 2010 2009 2013
97
MovieID Name Year Director 20 Inception 2010 Christopher Nolan 16 Avatar 2009 Jim Cameron 53 Gravity 2013 Alfonso Cuaron 74 Blue Jasmine 2013 Woody Allen
98
99
100
101
MovieID Name Year Director 20 Inception 2010 Christopher Nolan 16 Avatar 2009 Jim Cameron 53 Gravity 2013 Alfonso Cuaron 74 Blue Jasmine 2013 Woody Allen Name Gravity Blue Jasmine
Name Blue Jasmine Gravity
102
MovieID Name Year Director 20 Inception 2010 Christopher Nolan 16 Avatar 2009 Jim Cameron 53 Gravity 2013 Alfonso Cuaron 74 Blue Jasmine 2013 Woody Allen
Year Inception Gravity Blue Jasmine
103
104
105
106
107
108
109
110
111
RatingID Stars UserID MovieID 1 3.5 79 42 2 4.0 80 20 3 2.5 79 53 4 4.5 123 42
MovieID AvgRating 20 4.0 42 4.0 53 2.5
112
113
114
115
116
117
118
119
120
121
122
MID Name Year Director 20 Inception 2010 Christopher Nolan 42 Life of Pi 2012 Ang Lee 53 Gravity 2013 Alfonso Cuaron RID Stars UID MID 1 3.5 79 42 2 4.0 80 20 3 2.5 79 53 4 4.5 123 42 R
UID 79 UID 79 123
123
UID 79 123 UID 79 UID 79 123
UID 79 123 UID 79 UID 79 79 123
124
MID Name Year Director 20 Inception 2010 Christopher Nolan 42 Life of Pi 2012 Ang Lee 53 Gravity 2013 Alfonso Cuaron RID Stars UID MID 1 3.5 79 42 2 4.0 80 20 3 2.5 79 53 4 4.5 123 42 R
UID 79 UID 79 123 UID 79
125
MID Name Year Director 20 Inception 2010 Christopher Nolan 42 Life of Pi 2012 Ang Lee 53 Gravity 2013 Alfonso Cuaron RID Stars UID MID 1 3.5 79 42 2 4.0 80 20 3 2.5 79 53 4 4.5 123 42 R
UID 79 UID 79 123 UID 123
126
UID 79 79 79 123 123 80 UID 79 123 123 92
UID 79 79 79 79 123 123 123 123 80 92
127
UID 79 79 79 123 123 80 UID 79 123 123 92
UID 79 79 80
128
UID 79 79 79 123 123 80 UID 79 123 123 92
UID 79 123 123