CS582 - Database Management Systems (Slides and Classnotes)
Week
1-2
3
4-5
6
7
8-10
12
13-14
15
16
Project
XML-XSL
Week 1-2: (1/16/05 - 1/22/05)
-
Chapter 6 - Query Languages I: Relational Algebra and SQL.
Slides in PDF (from the new book) or
PPT format.
- My most up-to-date note on the subject is here (in PDF).
-
Warm-Up Homework 1: Given the set of relations
Product, PC, Laptop, Printer (detailed on hand-out) in class.
- Write a relational expression to find all manufacturers
who produce a least two different computers (PC or Laptop)
with speeds of at least 133.
- Write a relational expression to find all manufacturers
who produce the fastest computers (PC or Laptop).
- Here is the solution for HW1.
Week 3: (1/23/05 - 1/30/05)
-
Chapter 14 - An Overview of Query Optimization.
Slides in PDF (from the new book) or
PPT format.
Another set of slides from the authors:
Chapter 14 with its accompany figure
Figures.
- You might also want to review the basics of query processing
(part of CS482). Here are the
slides for this topic in PDF or
PPT format.
-
My note in PDF
- Homework 2 is here: Exercise 14.5 (page 447), Due: Thursday Feb 3,
11:59pm
Exercise 14.5: Consider the following query
SELECT DISTINCT E.NAME
FROM EMPLOYEE E
WHERE E.TITLE = 'Programmer' AND E.DEPT = 'Prodiction'
Assume that
- 10% of employees are programmers
- 5% of employees are programmers who work for the production
department
- There are 10 departments
- The EMPLOYEE relation has 1000 pages with 10 tuple per page
- There is a 51 buffer that can be used to process the query
Find the best query execution plan for each of the following cases:
- The only index is on Title, and it is clustered 2-level B+ tree
- The only index is on the attribute sequence Dept, Title, Name;
it is clustered and has two levels
- The only index is on Dept, Ename, Title; it is a clustered
3-level B+ tree
- There is an unclustered hash index on Dept and a 2 level
clustered tree index on Ename
Note: The EMPLOYEE relation has the following
attributes: Dept, Ename, and Title.
-
Solution for this homework is now available in two pieces:
text and picture.
Week 4-5: (2/1/05 - 2/15/05)
- Topics for the two weeks: complete chapter 14; begin with
Chapter 16 - Object Databases
.
-
Slides in PDF (from the new book) or
PPT format, with the figures
in PPT.
-
Homework 3: Exercise 16.7 (Due 2/14/05, 11:59pm):
solution
Week 6: (2/15/05 - 2/22/05)
- Test 1: here is the text of Test 1
- CORBA
Week 7: (2/22/05 - 2/28/05)
- CORBA
- Chapter 17: XML and Web Data. Slides in PPT
or PDF
Week 8-10: (3/1/05 - 3/18/05)
- Chapter 17: XML and Web Data. Slides in PPT
or PDF
-
Homework 4: Exercise 17.4 and 17.5 (Due 3/9/05, 11:59pm):
solution
- Midterm 2 (3/17/2005) with solution
-
Solutions for some exercises
Week 11: (3/19/05 - 3/26/05) HAPPY SPRING BREAK
Week 12-13: (3/28/05 - 4/05/05)
- Chapter 18: Distributed Databases. Slides in
PPT
or PDF
- Homework 5: 18.7 and 18.14 - Due 4/11/2005 (11:59pm).
Solution for homework 5
Week 13-14: (4/05/05 - 4/16/05)
- Chapter 19: OLAP and Data Mining. Slides in
PPT
or PDF
- Slides on data warehouse in PPT
or PDF
Week 15: (4/17/05 - 4/23/05)
- Deductive database: slides in
PPT
or PDF
- My note on deductive database
- Homework 6: Exercises 19.3 and 19.13 (Chapter 19). Due on Monday 25, 11:59pm
- Here is the answer for this homework.
Week 16: (4/24/05 - 4/31/05)
- My note on grade and material for the final.
Last modified: Thu Apr 28 09:16:10 Mountain Standard Time 2005