CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Winter 2009 Lecture 1 - Class Introduction

Similar documents
CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Fall 2007 Lecture 1 - Class Introduction

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Spring 2006 Lecture 1 - Class Introduction

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2007 Lecture 5 - DBMS Architecture

Objectives of Lecture 1. Labs and TAs. Class and Office Hours. CMPUT 391: Introduction. Introduction

CSE 562 Database Systems

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World

Scope of this Course. Database System Environment. CSC 440 Database Management Systems Section 1

Logistics. Database Management Systems. Chapter 1. Project. Goals for This Course. Any Questions So Far? What This Course Cannot Do.

Introduction to Database Systems CS4320. Instructor: Christoph Koch CS

Introduction to Database Systems CS4320/CS5320. CS4320/4321: Introduction to Database Systems. CS4320/4321: Introduction to Database Systems

Objectives of Lecture 1. Class and Office Hours. Labs and TAs. CMPUT 391: Introduction. Introduction

CSE 412/598 Database Management Spring 2012 Semester Syllabus

1/20/11. Outline. Database Management Systems. Prerequisites. Staff and Contact Information. Course Web Site. 645: Database Design and Implementation

Ursuline College Accelerated Program

ICOM 6005 Database Management Systems Design. Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001

Where We Are. References. Cloud Computing. Levels of Service. Cloud Computing History. Introduction to Data Management CSE 344

Course Computer Science Academic year 2012/13 Subject Databases I ECTS 5

Chapter 3. Database Environment - Objectives. Multi-user DBMS Architectures. Teleprocessing. File-Server

Syllabus for Course : Database Systems Engineering at Kinneret College

CSE 132A. Database Systems Principles

Northeastern University Online College of Professional Studies Course Syllabus

CS 525 Advanced Database Organization - Spring 2013 Mon + Wed 3:15-4:30 PM, Room: Wishnick Hall 113

1 File Processing Systems

Rackspace Cloud Databases and Container-based Virtualization

Architecture and Implementation of Database Systems

Database Systems. Lecture 1: Introduction

FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2009 Lecture 15 - Data Warehousing: Cubes

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system

CS 4604: Introduc0on to Database Management Systems

Overview of Data Management

Introduction: Database management system

INTRODUCTION DATABASE MANAGEMENT SYSTEMS

One-Size-Fits-All: A DBMS Idea Whose Time has Come and Gone. Michael Stonebraker December, 2008

Chapter 2 Database System Concepts and Architecture

COMM 437 DATABASE DESIGN AND ADMINISTRATION

Architecture and Implementation of Database Management Systems

Database Architecture and Administration

Principles of Database. Management: Summary

Tier Architectures. Kathleen Durant CS 3200

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?

CSE 233. Database System Overview

Bryan Tuft Sr. Sales Consultant Global Embedded Business Unit

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2

ECS 165A: Introduction to Database Systems

Databases. DSIC. Academic Year

Transactions and the Internet

THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY

CSC-570 Introduction to Database Management Systems

Database Design and Programming

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

CS 564: DATABASE MANAGEMENT SYSTEMS

Cloud Based Application Architectures using Smart Computing

Introduction to Database Systems. Module 1, Lecture 1. Instructor: Raghu Ramakrishnan UW-Madison

CSCI-UA: Database Design & Web Implementation. Professor Evan Sandhaus sandhaus@cs.nyu.edu evan@nytimes.com

CASE STUDY: Oracle TimesTen In-Memory Database and Shared Disk HA Implementation at Instance level. -ORACLE TIMESTEN 11gR1

SAP HANA SAP s In-Memory Database. Dr. Martin Kittel, SAP HANA Development January 16, 2013

Introductory Concepts

ICS 434 Advanced Database Systems

Web-Based Database Applications ITP 300x (3 Units)

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Advanced Database Management MISM Course F A Fall 2014

9/26/2011. What is Virtualization? What are the different types of virtualization.

Getting Started with Attunity CloudBeam for Azure SQL Data Warehouse BYOL

Topics. Introduction to Database Management System. What Is a DBMS? DBMS Types

