Introduction Instructor: Elke A. Rundensteiner

Slides:



Advertisements
Similar presentations
1 Introduction to Database Systems CSE444 Instructor: Scott Vandenberg University of Washington Winter 2000.
Advertisements

Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chapter 1 Instructor: Mirsad Hadzikadic.
Chapter 1 Instructor: Murali Mani Database Management Systems.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 Introduction to Database Systems Chapter 1 Instructor: Wang-Chien Lee
IiWAS2002, Bandung, Indonesia Teaching and Learning Databases Dr. Stéphane Bressan National University of Singapore.
Mani-CS34311 CS3431 – Database Systems I Introduction Instructor: Murali Mani
Rundensteiner-CS34311 CS3431 – Database Systems I Introduction Instructor: Elke A. Rundensteiner
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1 Instructor: Deborah Strahman
Murali Mani CS3431 – Database Systems I Introduction.
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 1 Database Systems I Introduction.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1.
1 Introduction to Database Systems Ref. Ramakrishnan & Gehrke Chapter 1.
1 CENG 302 Introduction to Database Management Systems Nihan Kesim Çiçekli URL:
ECE 569 Database System EngineeringFall 2004 ECE 569 Database System Engineering Fall 2004 Yanyong Zhang:
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1 Instructor: Ethan Jackson
CSCD34 - Data Management Systems,- A. Vaisman1 CSC D34 - Data Management Systems Instructor: Alejandro Vaisman University of Toronto.
Introduction. 
Database Management Systems 1 Introduction to Database Systems Instructor: Xintao Wu Ramakrishnan & Gehrke.
Course Introduction Introduction to Databases Instructor: Joe Bockhorst University of Wisconsin - Milwaukee.
CS6530 Graduate-level Database Systems Prof. Feifei Li.
 DATABASE DATABASE  DATABASE ENVIRONMENT DATABASE ENVIRONMENT  WHY STUDY DATABASE WHY STUDY DATABASE  DBMS & ITS FUNCTIONS DBMS & ITS FUNCTIONS 
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chpt 1 Instructor: Xintao Wu.
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chpt 1 Instructor: Weichao Wang.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1 Overview of Database Systems.
Database Organization and Design
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
INFS614, Dr. Brodsky, GMU1 Database Management Systems INFS 614 Instructor: Professor Alex Brodsky
Introduction to Database Systems1. 2 Basic Definitions Mini-world Some part of the real world about which data is stored in a database. Data Known facts.
1 CS3431 – Database Systems I Introduction Instructor: Mohamed Eltabakh
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
1 What Is a DBMS?  A very large, integrated collection of data.  Models real-world enterprise.  Entities (e.g., students, courses)  Relationships (e.g.,
Rundensteiner-CS34311 CS3431 – Database Systems I Introduction Instructor: Elke A. Rundensteiner
1 CS851 Data Services in Advanced System Applications Sang H. Son
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
1 CS462- Database Systems Sang H. Son
CS3431: C-Term CS3431 – Database Systems I Introduction Instructor: Mohamed Eltabakh
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1.
1 CENG 351 CENG 351 Introduction to Data Management and File Structures Department of Computer Engineering METU.
1 Introduction to Data Management Lecture #1 (Course “Trailer”) Instructor: Chen Li.
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chpt 1 Instructor: Xin Zhang.
1 Database Management Systems Introduction Instructor: Oliver Schulte
COP Introduction to Database Structures
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Database Systems Chapter 1
CS4222 Principles of Database System
Outline Types of Databases and Database Applications Basic Definitions
Introduction to Database Systems
Introduction Instructor: Mohamed Eltabakh
Instructor: Elke Rundensteiner
Database Management Systems Chapter 1
Introduction to Database Systems
Overview of Database Systems Chpt 1
Instructor: Murali Mani
Database Management Systems Chapter 1
Introduction to Database Management System
Database Management Systems
Database Management Systems CSE594
Introduction to DBMS Purpose of Database Systems View of Data
Database management concepts
Sang H. Son CS6750: Database Systems The slides for this text are organized into chapters. This lecture covers Chapter 1. Chapter 1: Introduction.
Introduction to Database Systems
Introduction Instructor: Mohamed Eltabakh
Terms: Data: Database: Database Management System: INTRODUCTION
Database Management Systems Chapter 1
Database Dr. Roueida Mohammed.
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.
Data Independence Applications insulated from how data is structured and stored. Logical data independence: Protection from changes in logical structure.
Database management systems
Introduction to Database Systems Chpt 1
Presentation transcript:

Introduction Instructor: Elke A. Rundensteiner rundenst@cs.wpi.edu CS3431 – Database Systems I Introduction Instructor: Elke A. Rundensteiner rundenst@cs.wpi.edu Rundensteiner-CS3431

What is a Database System? a large collection of related data usually too large to fit in computer memory at once usually many users want to access this data and do so fast Focus: information and knowledge, rather than computation Rundensteiner-CS3431

Database Applications Have you ever used a database application? E-commerce: books etc at Amazon, B&N Banks -- your valuable $$ and ATM transactions Airlines – manage flights to get you places Universities – manage student enrollment GIS (Maps) – find restaurants closest to WPI WWW (World Wide Web) – blobs, wikis, etc. Bio-informatics (genome data) ? Data sets increasing in diversity and volume are everywhere !!! Rundensteiner-CS3431

Why use DBMS, and not files? Data independence (robustness under change) Efficient access even on huge data sets Reduced application development time Data integrity ensures consistency of data even with multiple users Recovery from crashes, security, etc. Rundensteiner-CS3431

Basic Terminology Data Model: Data Schema: Database : A collection of “types” used for describing data Data Schema: Describes structures for a particular application, using the given model Database : Collection of actual data that conforms to given schema Database Management System : Software that allows us to create, use and maintain a database (conforming to given model). Rundensteiner-CS3431

Relational Data Models The relational model of data The most widely used model today. Main concept: relation, basically a table with rows and columns. Every relation has a schema, which describes the columns, or fields. Rundensteiner-CS3431 5

Example Database : Relational Tabular View of Data: Airline System flightNo start destination miles 101 BOS LAX 3000 102 PVD 2900 Flight pName ffNumber DoB milesEarned Joe 1001 1980 12000 Mary 1002 1981 11000 Passenger flightNo ffNumber date 101 1001 Jan 4 102 1002 Jan 5 FlewIn Tabular view of data is called Relational Model Rundensteiner-CS3431

Levels of Abstraction External schema (view) --describes how users see the data Logical schema – describes the logical structures used Physical schema -- describes files and indexes Rundensteiner-CS3431

Levels of Abstraction: Example Logical (Conceptual) Schema: Flight, Passenger, FlewIn tables Physical Schema Flight table stored as a sorted file Index on flightNo attribute for Flight relation Views ( External Schema ) NoOfPassengers (flightNo, date, numPassengers) Rundensteiner-CS3431

Data Independence Applications insulated from how data is structured and stored. Logical data independence: Logical schema can change, but views need not change Protection from changes in logical structure of data. Physical data independence: Protection from changes in physical structure of data. Physical schema such as indexes can change, but logical schema need not change. Rundensteiner-CS3431

Efficient access Indexing : Costing : Query optimization : Indexes gives direct access to “necessary” portion of data, as opposed to sequential access in files. Costing : Estimate expected execution times Query optimization : Automatically determine and prepare optimal access plans for getting to the data Optimizer = “The Bread and Butter of a DBMS !” Rundensteiner-CS3431

Reduced application development time Higher level of data abstraction Queries are written in a high level language tailored for database applications Example Query: SELECT pname FROM Passengers WHERE flightNo = 101 Rundensteiner-CS3431

Data Integrity DBMS ensures data is consistent under concurrent access E.g.: multiple airline staff trying to reserve a seat for different customers. Concepts: Transactions – grouping multiple instructions (reads/writes) into one atomic unit Locks – locking of resources (tables) Rundensteiner-CS3431

Recovery from Crashes If system crashes in middle of transaction, recovery must be provided : Cannot afford to loose data Ideas: logging, commit/rollback of transactions Rundensteiner-CS3431

Who use databases? End users DB application programmers Database Administrators Database design Security, Authorization Data availability, crash recovery Database tuning (for performance) Rundensteiner-CS3431

Summary : Why study DBMS? Need to process large amounts of data increasing Video, WWW, computer games, geographic information systems (GIS), genome data, digital libraries, etc. DB administrators and programmers hold rewarding jobs. DBMS research is one of the most exciting areas in Computer Science !! Rundensteiner-CS3431