Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 Chapter 1 THE WORLDS OF DATABASE SYSTEMS 1.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

CMPT 354 Database Systems I Spring 2012 Instructor: Hassan Khosravi.
Introduction to Databases
计算机学院 数据库系统原理 1 Introduction to Databases 杨宁 1/23.
Introduction to Databases
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Introduction to Databases Transparencies
Chapter 1 INTRODUCTION TO DATABASE.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction n Why Database Systems? n Data Models n Data Definition Language.
CPSC-608 Database Systems Fall 2010 Instructor: Jianer Chen Office: HRBB 315C Phone: Notes 1.
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
Chapter 1 Introduction to Databases
Database Management Systems (DBMS)
Introduction to Databases
Database Systems Chapter 1 The Worlds of Database Systems.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
Introduction to DBMS Purpose of Database Systems View of Data
Chapter 1: Introduction to DBMS & Databases. Database Management System (DBMS) What is a DBMS? What are some examples of Database Applications?
Relational Database M S
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Introduction. 
The Worlds of Database Systems Chapter 1. Database Management Systems (DBMS) DBMS: Powerful tool for creating and managing large amounts of data efficiently.
Module Title? DBMS Introduction to Database Management System.
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
Introduction to Database Systems
Components of Database Management System
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Introduction to Database Management Systems. Information Instructor: Csilla Farkas Office: Swearingen 3A43 Office Hours: Monday, Wednesday 4:15 pm – 5:30.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
Introduction to Database Management Systems. Information Instructor: Csilla Farkas Office: Swearingen 3A43 Office Hours: M,T,W,Th,F 2:30 pm – 3:30 pm,
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
The Worlds of Database Systems From: Ch. 1 of A First Course in Database Systems, by J. D. Pullman and H. Widom.
Introduction to Database Systems CIS 4301 Lecture Notes 1/10/2006.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Introduction to Database Management Systems. Information Instructor: Csilla Farkas Office: Swearingen 3A43 Office Hours: Monday, Wednesday 2:30 pm – 3:30.
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.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
DATABASE MANAGEMENT SYSTEM By: YAMINI TRIPATHI. INTRODUCTION Consists - Collection of interrelated data - Set of programs to access those data Definition.
Database Concepts Track 3: Managing Information using Database.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
CSC 370 – Database Systems Introduction Instructor: Alex Thomo.
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Chapter 1: Introduction. 1.2 Database Management System (DBMS) DBMS contains information about a particular enterprise Collection of interrelated data.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Database System Concepts Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction.
Database Management Systems By Dinesha L Lecturer, Dept. Of CSE SSIT, Tumkur Chapter-1.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Introduction to Databases Transparencies
CPSC-310 Database Systems
CS 325 Spring ‘09 Chapter 1 Goals:
Introduction to DBMS Purpose of Database Systems View of Data
Chapter 1: Introduction
Introduction to Databases Transparencies
Introduction to Databases
THE WORLDS OF DATABASE SYSTEMS
Introduction What is a Database?.
Introduction to Databases
Introduction to Database Systems
1.1 The Evolution of Database Systems
Introduction to Databases
Introduction to Database Management Systems
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Databases
Introduction to Databases Transparencies
Chapter 1: Introduction
Chapter 1: Introduction
Presentation transcript:

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 Chapter 1 THE WORLDS OF DATABASE SYSTEMS 1

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 The Worlds of Database Systems 1.1 The Evolution of Database Systems 1.2 Overview of a Database Management System 1.3 Outline of Database-System Studies 1.L4 Big Data- Reading material 1.4 References for Chapter 1 2

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 The Worlds of Database Systems 1) Databases are involved with almost every business in the world. 2) Almost any website has a database behind the scene that serving up the information you request. 3) Big Data on the Clouds 3

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 The Worlds of Database Systems 3) Corporations maintain all their important records in databases. 4) The power of databases comes from a powerful software that has developed over several decades and is called a Database Management System or DBMS. 5) Big Data on the Clouds See the reading material 4

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 THE EVOLUTION OF DATABASE SYSTEMS Section 1.1 5

Dr. T. Y. Lin | SJSU | CS 157A | Fall The Evolution of Database Systems What is a database? What is a database? Database is a collection of information that exists over a long period of time, even many years. Database is a collection of information that exists over a long period of time, even many years. (TYLIN: when it starts, it never ends until dies) The term database refers to a collection of data that is managed by a DBMS. The term database refers to a collection of data that is managed by a DBMS. What the DBMS's do? What the DBMS's do? 6

