|
Instructor |
David Maier maier at cs dot pdx dot edu, 115-14 FAB. Note: Please put ‘cs589’ at the beginning of the subject line. |
|
Phone: |
503 725-2406 |
|
Class Meeting |
Tuesday/Thursday 10:00-11:20, FAB 150 |
|
Office Hours |
Tuesdays, 2p-3p, or by appointment You are welcome to ask questions by e-mail or phone. |
|
Week |
Date |
Topic |
Reading (will be refined) |
Slides; Quizzes (Tuesdays) |
HW Due |
|
Week 1 |
Jan. 4 |
Introduction: Relational Model, Relational Algebra |
Ch. 1: Intro, 1.1-1.8, 1.9.1-1.9.3 |
Lecture 1-1 |
|
|
Jan. 6 |
Tuple Relational Calculus |
Section 4.3.1 in Ramakrishnan and Gehrke (the CS 386/586 textbook); Ch. 3: Intro, 3.1, 3.2.1 |
|||
|
Week 2 |
Jan. 11 |
Domain Relational Calculus |
Ch. 3: 3.2.2 |
||
|
Jan. 13 |
Introduction to Datalog |
Ch. 3: 3.2.3, 3.3 |
|
||
|
Week 3 |
Jan. 18 |
Domain Independence, Safety; Equivalence of Relational Query Languages |
Ch. 3: 3.4, 3.5, 3.6, 3.6.1-4, 3.6.7 (through Def. 3.70), 3.6.11 (through Example 3.7), 3.6.14 (through Thm. 3.67) |
||
|
Jan. 20 |
Dependencies and Inference |
Homework 1 (rev2) assigned |
|||
|
Week 4 |
Jan. 25 |
Dependencies and Inference |
Ch. 5: 5.1-5.4, 5.5 (first few pages). |
||
|
Jan. 27 |
Dependencies and Inference (cont.) |
Homework 1 due |
|||
|
Homework 2 assigned |
|||||
|
Week 5 |
Feb. 1 |
Null Values
|
Ch. 3: 3.6.5, 3.6.6, |
|
|
|
Feb. 3 |
Null Values (cont.) |
Ch. 4: 4.1 (review), 4.2, 4.3, 4.4 (through BCNF), 4.6.1 |
Homework 2 due |
||
|
Week 6 |
Feb. 8 |
Normal Forms and Synthesis |
|||
|
Feb. 10 |
FIRST EXAM |
Material from |
|||
|
Week 7 |
Feb. 15 |
Algebraic Equivalences and Optimization |
Surajit Chaudhuri An overview of query optimization in relational systems (You may need to be in a pdx.edu domain to download this.) [Also see Ch. 15 of Ramakrishnan and Gehrke.] Cesar Galindo-Legaria, Milind Joshi Orthogonal Optimization of Subqueries and Aggregation |
||
|
Feb. 17 |
|||||
|
Week 8 |
Feb. 22 |
Algebraic Equivalences and Optimization (cont.) |
Ch. 9: Intro, 9.1 |
|
|
|
Feb. 24 |
Homework 3 assigned |
||||
|
Week 9 |
Mar. 1 |
Semantics of Datalog with Recursion and Negation |
Ch. 9: Intro, 9.1 Francois Bancilhon, Raghu Ramakrishnan An Amateur’s Guide to Recursive Query Processing through Section 3.2. |
||
|
assigned |
|||||
|
Mar. 3 |
Homework 3 due |
||||
|
Week 10 |
Mar. 8 |
Evaluation and Application of Datalog |
Badrish Chandramouli, Jonathan
Goldstein, David Maier On-the-fly
Progress Detection in Iterative Stream Queries |
||
|
Mar. 10 |
Homework 4 due |
||||
|
Finals Week |
Tues. Mar. 15 10:15 – 12:05 |
Second EXAM Material from Feb. 3 to Mar. 10 |
|||
The e-mail list for this class is cs589@cs.pdx.edu. It will be used for announcements from the instructor. You can also send questions and answers to this mail list. You can subscribe to the list at https://mailhost.cecs.pdx.edu/mailman/listinfo/cs589. Please sign up with multiple e-mail addresses, if you use more than one e-mail address for your PSU class work. (This should make it easier for you to post message to the list from your various accounts.)
This course covers the foundations of database systems, with a focus on data models and query languages. It will show how formal methods are applied to issues in database design and processing. Topics may include query formalisms and their equivalence, query transformation, semi-structured data models, dependencies and normal forms, logic and deductive databases, data language complexity, treatment of incomplete information, complex-value models, semantic models and classification, and temporal databases.
Prerequisite: CS 386 or equivalent
REQUIRED:
A Guided Tour of
Relational Databases and Beyond. By Mark Levine and
George Loizu, Springer, 1999, ISBN 1-85233-088-2.
NOTE:
You will be asked to read one section for the CS386/586 Textbook, Database Management Systems, 3rd Edition. By Raghu Ramakrishnan and Johannes Gehrke, McGraw Hill, 2000, ISBN 0-07-246563-8. You may already own the book or be able to borrow it from someone who has taken the class at PSU.
It is okay to do the reading after the lecture where the material is covered, but you should certainly complete it before the next week’s quiz.
433 Smith Memorial Student Union
503-725-4422
conduct@pdx.edu
[Excerpt from the 2008-2009 PSU Catalog, page 29]
The policies of the University governing the rights, freedoms, responsibilities, and conduct of students are set forth in the Portland State University Code of Student Conduct and Responsibility, which has been issued by the president under authority of the Administrative Rules of the Oregon State Board of Higher Education. The code governing academic honesty is part of the Code of Student Conduct and Responsibility. Students may consult these documents in the Office of Student Affairs, 433 Smith Memorial Student Union or by visiting www.pdx.edu/dos/conduct.html. Observance of these rules, policies, and procedures helps the University to operate in a climate of free inquiry and expression and assists it in protecting its academic environment and educational purpose.
Academic honesty is a cornerstone of any meaningful education and a reflection of each student’s maturity and integrity. The Code of Student Conduct and Responsibility, which applies to all students, prohibits all forms of academic cheating, fraud, and dishonesty. These acts include, but are not limited to, plagiarism, buying and selling of course assignments and research papers, performing academic assignments (including tests and examinations) for other persons, unauthorized disclosure and receipt of academic information, and other practices commonly understood to be academically dishonest.