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



Similar documents
CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Winter 2009 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

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

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

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

CSE 562 Database Systems

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

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

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

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

Introduction: Database management system

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

CSE 132A. Database Systems Principles

FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS

1 File Processing 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

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

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

Database Systems. Lecture 1: Introduction

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

Architecture and Implementation of Database Systems

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

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

Overview of Data Management

Bryan Tuft Sr. Sales Consultant Global Embedded Business Unit

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

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

Chapter 2 Database System Concepts and Architecture

HP OO 10.X - SiteScope Monitoring Templates

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

Database Architecture and Administration

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

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

Tier Architectures. Kathleen Durant CS 3200

Principles of Database. Management: Summary

CSE 233. Database System Overview

Syllabus for Course : Database Systems Engineering at Kinneret College

Database Performance Monitoring and Tuning Using Intelligent Agent Assistants

DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2

ECS 165A: Introduction to Database Systems

Ursuline College Accelerated Program

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2007 Lecture 16 - Data Warehousing

Doing More with Less: The Economics of Open Source Database Adoption

CISC 432/CMPE 432/CISC 832 Advanced Database Systems

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

ICS 434 Advanced Database Systems

Northeastern University Online College of Professional Studies Course Syllabus

Architecture and Implementation of Database Management Systems

CS 4604: Introduc0on to Database Management Systems

Introductory Concepts

Information Management

Database Management Systems

Introduction to Databases

Database FAQs - SQL Server

Transactions and the Internet

Big Data Analytics Nokia

Database Management Systems. Chapter 1

Database Management. Chapter Objectives

Rackspace Cloud Databases and Container-based Virtualization

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

PaperClip Audit System Installation Guide

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

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

ORACLE DATABASE ADMINISTRATOR RESUME

Database Design and Programming

Oracle USF

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

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

DATABASE MANAGEMENT SYSTEM

CSC-570 Introduction to Database Management Systems

INTRODUCTION DATABASE MANAGEMENT SYSTEMS

COS 480/580: Database Management Systems

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

COMP5138 Relational Database Management Systems. Databases are Everywhere!

CS 564: DATABASE MANAGEMENT SYSTEMS

Introduction. AppDynamics for Databases Version Page 1

2015, André Melancia (Andy.PT) 1

Basic Concepts of Database Systems

Real-time Data Replication

Project Manager 1 Post == Experience years in Project Management in reputed company, Salary Rs.1,20,000/-

Cleveland State University

SOLUTION BRIEF. JUST THE FAQs: Moving Big Data with Bulk Load.

CSE 530A Database Management Systems. Introduction. Washington University Fall 2013

MS SQL Server DBA Training Course. Table of Contents

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

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

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

Introduction to Database Systems CSE 444

Setting up a database for multi-user access

This paper defines as "Classical"

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

Database Extension 1.5 ez Publish Extension Manual

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

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

Oracle Architecture, Concepts & Facilities

Transcription:

CSE 544 Principles of Database Management Systems Magdalena Balazinska (magda) Fall 2007 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

Course Staff Instructor: Magda magda@cs.washington.edu Office hours by appointment Location: cse 550 TA: Nodira Khoussainova Graduate student in the database group nodira@cs.washington.edu Office hours: Wednesday 11am-12pm Location: CSE 218

Who is Magda? Assistant Professor since January 2006 PhD from MIT, February 2006 Areas of interest: databases and systems Current research focus Stream processing & real-time monitoring RFID data managment

Current Research Projects RFID Ecosystem Tracking people and objects in the Paul Allen Center Data management sys. for RFID data & longitudinal studies StreamClean/PEEX Probabilistic RFID data cleaning Probabilistic event extraction Moirae Integrating history into monitoring systems Mobisensors Data management system for mobile sensor networks FlowDB Forensic analysis in network intrusion detection systems

Potential Class Disruption Yes, I am pregnant Due date: December 12th... 1 week after last lecture Last lecture: hard deadline for project presentations and reports So, hopefully, there should be no disruptions In case we don t quite make it If I don t show up for lecture, please wait 15 minutes, then assume the class is canceled. Check email for details. Nodira can lead the last few lectures We might have to reschedule the final presentations

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 Replication, distribution, streaming & sensor data Data warehousing, (automatic) database tuning, etc. Ensure that You are comfortable using a DBMS You can write (web-based) applications that use a DBMS as a back-end

Class Format Two lectures per week: MW @ 1:30pm Mix of lecture and discussion Mostly based on papers Must read papers before lecture Come prepared to discuss them One guest lecture: Surajit Chaudhuri From Microsoft Research Will talk about automatic database tuning

Readings and Notes Readings are based on papers Mix of old seminal papers and new papers Papers available online Many come from the red book Background readings from the following book Database Management Systems. Third Ed. Ramakrishnan and Gehrke. McGraw-Hill. Lecture notes (the ppt slides) Posted on the class website Available after each lecture

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!

Evaluation Class participation 15% Paper readings and discussions Paper reviews 20% Due by 10pm the night before the lecture Check class website for reading questions Assignments 20% HW1: Using a database (SQL, views, indexes, etc.) HW2: Writing a Web app with a db back-end Project 45% Small research project but you must start it now!

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

Paper reviews Between 1/2 page and 1 page in length Summary of the main points of the paper You can also add a discussion (your thoughts about 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

Assignments Goal: hands-on experience using a DBMS HW1. Due October 17th. Will soon be posted on website Setup a db from scratch Practice writing SQL queries Browse the system catalog Get experience with integrity constraints & triggers Play with indexes and views HW2. Due October 31st. Writing an application that uses a db as a back-end

Project Overview Choose from a list of mini-research topics Or come up with your own Can be related to your ongoing research Must be related to databases Must contain some element of research or significant engineering (there must be something novel) Open ended Final deliverables Short research paper (8 pages) Conference-style presentation

Project Goals Apply database principles to a new problem Understand and model the problem Research and understand related work (2-3 papers) 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

Project Milestones Oct 1st: teams formed Oct 10th: project proposal Nov 12th: milestone report Dec 5th: final report and project presentations More details on the website, including project ideas We will meet with you regularly throughout the quarter

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

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

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?

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

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,

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

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

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?

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

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

Preview for Next Week 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