introduction to databases -...

24
Introduction to Databases

Upload: dinhnhan

Post on 02-Feb-2018

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Introduction to Databases

Page 2: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Where Do We See Databases?

Page 3: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Where Do We See Databases?

Page 4: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Where Do We See Databases?

Page 5: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Where Do We See Databases?

Page 6: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Where Do We See Databases?

Page 7: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Databases: A Brief History

• The first general-purpose DBMS:

– Charles Bachman @ GE, 1960’s.

– Network model.

– Turing award.

• IBM: Information Management System

– 1960’s.

– Hierarchical model.

– Sabre and AA.

– Travelocity.

Page 8: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Databases: A Brief History

• Relational data model

– Edgar Codd @ IBM San Jose, 1970’s.

– Turing award.

• SQL language

– IBM, 1980.

– Current standard: SQL:1999.

Page 9: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Databases: A Brief History

• Various database management systems:

– DB2 (IBM).

– Oracle.

– UDS (Informix, now part of IBM).

– Sybase SQL server.

– Microsoft SQL server.

Page 10: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Databases: A Brief History

• Enterprise resources systems (ERP):

– Bann.

– Oracle.

– PeopleSoft.

– SAP.

– Siebel.

Page 11: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What Are Key Questions?

Page 12: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What Are Key Questions?

• What is a database?

• What is a database management system

(DBMS)?

• Why and when do we need a DBMS?

Page 13: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What Are Key Questions?

• How is data represented in DBMS?

• How is data retrieved and manipulated?

• How does DBMS support concurrent

access?

Page 14: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What Are Key Questions?

• How does DBMS protect data during crash?

• What are the main components of a DBMS?

• Who is involved with databases in real life?

Page 15: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database?

Page 16: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database?

• A collection of data describing objects and

their relationships.

Page 17: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database Management

System?

Page 18: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database Management

System?

• A DBMS is software designed to assist in

maintaining and utilizing large collection of

data.

Page 19: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database Management

System?

Page 20: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database Management

System?

Page 21: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database Management

System?

Page 22: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database Management

System?

Page 23: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

What is Database Management

System?

Page 24: Introduction to Databases - Classesclasses.engr.oregonstate.edu/eecs/fall2015/cs340-001/Lectures/... · –Turing award. •IBM: ... –Oracle. –PeopleSoft. –SAP. –Siebel

Questions?