Introduction to Database Systems CSE 444

Slides:



Advertisements
Similar presentations
1 Introduction to Database Systems CSE 444 Lecture #1 January 6, 2003 Guest Lecturer: Prof. Dan Suciu (Alon will explain when he returns)
Advertisements

Introduction to Database Systems Ch. 1, Ch. 2 Mr. John Ortiz Dept. of Computer Science University of Texas at San Antonio.
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
Mani-CS34311 CS3431 – Database Systems I Logistics Instructor: Murali Mani
Introduction to Database Systems CSE 444 Lecture #1 January 5th, 1998.
1 CENG 302 Introduction to Database Management Systems Nihan Kesim Çiçekli URL:
1 ICS 223: Transaction Processing and Distributed Data Management Winter 2008 Professor Sharad Mehrotra Information and Computer Science University of.
CSE 636 Data Integration Introduction. 2 Staff Instructor: Dr. Michalis Petropoulos Location: 210 Bell Hall Office Hours:
Databases and Database Management System. 2 Goals comprehensive introduction to –the design of databases –database transaction processing –the use of.
...Looking back Why use a DBMS? How to design a database? How to query a database? How does a DBMS work?
Rundensteiner-CS34311 CS3431 – Database Systems I Logistics Instructor: Elke A. Rundensteiner
Database Management Systems CSE 594 Lecture #1 April 4 th, 2002.
1 Introduction to Database Systems CSE 444 Lecture #1 January 5, 2004 Alon Halevy.
1 Database Systems Lecture #1. 2 Staff Lecturer: Yael Amsterdamer – –Schreiber, Databases lab, M-20, –Office.
1 Introduction to Database Systems CSE 444 Lecture #1 March 31, 2008.
1 Introduction to Database Systems CSE 444 Lecture #1 January 3, 2005.
1 Database Systems Lecture #1. 2 Staff Instructor: Tova Milo – –Schreiber, Room 314, –Office hours: See.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
CSC2012 Database Technology & CSC2513 Database Systems.
The Worlds of Database Systems Chapter 1. Database Management Systems (DBMS) DBMS: Powerful tool for creating and managing large amounts of data efficiently.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) Introduction James Wang.
CS461: Principles and Internals of Database Systems Instructor: Ying Cai Department of Computer Science Iowa State University Office:
Introduction to Database Systems Fundamental Concepts Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
Database Management Systems CSE 590DB Introduction March 30, 1998.
CSE544 Introduction Monday, March 29, Staff Instructor: Dan Suciu –CSE 662, –Office hours: Tuesday, 1-2pm. TA: Nilesh Dalvi.
Introduction to Database Systems CSE 444 Lecture #1 September,
CS 541 Lecture Slides Sunil Prabhakar CS541 Database Systems.
Introduction to Query Optimization, R. Ramakrishnan and J. Gehrke 1 Introduction to Query Optimization Chapter 13.
Fall CSE330/CIS550: Introduction to Database Management Systems Prof. Susan Davidson Office: 278 Moore Office hours: TTh
Database Management Systems.  Instructor: Yrd. Doç. Dr. Cengiz Örencik   Course material.
1 Introduction to Database Systems CSE 444 Lecture #1 September 26, 2007.
Advanced Databases COMP3017 Dr Nicholas Gibbins
CSE202 : Fundamentals of Database Systems Vikram Goyal Indraprastha Institute of Information Technology, Delhi (IIIT-D), India FROM : Slides from CSE202.
Introduction to CSCI 242 Compiled by S. Zhang 1. Syllabus Syllabus has the most updated information! –Use the information on the syllabus for the grading.
CS3431-B111 CS3431 – Database Systems I Logistics Instructor: Mohamed Eltabakh
Introduction to Database Systems CSE 444 Lecture #1 September,
CS522 Advanced database Systems Huiping Guo Department of Computer Science California State University, Los Angeles Course administration.
Database Systems Lecture #1.
Advanced Databases COMP3211
Fundamental of Database Systems
Database Systems Lecture #1.
CS4222 Principles of Database System
Course Overview - Database Systems
Introduction to Database Systems CSE 444
CS 440 Database Management Systems
Database Management Systems
CS 245: Database System Principles Notes 01: Introduction
CS422 Principles of Database Systems Course Overview
Database Systems Lecture #1.
Conceptual Database Design
Introduction to Query Optimization
Translation of ER-diagram into Relational Schema
Examples of Physical Query Plan Alternatives
Principles of Database Management Systems CSE 544
SQL: The Query Language Part 1
CSE544 Lecture 1: Introduction
Introduction to Database Systems CSE 444
Introduction to Database Management Systems
Database Management Systems CSE594
Introduction to Database Systems CSE 444
Introduction to Database Systems CSE 444
Introduction to Database Systems CSE 444
Syllabus Introduction Website Management Systems
Introduction to Database Systems
Data Management and Information Processing
Introduction to Database Systems CSE 444
Lecture 1: Overview of CSCI 485 Notes: I presented parts of this lecture as a keynote at Educator’s Symposium of OOPSLA Shahram Ghandeharizadeh Director.
Lecture 1: Overview of CSCI 485 Notes: I presented parts of this lecture as a keynote at Educator’s Symposium of OOPSLA Shahram Ghandeharizadeh Associate.
Presentation transcript:

Introduction to Database Systems CSE 444 Lecture #1 September, 27 1999

Staff Instructor: Alon Levy TA: Rachel Pottinger Sieg, Room 310, alon@cs.washington.edu Office hours: Wednesday 2:30-3:30 (or by appointment) TA: Rachel Pottinger Sieg 226b, rap@cs.washington.edu Office hours: Tuesday 2-3, Thursday 1:30 - 2:30 or by appointment

Communications Web page: http://www.cs.washington.edu/444/ Mailing list: send email to majordomo@cs saying: subscribe cse444

Textbook(s) A First Course in Database Systems Database Implementation by Jeff Ullman and Jennifer Widom Database Implementation by Hector Garcia-Molina, Jeff Ullman and Jennifer Widom Available in a shrink-wrapped package at the book store (not available in that form for non-students).

Other Texts 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] Available, on reserve, in the library.

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 don’t mess things up? Provide different 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 Different views of the data, security Interface with programming languages

Building 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.

Conceptual Modeling name category name ssn Takes Course Student quarter Advises Teaches Professor name field address

Schema Design and Implementation Table Students Separates the logical view from the physical view of the data.

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.

Query Optimization Goal: Declarative SQL query Imperative query execution plan: Reserves Sailors sid=sid bid=100 rating > 5 sname (Simple Nested Loops) SELECT S.sname FROM Reserves R, Sailors S WHERE R.sid=S.sid AND R.bid=100 AND S.rating>5 Plan: Tree of Relational Algebra operators, with a choice of algorithm implementation for each operator Ideally: Want to find best plan. Practically: Avoid worst plans!

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 schemas

Outline (Continued) SQL (“intergalactic dataspeak”) Views and triggers Recursive queries and datalog Object-oriented features Storage and indexing Query optimization Ttransaction processing and recovery Advanced topics:data integration, XML

Structure Prerequisites: Data structures course (CSE-326 or equivalent). Work & Grading: Homework 25%: 6 of them, some light programming. Project: 30% - see below. Midterm: 15% Final: 25% Intangibles: 5%

The Project Goal: design end-to-end database application. Work in groups of 3-4 (start forming now). Choose topic on your own. Some service projects available. Timetable for project milestones. Be creative! Start soon!!