Top Banner
Database Design, Application Development, and Administration, 5 th Edition Copyright © 2011 by Michael V. Mannino All rights reserved. Chapter 1 Introduction to Database Management
34

Chapter 1

Jan 04, 2016

Download

Documents

joan-gross

Chapter 1. Introduction to Database Management. Welcome!. Database technology: crucial to the operation and management of modern organizations Major transformation in computing skills Significant time commitment Exciting journey ahead. Book Goals. First course in database management - PowerPoint PPT Presentation
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: Chapter 1

Database Design, Application Development, and Administration, 5th Edition

Copyright © 2011 by Michael V. Mannino All rights reserved.

Chapter 1

Introduction to Database Management

Page 2: Chapter 1

Slide 2Chapter 1: Introduction to Database Management

Welcome! Database technology: crucial to the

operation and management of modern organizations

Major transformation in computing skills Significant time commitment Exciting journey ahead

Page 3: Chapter 1

Slide 3Chapter 1: Introduction to Database Management

Book Goals First course in database management Practical textbook

Fundamentals of relational databases Query formulation Data modeling, normalization, and physical design Database application development Database administration and database processing

environments

Detailed material

Page 4: Chapter 1

Slide 4Chapter 1: Introduction to Database Management

Outline Database characteristics DBMS features Architectures Organizational roles

Page 5: Chapter 1

Slide 5Chapter 1: Introduction to Database Management

Initial Vocabulary Data: raw facts about things and events Information: transformed data that has

value for decision making Essential to organize data for retrieval and

maintenance

Page 6: Chapter 1

Slide 6Chapter 1: Introduction to Database Management

Database Characteristics Persistent

Inter-related

Shared

Page 7: Chapter 1

Slide 7Chapter 1: Introduction to Database Management

University Database

University Database

Registration

GradeRecording

FacultyAssignment

CourseScheduling

Entities: students, faculty, courses, offerings, enrollmentsRelationships: faculty teach offerings, students enroll in offerings, offerings made of courses, ...

Page 8: Chapter 1

Slide 8Chapter 1: Introduction to Database Management

Water Utility Database

Billing

MeterReading

PaymentProcessing

Service Start/Stop

Entities :customers, meters, bills,payments, meter readingsRelationships :bills sent to customers,customers make payments,customers use meters, ...

Page 9: Chapter 1

Slide 9Chapter 1: Introduction to Database Management

Database Management System (DBMS) Collection of components that support

data acquisition, dissemination, storage, maintenance, retrieval, and formatting

Enterprise DBMSs Desktop DBMSs Embedded DBMSs Major part of information technology

infrastructure

Page 10: Chapter 1

Slide 10Chapter 1: Introduction to Database Management

Database Definition Define database structure before using a

database Tables and relationships SQL CREATE TABLE statement Graphical tools

Page 11: Chapter 1

Slide 11Chapter 1: Introduction to Database Management

University Database

Page 12: Chapter 1

Slide 12Chapter 1: Introduction to Database Management

Table Definition Window

Page 13: Chapter 1

Slide 13Chapter 1: Introduction to Database Management

Table Contents (Rows)

StdFirstName StdLastName StdCity StdState StdZip StdMajor StdClass StdGPA

HOMER WELLS SEATTLE WA 98121-1111 IS FR 3.00

BOB NORBERT BOTHELL WA 98011-2121 FIN JR 2.70

CANDY KENDALL TACOMA WA 99042-3321 ACCT JR 3.50

WALLY KENDALL SEATTLE WA 98123-1141 IS SR 2.80

JOE ESTRADA SEATTLE WA 98121-2333 FIN SR 3.20

MARIAH DODGE SEATTLE WA 98114-0021 IS JR 3.60

TESS DODGE REDMOND WA 98116-2344 ACCT SO 3.30

Page 14: Chapter 1

Slide 14Chapter 1: Introduction to Database Management

University Database (ERD)

StdNoStdClassStdMajorStdGPA

StudentOfferNoOffLocationOffTime

Offering

EnrGrade

Enrollment

Registers

Accepts

CourseNoCrsDescCrsUnits

Course

FacNoFacSalaryFacRankFacHireDate

Faculty

Has

Teaches

Supervises

Page 15: Chapter 1

Slide 15Chapter 1: Introduction to Database Management

Nonprocedural Access Query: request for data to answer a

question Indicate what parts of database to retrieve

not the procedural details Improve productivity and improve

accessibility SQL SELECT statement and graphical

tools

Page 16: Chapter 1

Slide 16Chapter 1: Introduction to Database Management

Graphical Tool for Nonprocedural Access

Page 17: Chapter 1

Slide 17Chapter 1: Introduction to Database Management