Dr. T. Y. Lin | SJSU | CS 157A | Fall The Evolution of Database Systems (cont'd) A DBMS is expected to: A DBMS is expected to: 1. Allow users to create new databases by declaring the logical structure of the data (schema) using a specialized language called Data Definition Language (DDL). 2. Give users the ability to query (a question about the data) the data, modify the data using a specialized language called Data Manipulation Language (DML). 3. Support the storage of huge amount of data using very efficient access methods. 7

Dr. T. Y. Lin | SJSU | CS 157A | Fall The Evolution of Database Systems (cont'd) A DBMS is expected to: (cont'd) A DBMS is expected to: (cont'd) 4. Enable durability, the recovery of the data in the case of failures. 5. Control access to data from many users concurrently without any unexpected interactions (called isolation) 8

Dr. T. Y. Lin | SJSU | CS 157A | Fall The Evolution of Database Systems Early Database Management Systems Relational Database Systems Smaller and Smaller Systems Bigger and Bigger Systems Information Integration 9

Dr. T. Y. Lin | SJSU | CS 157A | Fall Early Database Management Systems The first DBMS's appeared in the late 1960's. The first DBMS's appeared in the late 1960's. These systems evolved from file systems that could just store large amount of data over a long period of time. These systems evolved from file systems that could just store large amount of data over a long period of time. They did not support the requirements we counted in previous slides. They did not support the requirements we counted in previous slides. 10

Dr. T. Y. Lin | SJSU | CS 157A | Fall Early Database Management Systems (cont'd) The first important applications of DBMS's are: The first important applications of DBMS's are: Banking systems Banking systems Airline reservation systems Airline reservation systems Corporate record keeping Corporate record keeping The early DBMS's used several different data models like 'hierarchical' or tree-based model and 'network' or graph-based model. The early DBMS's used several different data models like 'hierarchical' or tree-based model and 'network' or graph-based model. These early DBMS's did not support a high- level query language. These early DBMS's did not support a high- level query language. 11

Dr. T. Y. Lin | SJSU | CS 157A | Fall Relational Database Systems Relational Model (RM) was born in 1970 by a famous paper written by Ted Codd. Relational Model (RM) was born in 1970 by a famous paper written by Ted Codd. TYLin: David Hsiao Column based RM Codd proposed a new two dimensional (table) organization of data, which in pure mathematics is called relation. Codd proposed a new two dimensional (table) organization of data, which in pure mathematics is called relation. 12

Dr. T. Y. Lin | SJSU | CS 157A | Fall Relational Database Systems In this new model, the programmers were not involved with the storage structure. In this new model, the programmers were not involved with the storage structure. Queries could be expressed in a very high-level language. Queries could be expressed in a very high-level language. By 1990, relational database systems were the norm. By 1990, relational database systems were the norm. 13

Dr. T. Y. Lin | SJSU | CS 157A | Fall Smaller and Smaller Systems Originally, DBMS's were large, expensive software running on large computers. Originally, DBMS's were large, expensive software running on large computers. The size was necessary because storing a gigabyte of data required a large computer. The size was necessary because storing a gigabyte of data required a large computer. But today, hundreds of gigabytes fit on a single disk and we can put it on a laptop! But today, hundreds of gigabytes fit on a single disk and we can put it on a laptop! 14

Dr. T. Y. Lin | SJSU | CS 157A | Fall Smaller and Smaller Systems Another important trend (may not be there any more) is the use of documents using XML (eXtensible Modeling Language). Another important trend (may not be there any more) is the use of documents using XML (eXtensible Modeling Language). (In CS267) Large collections of small documents can serve as a database, and methods of querying and manipulating them are different. (In CS267) Large collections of small documents can serve as a database, and methods of querying and manipulating them are different. 15

Dr. T. Y. Lin | SJSU | CS 157A | Fall Bigger and Bigger Systems A gigabyte is not much data anymore! A gigabyte is not much data anymore! Corporate routinely use terabytes(10 12 bytes) and petabytes (10 15 bytes) of data storage. Here are some examples: Corporate routinely use terabytes(10 12 bytes) and petabytes (10 15 bytes) of data storage. Here are some examples: Google holds petabytes of data for its crawler of the Web. Google holds petabytes of data for its crawler of the Web. Satellites send down petabytes of information. Satellites send down petabytes of information. Amazon keeps millions of products' picture and info. Amazon keeps millions of products' picture and info. YouTube keeps millions of movies. YouTube keeps millions of movies. And so forth...! And so forth...! 16

Dr. T. Y. Lin | SJSU | CS 157A | Fall Information Integration Consider a large company with many divisions. Consider a large company with many divisions. Each division has its own database for its products and employees independent of other divisions. Each division has its own database for its products and employees independent of other divisions. How can we integrate the information? How can we integrate the information? 17

Dr. T. Y. Lin | SJSU | CS 157A | Fall Information Integration One popular approach is the creation of data warehousing where information from many legacy databases is copied periodically. One popular approach is the creation of data warehousing where information from many legacy databases is copied periodically. Another approach is the implementation of a middleware to integrate and translate data. Another approach is the implementation of a middleware to integrate and translate data. 18

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 OVERVIEW OF A DATABASE MANAGEMENT SYSTEM Section

Dr. T. Y. Lin | SJSU | CS 157A | Fall Overview of a Database Management System Data-Definition Language Commands Overview of Query Processing Storage and Buffer Management Transaction Processing The Query Processor 20

Dr. T. Y. Lin | SJSU | CS 157A | Fall Data-Definition Language Commands 21

Dr. T. Y. Lin | SJSU | CS 157A | Fall Overview of Query Processing 22

Dr. T. Y. Lin | SJSU | CS 157A | Fall Storage and Buffer Management 23

Dr. T. Y. Lin | SJSU | CS 157A | Fall Transaction Processing 24

Dr. T. Y. Lin | SJSU | CS 157A | Fall The Query Processor 25

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 OUTLINE OF DATABASE-SYSTEM STUDIES Section

Dr. T. Y. Lin | SJSU | CS 157A | Fall Outline of Database-System Studies 27

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 REFERENCES FOR CHAPTER 1 Section

Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 References for Chapter 1 29