Top Banner
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing
27

Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Fundamentals, Design, and Implementation, 9/e

Chapter 1Introduction to Database Processing

Page 2: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/2 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Agenda

Roll Call Introduction WebCT Overview Syllabus Review Introduction To Database

Processinging

Page 3: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/3 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

INSTRUCTOR

Tony Gauvin, Assistant Professor of E-Commerce

Contact info– 216 Nadeau– [email protected]– (207) 834-7519 or ext 7519– WebCT (Tony Gauvin COS 125)

Page 4: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/4 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Instructional Philosophy

Out-Come based education Would rather discuss than lecture

– Requires student preparation

Hate grading assignments– Especially LATE assignments

Use class interaction, assignments, quizzes and projects to determine if outcomes are met.

Page 5: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/5 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

COS 346 Survival Primer

Read Material BEFORE the class discussion Check WebCT Often Use the additional resources identified in syllabus ASK questions about what you didn’t understand

in readings DON’T do assignments and projects at last

minute. REVEIW lectures and notes Seek HELP if you are having difficulties OFFER feedback and suggestions to the

instructor in a constructive manner

Page 6: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/6 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Computer Accounts

Computer login – Sys admin

• Pete Cyr (x7547) or Art Drolet (x7809)

– Applications MSDN Academic Alliance

– Free Stuff– See Dr Ray Albert

Access Cards– $10 deposit– See Lisa Fournier

Page 7: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/7 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

WebCT

http://webct.umfk.maine.edu Login

– First name. Last Name– John Doe John.Doe– Initial password is webct

Help with WebCT available from Blake Library staff

All quizzes and assignments will be administered from WebCT

Page 8: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/8 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Syllabus review

Requirements Grading Course outline Special Notes Subject to change

Page 9: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/9 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Using List (Spread sheet) as a Database

Page 10: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/10 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Why Use A Database?

The purpose of a database is to help people and organizations keep track of things

Problems of using list to store data– Data inconsistencies– Data privacy: The departments want to share some,

but not all, of their data

Databases store data in single-theme tables Tables are related through primary and foreign

keys

Page 11: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/11 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Database instead of List

Page 12: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/12 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Components of A Database System

Page 13: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/13 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Application Programs

Functions: – Create and process forms– Create and transmit queries– Create and process reports– Execute application logic– Control application

Page 14: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/14 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

DBMS

DBMS: Database Management System Functions:

– Create database, tables, and supporting structures– Read and update database data– Maintain database structures– Enforce rules– Control concurrency– Provide security– Perform backup and recovery

Example: Oracle, DB2, Microsoft Access, SQL Server

Page 15: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/15 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Database

Database is a self-describing collection of related records or tables

Components: – User Data– Metadata: data about the structure of a database – Indexes and related structures– Stored procedures: program modules stored within the

database– Triggers: a procedure that is executed when a particular

data activity occurs– Application metadata: data describing application

elements such as forms and reports

Page 16: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/16 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Types of Database

Personal database– 1 user; < 10 MB

Workgroup database– < 25 users; < 100 MB

Organizational database– Hundreds to thousands users– >1 Trillion bytes, possibly several

databases

Page 17: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/17 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Example: Organizational Database

Page 18: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/18 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Building a Database System

3 Phases Requirements phase: a data model is developed

– Data model is a logical representation of the database structure

Design phase: the data model is transformed into tables and relationships

Implementation phase: – Tables, relationships, and constraints are created– Stored procedures and triggers are written– The database is filled and systems are tested

Database and its applications will be modified (through these same three phases) to meet new requirements

Page 19: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/19 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Example: Data Model

Page 20: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/20 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Application Development Application development proceeds in

parallel with database development

Page 21: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/21 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

History of Database Processing

Page 22: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/22 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Early Database Models

Before mid-1960s, only sequential file processing using magnetic tape was possible

In mid-1960s, disk storage enabled hierarchical and network database – IBM’s DL/I (Data Language One)– CODAYSL’s DBTG (Data Base Task Group)

model the basis of current DBMSs

Page 23: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/23 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

The Relational Model

E.F. Codd introduced the relational model in 1970

DB2 from IBM is the first DBMS product based on the relational model

Other DBMS based on the relational model were developed in the late 1980s

Today, DB2, Oracle, and SQL Server are the most prominent commercial DBMS products based on the relational model

Page 24: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/24 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Personal Computer DBMS

The advent of microcomputer increases popularity of personal databases

Graphical User Interface (GUI) make it easy to use– Examples of early DBMS products:

dBase, R:base, and Paradox

Page 25: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/25 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Object Oriented DBMS (OODBMS) Object-oriented programming started in the

mid-1980s Goal of OODBMS is to store object-oriented

programming objects in a database without having to transform them into relational format

Object-relational DBMS products, such as Oracle 8i and 9i, allow both relational and object views of data on the same database

Currently, OODBMS have not been a commercial success due to high cost of relational to object-oriented transformation

Page 26: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/26 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

Recent History

Success story of the Microsoft Access – Microsoft Office suite and Windows integration– Easy-to-use and powerful personal DBMS

Internet database XML and database integration

Page 27: Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.

Chapter 1/27 Copyright © 2004

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. Kroenke

For next week

Read Chap 1 & 2 of DP text Complete FiredUp Project Questions

on page 25-27 of the text. Upload a word document with your answers into the assignment section of WebCT