Database Management Systems. Chapter 1

HP OO 10.X - SiteScope Monitoring Templates

Database Management Systems

1.264 Lecture 15. SQL transactions, security, indexes

Overview. Introduction to Database Systems. Motivation... Motivation: how do we store lots of data?

Transforming Data Integration from "Create" to "Connect"

This paper defines as "Classical"

References. Introduction to Database Systems CSE 444. Motivation. Basic Features. Outline: Database in the Cloud. Outline

Introduction to Database Systems CSE 444

Database Extension 1.5 ez Publish Extension Manual

Introduction to Databases

Cloud Computing Is In Your Future

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: Run Time: 47+ hours (272 videos)

GLOSSARY OF TECHNICAL TERMS

Info Sys 422/722; ISyE 722. Computer Based Data Management. Fall, 2010

GLOSSARY OF TECHNICAL TERMS

Information Management

Chapter 18: Database System Architectures. Centralized Systems

The core theory of relational databases. Bibliography

IST659 Database Admin Concepts & Management Syllabus Spring Location: Time: Office Hours:

Data Warehousing. Jens Teubner, TU Dortmund Winter 2015/16. Jens Teubner Data Warehousing Winter 2015/16 1

COMP5138 Relational Database Management Systems. Databases are Everywhere!

ISM 4210: DATABASE MANAGEMENT

ORACLE DATABASE: ADMINISTRATION WORKSHOP I

Overview of Database Management

IST359 - INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

COS 480/580: Database Management Systems

CISC 432/CMPE 432/CISC 832 Advanced Database Systems

IST359 INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

Transcription:

CSE 544 Principles of Database Management Systems Magdalena Balazinska (magda) Winter 2009 Lecture 1 - Class Introduction

Outline Introductions Class overview What is the point of a db management system (DBMS)? Main DBMS features and DBMS architecture overview 2

Course Staff Instructor: Magda (magda@cs.washington.edu) Office hours by appointment Location: CSE 550 TA: Evan Welbourne (evan@cs.washington.edu) Graduate student in the database & ubicomp groups Office hours: Monday 12pm-1pm Wednesday 9:30am - 10:30am By appointment Location: CSE 405 3

Who is Magda? Assistant Professor since January 2006 PhD from MIT, February 2006 Areas of interest: databases and systems Current research focus Cloud computing Scientific data management RFID data management Stream processing 4

Goals of the Class Study principles of data management Data models, data independence, normalization Data integrity, availability, consistency, etc. Study key DBMS design issues Storage, query execution and optimization, transactions Distribution, parallel processing, massive data processing Data warehousing, streaming data, etc. Ensure that You are comfortable using a DBMS You can write applications that use a DBMS as a back-end You have an idea about how to build a DBMS You know a bit about current research topics in data management 5

Class Format Two lectures per week: MW @ 10:30am Mix of lecture and discussion Mostly based on papers Must read papers before lecture and submit paper review Come prepared to discuss the papers assigned for the class Class participation counts for a non-negligible part of your grade One guest lecture: David Lomet from Microsoft Research 6

Readings and Notes Readings are based on papers Mix of old seminal papers and new papers Papers available online on class website Many come from the red book [optional] Three types of readings Mandatory, additional resources, and optional Background readings from the following book Database Management Systems. Third Ed. Ramakrishnan and Gehrke. McGraw-Hill. [recommended] Lecture notes (the ppt slides) Posted on class website after each lecture 7

Class Resources Website: lectures, assignments, projects http://www.cs.washington.edu/544 List of all the deadlines Mailing list: cse544@cs.washington.edu Make sure you register! 8

Evaluation Class participation 10% Paper readings and discussions Paper reviews 5%: Individual Due before each lecture Reading questions are posted on class website Assignments 25%: Groups of two HW1: Using a DBMS (SQL, views, indexes, etc.) & writing apps HW2 & HW3: Building a simple DBMS Project 35%: Groups of two to four Small research or engineering. Start to think about it now! Final exam 25%: During finals week 9

