DOC PREVIEW
UW CSE 444 - Lecture Notes

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

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 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 15 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 15 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 15 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 15 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Introduction to Database Systems CSE 444StaffCommunicationsTextbook(s)RequirementsReal Business: Why use a DBMS?Functionality of a DBMSBuilding an Application with a Database SystemSchema Design and ImplementationQuerying a DatabaseDatabase IndustryThe Study of DBMSCourse (Rough) OutlineOutline (Continued)Introduction to Database SystemsCSE 444Lecture #1September, 28 1998StafInstructor: Alon LevySieg, Room 310, [email protected] Office hours: Wednesday 3-4pm (or by appointment) TA: Aung ThaungSieg 233, [email protected]Office hours: TBACommunicationsWeb page: http://www.cs.washington.edu/education/courses/cse444/Mailing list: send email to majordomo@cs saying: subscribe cse444Textbook(s)A First Course in Database Systemsby Jef Ullman and Jennifer WidomOther useful textbooks:Database Management Systems (Ramakrishnan) [very comprehensive]Fundamentals of Database Systems (Elmasri and Navathe) [very widely used]Foundations of Databases (Abiteboul, Hull and Vianu) [Mostly theory of databases]RequirementsPrerequisites: Data structures course (CSE-326 or equivalent).Work & Grading:Homework 25%Project: 30% -- separate dedicated overview.Midterm: 15%Final: 30%Real Business: Why use a DBMS?Suppose we are building a system to store the information pertaining to the university. Several questions arise:how do we store the data? (file organization, etc.)how do we query the data? (write programs…)make sure that updates to mess things up?Provide diferent views on the data? (registrar versus students)how do we deal with crashes?Way too complicated! Go buy a database system!Functionality of a DBMSStorage managementAbstract data modelHigh level query and data manipulation languageEfficient query processingTransaction processingResiliency: recovery from crashesDiferent views of the data, securityInterface with programming languagesBuilding an Application with a Database SystemRequirements modeling (conceptual, pictures)Decide what entities should be part of the application and how they should be linked.Schema design and implementationDecide on a set of tables, attributesDefine the tables in the database system.Populate database (insert tuples).Write application programs using the DBMSway easier now that the data management is taken care of.addressname fieldProfessorAdvisesTakesTeachesCourseStudentname categoryquarternamessnConceptual ModelingSchema Design and ImplementationTable StudentsSeparates the logical view from the physical view of the data.Student Course QuarterCharles CS 444 Fall, 1997Dan CS 142 Winter,1998… … …Querying a DatabaseFind all the students who have taken CSE444 in Fall, 1997.S(tructured) Q(uery) L(anguage)select E.namefrom Enroll Ewhere E.course=CS444 and  E.quarter=“Fall, 1997”Query processor figures out how to answer the query efficiently.Database IndustryRelational databases are a great success of theoretical ideas.“Big 3” DBMS companies are among the largest software companies in the world. IBM (with DB2) and Microsoft (SQL Server, Microsoft Access) are also important players.$20B industryChallenged by object oriented DBMS.The Study of DBMSSeveral aspects:Modeling and design of databasesDatabase programming: querying and update operationsDatabase implementationDBMS study cuts across many fields of Computer Science: OS, languages, AI, Logic, multimedia, theory...Course (Rough) OutlineDatabase design:Entity Relationship diagramsODL (object-oriented design language)Modeling constraintsThe relational model:Relational algebraTransforming E/R models to relational schemasOutline (Continued)SQL (“intergalactic dataspeak”) Views and triggers (in SQL)RecursionObject Query LanguageConcepts of data storageConcepts of query optimizationConcepts of transaction processingAdvanced


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?