
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























Welcome to
CMPSCI 645 – Database Design & Implementation
UMass Amherst
Some slide content courtesy of Zack Ives, Ramakrishnan & Gehrke, Dan Suciu, Ullman & Widom
Databases & DBMS’s
collection of software designed to store and manage
databases, allowing:
No
The data model includes basic assumptions about what’s
an “item” of data, how to represent it and interpret it.
hidden from users
relations
Side-note: Turing Awards in Databases
1973: Bachman, networked data model
1981: Codd, relational model
1998: Jim Gray, transaction processing
Takes
name
sid
cid name
Teaches
semester
fid name
Designing a Schema (Set of
Relations)
constraints
“physical” design: the
layout on disk, indices,
etc.
sid name
1 Jill
2 Bo
3 Maya
fid name
1 Diao
2 Saul
8 Weems
sid cid
1 645
1 683
3 635
cid name sem
645 DB F
683 AI S
635 Arch F
fid cid
1 645
2 683
8 635
Takes
Teaches
Query execution plan:
SELECT C.name
FROM Students S, Takes T, Courses C
WHERE S.name=“Mary” and
S.sid = T.sid and T.cid = C.cid
Declarative SQL query
Students Takes
sid=sid
sname
name=“Mary”
cid=cid
Courses
The optimizer chooses the best execution plan for a query
Examples:
(large images, complex programs that analyze the data)
(some of it is stored in something resembling a DBMS)
Data management is expanding to tackle these
problems
Database Research