Class Participation An important part of your grade Because We would like you to read and think about papers throughout the quarter Important to learn to discuss papers Expectations Ask questions, raise issues, think critically Learn to express your opinion Respect other people s opinions 10

Paper reviews Between 1/2 page and 1 page in length Summary of the main points of the paper Critical discussion of the paper Reading questions For some papers, we will post reading questions to help you figure out what to focus on when reading the paper Please address these questions in your reviews Grading: credit/no-credit You can skip one review without penalty MUST submit review BEFORE lecture Individual assignments (but feel free to discuss paper with others) 11

Assignments Goals: Hands-on experience using a DBMS and writing apps for DBMS Hands-on experience building a simple DBMS HW1: Check website for instructions and due date Setup a db from scratch Practice writing SQL queries & browse the system catalog Get experience with integrity constraints & triggers Play with indexes and views Writing an application that uses a db as a back-end HW2 & HW3: Build a simple DBMS We will accept late assignments with valid excuse 12

Project Overview Topic Choose from a list of mini-research topics Or come up with your own Can be related to your ongoing research Can be related to a project in another course Must be related to databases Must involve either research or significant engineering Open ended Final deliverables Short conference-style paper (8 pages) Conference-style presentation 13

Project Goals Apply database principles to a new problem Understand and model the problem Research and understand related work Propose some new approach Creativity will be evaluated Implement some parts Evaluate your solution Write-up and present your results Amount of work may vary widely between groups 14

Project Milestones Jan 19th: teams formed Feb 2nd: project proposal Feb 20th: milestone report March 11th: project presentations March 13 th : final project reports More details on the website, including ideas & examples We will meet with you regularly throughout the quarter 15

Let s get started What is a database? Give examples of databases 16

Let s get started What is a database? A collection of files storing related data Give examples of databases Accounts database; payroll database; UW s students database; Amazon s products database; airline reservation database 17

Data Management Data is valuable but hard and costly to manage Example: Store database Entities: employees, positions (ceo, manager, cashier), stores, products, sells, customers. Relationships: employee positions, staff of each store, inventory of each store. What operations do we want to perform on this data? What functionality do we need to manage this data? 18

Required Functionality 1. Describe real-world entities in terms of stored data 2. Create & persistently store large datasets 3. Efficiently query & update 1. Must handle complex questions about data 2. Must handle sophisticated updates 3. Performance matters 4. Change structure (e.g., add attributes) 5. Concurrency control: enable simultaneous updates 6. Crash recovery 7. Access control, security, integrity Difficult and costly to implement all these features 19

Database Management System A DBMS is a software system designed to provide data management services Examples of DBMS Oracle, DB2 (IBM), SQL Server (Microsoft), PostgreSQL, MySQL, 20

Market Shares In 2004 (from www.computerworld.com) IBM, 35% market with $2.5 billion in sales Oracle, 33% market with $2.3 billion in sales Microsoft, 19% market with $1.3 billion in sales 21

Typical System Architecture Two tier system or client-server connection (ODBC, JDBC) Data files Database server (someone else s C program) Applications 22

Main DBMS Features Data independence Data model Data definition language Data manipulation language Efficient data access Data integrity and security Data administration Concurrency control Crash recovery Reduced application development time How to decide what features should go into the DBMS? 23

A Quick Look Inside a DBMS Admission Control Connection Mgr Process Manager Parser Query Rewrite Optimizer Executor Query Processor Memory Mgr Disk Space Mgr Replication Services Admin Utilities Access Methods Buffer Manager Lock Manager Log Manager Storage Manager Shared Utilities [Anatomy of a Db System. J. Hellerstein & M. Stonebraker. Red Book. 4ed.] 24

When not to use a DBMS? DBMS is optimized for a certain workload Some applications may need A completely different data model Completely different operations A few time-critical operations Examples Text processing Scientific analysis 25

Preview for Next Lecture Levels of abstraction in a DBMS External Schema External Schema External Schema views access control Conceptual Schema Physical Schema Disk a.k.a logical schema describes stored data in terms of data model includes storage details file organization indexes 26