1+ +the+Database+Environment
1+ +the+Database+Environment
Thirteenth Edition
Chapter 1
The Database Environment
and Development Process
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Learning Objectives (1 of 2)
1.1 Define terms
1.2 Name limitations of conventional file processing
1.3 Explain advantages of databases
1.4 Identify costs and risks of databases
1.5 Distinguish between operational and informational
data management
1.6 List components of database environment
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Learning Objectives (2 of 2)
1.7 Identify categories of database applications
1.8 Explain prototyping and agile development approaches
1.9 Explain roles of individuals
1.10 Explain differences between personal, multi-tiered,
and enterprise data management
1.11 Explain three-schema architectures (external,
conceptual, internal)
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Definitions
• Database: organized collection of logically related data
• Data: stored representations of meaningful objects and
events
– Structured: numbers, text, dates
– Unstructured: images, video, documents
• Information: data processed to increase knowledge in
the person using the data
• Metadata: data that describes the properties and context
of user data
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-1 Converting Data to
Information (1 of 2)
(a) Data in context
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-1 Converting Data to
Information (2 of 2)
(b) Summarized data
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Table 1-1 Example Metadata for Class
Roster
• Descriptions of the properties or characteristics of the data, including
data types, field sizes, allowable values, and data context
Data Item Data Item Data Item Metadata Metadata Metadata Metadata
Name Type Length Min imum Maximum Description Source
Blank Blank
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Disadvantages of File Processing
• Program-Data Dependence
– All programs maintain metadata for each file they use
• Duplication of Data
– Different systems/programs have separate copies of the same
data
• Limited Data Sharing
– No centralized control of data
• Lengthy Development Times
– Programmers must design their own file formats
• Excessive Program Maintenance
– 80% of information systems budget
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-2 Old File Processing Systems
at Pine Valley Furniture Company
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
The Database Approach (1 of 2)
• Data models
– Graphical diagram capturing nature and relationship of data
– Enterprise Data Model – high-level entities and relationships for the
organization
– Project Data Model – more detailed view, matching data structure in
database or data warehouse
• Entities
– Noun form describing a person, place, object, event, or concept
– Composed of attributes
• Relationships
– Between entities
– Usually one-to-many (1: N) or many-to-many (M : N), but can also be
one-to-one (1:1)
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-3 Comparison of Enterprise-and
Project-Level Data Models
(a) Segment of an enterprise (b) Segment of a project data model
data model
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
The Database Approach (2 of 2)
• Relational Databases
• Database technology
involving tables (relations)
representing entities and
primary/foreign keys
representing relationships
(see Figure 1-17)
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Advantages of the Database Approach
• Program-data independence
• Enforcement of standards
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Costs and Risks of the Database
Approach
• New, specialized personnel
• Installation and management cost and complexity
• Conversion costs
• Need for explicit backup and recovery
• Organizational conflict
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-5 Integrated Data Management
Framework
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Components of the Database
Environment
• Data modeling and design tools – automated tools used to design databases and
application programs
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-6 Components of the Database
Environment
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
The Database Development Process
• SDL C
– System Development Life Cycle
– Detailed, well-planned development process
– Time-consuming, but comprehensive
– Long development cycle
• Prototyping
– Rapid application development (RAD)
– Cursory attempt at conceptual data modeling
– Define database during development of initial prototype
– Repeat implementation and maintenance activities with
new prototype versions
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Systems Development Life Cycle (SDLC)
• The traditional methodology used to develop, maintain, and replace
information systems
• Five main steps:
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-8 Database Development Activities During
the Systems Development Life Cycle (SDLC)
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Alternative Information Systems
Development Approaches
• Traditional SDLC: methodical, structured, and time
consuming
• Rapid Application Development (RAD): faster and more
adaptive, especially when a database is already in place
• Several flavors:
– Prototyping
– Agile methodologies
– eXtreme programming
– Scrum
– DSDM (dynamic system development methodologies)
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-9 The Prototyping Methodology
and Database Development Process
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-10 Three-Schema Architecture
• Different people have different views
of the database
• External Schema
– User Views
– Subsets of Conceptual Schema
– Can be determined from
business-function/data entity
matrices
– DBA determines schema for
different users
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Managing People Involved in Database
Development
• Project – a planned undertaking of related activities to
reach an objective that has a beginning and an end
• Initiated and planned in planning stage of SDLC
• Executed during analysis, design, and implementation
• Closed at the end of implementation
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Database Project Team Members (1 of 2)
• Business analysts – analyze business situation and
establish requirements
• Systems analysts – like business analysts, but also have
technical expertise for overall information systems
• Database analysts and data modelers – analysts who
focus on database
• Users – the “customers” communicate their needs to
analysts
• Programmers – coders of the programs that interact with
the database
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Database Project Team Members (2 of 2)
• Database architects – establish standards for data in
business units
• Data administrators – responsible for existing databases,
ensuring data integrity and consistency
• Project managers – oversee the projects, manage the
personnel
• Other technical experts – network, operating system,
documentation, etc.
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Evolution of Database Systems
• Driven by four main objectives:
– Need for program-data independence in order to
reduce maintenance
– Desire to manage more complex data types and
structures
– Ease of data access for less technical personnel
– Need for more powerful decision support platforms
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-11 The Range of Database
Technologies: Past and Present (1 of 4)
(a) Evolution of database technologies
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-11 The Range of Database
Technologies: Past and Present (2 of 4)
(b) Database architectures
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-11 The Range of Database
Technologies: Past and Present (3 of 4)
(b) Database architectures
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-11 The Range of Database
Technologies: Past and Present (4 of 4)
(b) Database architectures
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
The Range of Database Applications
• Personal Databases
– Typical size in the megabytes
– Intended for one user
• Departmental Multi-Tiered Client/Server Databases
– Typical size in the gigabytes
– Intended for several users, usually doesn’t exceed 100,
department-wide
• Enterprise Applications
– Typical size in the gigabytes, terabytes, or even petabytes
– Intended for a very large user base, company wide
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Figure 1-12 Multi-Tiered Client/Server
Database Architecture
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Types of Enterprise Applications
• Enterprise Systems (typically involve relational databases)
– Backbone of an organization
– Enterprise resource planning (ERP)
– Customer relationship management
– Supply chain management
– Human resource management and payroll
( http://public.tableausoftware.com/profile/mirandali#!/vizhome/Executive-Dashboard_7/ExecutiveDashboard )
Courtesy Tableau Software
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Pine Valley Furniture
• PVF is a fictional furniture company
• Will be used as a case throughout the book
• Chapter 1 topics include
– Database Evolution at Pine Valley Furniture Company
– Project planning
– Analyzing database requirements
– Designing the database
– Using the database
– Administering the database
– Future of databases at PVF
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved
Copyright
Copyright © 2022, 2019, 2016 Pearson Education, Inc. All Rights Reserved