Database Design, Application Development, and Administration, 5 th Edition Copyright © 2011 by Michael V. Mannino All rights reserved. Chapter 1 Introduction to Database Management
Jan 04, 2016
Database Design, Application Development, and Administration, 5th Edition
Copyright © 2011 by Michael V. Mannino All rights reserved.
Chapter 1
Introduction to Database Management
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
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
Slide 4Chapter 1: Introduction to Database Management
Outline Database characteristics DBMS features Architectures Organizational roles
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
Slide 6Chapter 1: Introduction to Database Management
Database Characteristics Persistent
Inter-related
Shared
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, ...
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, ...
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
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
Slide 11Chapter 1: Introduction to Database Management
University Database
Slide 12Chapter 1: Introduction to Database Management
Table Definition Window
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
Slide 14Chapter 1: Introduction to Database Management
University Database (ERD)
StdNoStdClassStdMajorStdGPA
StudentOfferNoOffLocationOffTime
Offering
EnrGrade
Enrollment
Registers
Accepts
CourseNoCrsDescCrsUnits
Course
FacNoFacSalaryFacRankFacHireDate
Faculty
Has
Teaches
Supervises
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
Slide 16Chapter 1: Introduction to Database Management
Graphical Tool for Nonprocedural Access
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
Slide 18Chapter 1: Introduction to Database Management
Sample Data Entry Form
Slide 19Chapter 1: Introduction to Database Management
Sample Report
Slide 20Chapter 1: Introduction to Database Management
Procedural Language Interface Combine procedural language with
nonprocedural access Why
Batch processing Customization and automation Performance improvement
Slide 21Chapter 1: Introduction to Database Management
Transaction Processing Transaction: unit of work that should be
reliably processed Control simultaneous users Recover from failures
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
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
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
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
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
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
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
Slide 29Chapter 1: Introduction to Database Management
Distributed Database Architecture
Client Server Server
DatabaseDatabase
Client
Client
Client
Denver London
Server
Database
Tokyo
Client
Client
Slide 30Chapter 1: Introduction to Database Management
Cloud Computing
Server Server
DatabaseDatabase
Server
Database
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
Slide 32Chapter 1: Introduction to Database Management
Database Specialists Database administrator (DBA)
More technical DBMS specific skills
Data administrator Less technical Planning role
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
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