Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Sousa Effy Oz
MANAGEMENT
INFORMATION
SYSTEMS
Seventh Edition
Chapter 7
Databases and Data Warehouses
Objectives
Explain the difference between traditional file
organization and the database approach to
managing digital data
Explain how relational and object-oriented
database management systems are used to
construct databases, populate them with data,
and manipulate the data to produce information
Enumerate the most important features and
operations of a relational database, the most
popular database model
Cengage Learning 2015
Objectives (cont'd.)
Understand how data modeling and design
creates a conceptual blueprint of a database
Discuss how databases are used on the web
List the operations involved in transferring data
from transactional databases to data
warehouses
Figure 7.1 The structure and layout of a human resource file using a traditional file organization
Cengage Learning 2015
10
11
12
Figure 7.3 Using database views, users may have different structural pictures of a database
Cengage Learning 2015
Cengage Learning 2015
13
Figure 7.3 Using database views, users may have different structural pictures of a database
Cengage Learning 2015
Cengage Learning 2015
14
Database Models
Database model: general logical structure
How records are stored in the database
How relationships between records are
established
15
16
17
18
19
20
Figure 7.6 A representation of a join table from the Book and Publisher tables
21
22
Relational Operations
Relational operation: creates a temporary
subset of a table or tables
Used to create a limited list or a joined table list
Three most important relational operations
Select: a selection of records based on conditions
Project: a selection of certain columns from a
table
Join: combines data from multiple tables to create
a temporary table
Cengage Learning 2015
24
25
26
27
Figure 7.8 A schema of the Employee table in an Access 2010 database. The Field Properties area on the
bottom shows the properties of the attribute (field) EmployeeID
Cengage Learning 2015
28
Data Modeling
Databases must be carefully planned and
designed to meet business goals
Data modeling: analyzing an organizations
data and identifying the data relationships
A proactive process
Develops a conceptual blueprint of the database
29
30
31
32
Java servlets
Active server pages (ASP) and ASP.NET
PHP (Hypertext Preprocessor)
Web APIs (application program interfaces)
33
Figure 7.11 An example of how Active Server Page technology enables data queries and processing via
the web
Cengage Learning 2015
34
Data Warehousing
Data collections are used for daily transactions
Accumulation of transaction data is useful
35
36
37
38
39
Summary
Organizations collect vast amounts of data
Database approach has several advantages
over traditional file approach
Character: smallest piece of data
Field: made up of multiple characters
Record: collection of related fields
File: collection of related records
Database management system (DBMS): tool to
construct databases
Cengage Learning 2015
40
Summary (cont'd.)
Relational and object-oriented database models
have different advantages
Keys are used to form links among entities
Primary keys are unique identifiers
Object-oriented database maintains objects that
contain data and procedures that process them
Structured Query Language (SQL) is an
international standard for querying databases
Database designer must construct a schema to
construct a database
Cengage Learning 2015
41
Summary (cont'd.)
Database designers conduct data modeling and
create entity relationship diagrams to plan
databases
Many databases are linked to Web
Data warehouses contain huge collections of
historical transaction data
Data warehouse data requires extraction,
transformation, loading (ETL)
42
Summary (cont'd.)
Invasion of privacy is exacerbated by database
technology
Big Data is the collection and storage of evermore detailed quantities of data
43