Application Development Form: formatted document for data entry

and display Report: formatted document for display Use nonprocedural access to specify data

requirements of forms and reports

Page 18: Chapter 1

Slide 18Chapter 1: Introduction to Database Management

Sample Data Entry Form

Page 19: Chapter 1

Slide 19Chapter 1: Introduction to Database Management

Sample Report

Page 20: Chapter 1

Slide 20Chapter 1: Introduction to Database Management

Procedural Language Interface Combine procedural language with

nonprocedural access Why

Batch processing Customization and automation Performance improvement

Page 21: Chapter 1

Slide 21Chapter 1: Introduction to Database Management

Transaction Processing Transaction: unit of work that should be

reliably processed Control simultaneous users Recover from failures

Page 22: Chapter 1

Slide 22Chapter 1: Introduction to Database Management

Database Technology Evolution

Era Generation Orientation Major Features

1960s 1st generation File File structures and proprietary program interfaces

1970s 2nd generation Network navigation

Networks and hierarchies of related records, standard program interfaces

1980s 3rd generation Relational Nonprocedural languages, optimization, transaction processing

1990s to 2000s

4th generation Object Multi-media, active, distributed processing, more powerful operators, data warehouse processing, XML enabled, cloud computing

Page 23: Chapter 1

Slide 23Chapter 1: Introduction to Database Management

DBMS Marketplace

Enterprise DBMS Oracle: dominates in Unix; strong in Windows SQL Server: strong in Windows DB2: strong in mainframe environment Teradata: usage as a data warehouse platform Significant open source DBMSs: MySQL, Progress,

Firebird, PostgreSQL, open source Ingres

Desktop DBMS Access: dominates FoxPro, Paradox, Approach, FileMaker Pro

Page 24: Chapter 1

Slide 24Chapter 1: Introduction to Database Management

Data Independence Software maintenance is a large part

(50%) of information system budgets Reduce impact of changes by separating

database description from applications Change database definition with minimal

effect on applications that use the database

Page 25: Chapter 1

Slide 25Chapter 1: Introduction to Database Management

Three Schema Architecture

View 1 View 2 View n

ConceptualSchema

InternalSchema

ExternalLevel

ConceptualLevel

InternalLevel

External toConceptualMappings

Conceptualto InternalMappings

Page 26: Chapter 1

Slide 26Chapter 1: Introduction to Database Management

Differences among Levels External

FacultyAssignmentFormView: data required for the form in Slide 18 (Figure 1.9)

FacultyWorkLoadReportView: data required for the report in Slide 19 (Figure 1.10)

Conceptual: tables in Slide 14 Internal

Files needed to store the tables Extra files to improve performance

Page 27: Chapter 1

Slide 27Chapter 1: Introduction to Database Management

Client-Server Architecture

Database

Databaseserver

a) Client-server processing with database server

Database

Database server

Middlewareserver

b) Client-server processing with middleware and database servers

Page 28: Chapter 1

Slide 28Chapter 1: Introduction to Database Management

Parallel Database Architecture

M

N

...

P P P...

M M M

N

...

P P P...

M M

(a) SD (b) SN

LegendP: processorM: memoryN: high-speed networkSD: shared diskSN: shared nothing

Page 29: Chapter 1

Slide 29Chapter 1: Introduction to Database Management

Distributed Database Architecture

Client Server Server

DatabaseDatabase

Client

Client

Client

Denver London

Server

Database

Tokyo

Client

Client

Page 30: Chapter 1

Slide 30Chapter 1: Introduction to Database Management

Cloud Computing

Server Server

DatabaseDatabase

Server

Database

Page 31: Chapter 1

Slide 31Chapter 1: Introduction to Database Management

Organizational Roles

Indirec t Param etr ic Pow er

F unctiona l User

T echnica l Non T echnica l

D BA A na lys t/Program m er M anagem ent

Inform ation S ys tem s

Spec ia l iza tion

Page 32: Chapter 1

Slide 32Chapter 1: Introduction to Database Management

Database Specialists Database administrator (DBA)

More technical DBMS specific skills

Data administrator Less technical Planning role

Page 33: Chapter 1

Slide 33Chapter 1: Introduction to Database Management

DBA Responsibilities

Technical Non-technical

Designing conceptual schemas Setting database standards

Designing internal schemas Devising training materials

Monitoring database performance Promoting benefits of databases

Selecting and evaluating database software

Consulting with users

Managing security for database usage Planning new databases

Troubleshooting database problems  

Page 34: Chapter 1

Slide 34Chapter 1: Introduction to Database Management

Summary Databases and database technology vital

to modern organizations Database technology supports daily

operations and decision making Nonprocedural access is a crucial feature Many opportunities to work with databases