DOC PREVIEW
UW CSE 444 - Lecture Notes

This preview shows page 1-2-3-4-5-6 out of 18 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1Final ReviewFriday, December 8, 20062The Final• Date: Monday, December 11• Time: 8:30 – 10:20• Place: this room• Open book exam3Problem 1• Data modeling• Relational model• SQL,• XML4Data Modeling• E/R diagrams• Keys• Relationships• Inheritance• Mapping to relations5Relational Model• Relations• Keys• Functional dependencies• Decomposition• Normal forms6SQL• Select-from-where• Subqueries• Aggregation• Nulls• Outer joins7SQL (continued)• Database modification• Defining and modifying relation schemas• Constraints– On attribute values– Keys– Foreign keys8XML• Xquery/Xpath• XML syntax• DTD• From relations to XML• From XML to relations9Problem 2: Transactions• ACID properties• Recovery• Concurrency10Recovery• Undo log• Redo log• Undo/redo log11Concurrency control• Serializability• Conflict serializability• Locks• Timestamps• Validation12Problem 3: Operators• Indexes• Physical operators13Index Structures• Terminology:– Dense/sparse index– Primary/secondary index• B+-trees14Physical Operators• One-pass algorithms• Nested-loop joins• Two-pass algorithms based on sorting• Two-pass algorithms based on hash tables• Index-based algorithms15Problem 4: Optimizations• Algebra– Check that you know how to convert from SQL• Algebraic laws– Which of these expressions are equal ? What if we have keys/foreign keys ?• Dynamic programming• Pipelining• You should be able to discuss alternative choices of query plans16General Advice• Some problems will require thinking– Use judgment• Problem difficulty may be uneven:– do the easy ones first17Grading–Homework 30%–Project: 25%–Midterm: 15%–Final: 25%–Intangibles: 5%18COMMIT(The


View Full Document

UW CSE 444 - Lecture Notes

Documents in this Course
XML

XML

48 pages

SQL

SQL

25 pages

SQL

SQL

42 pages

Recovery

Recovery

30 pages

SQL

SQL

36 pages

Indexes

Indexes

35 pages

Security

Security

36 pages

Wrap-up

Wrap-up

6 pages

SQL

SQL

37 pages

More SQL

More SQL

48 pages

SQL

SQL

35 pages

XML

XML

46 pages

Triggers

Triggers

26 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?