Chapter 3
Chapter 3
Information
CHAPTER 3
1
The Hierarchy of Data
2
Date entries, attributes, and keys
4
The Traditional Approach To Data
Management
– Create new
files for each
application
– Data
redundancy
– Data integrity
5
The Database Approach to Data
Management
6
Advantages of the
Database Approach (1)
• Improved strategic use of corporate date
– Accurate information always available
• Reduced data redundancy
– Data is stored in one place
• Improved data integrity
– Changes are reflected throughout
• Easier modification and update
– No need to know where the data is
7
Advantages of the
Database Approach (2)
• Data and program independence
– Accurate information always available
• Better access to data and information
– Simple instructions to access data
• Standardization of data access
– Each DBMS uses the same set of instructions
• Standardization for programmers
– Should only know how to access the DBMS
8
Advantages of the
Database Approach (3)
9
Disadvantages of the
Database Approach
• Costly
– Specialized DBMS software
– Specialized DBMS administrators and
operators
• Increased vulnerability
– Single point of failure
– Targets for attacks
10
Data Modeling
• Planned data redundancy
– To have it available in more than one place
– To improve system performance
• Data model
– A diagram of entities and their relationships
• Enterprise data modeling
– Done at the level of enterprise
• Entity-relationship diagrams
– Use graphs to show how data is organized and how it
is related
11
Entity-Relationship Diagram for a
Customer Ordering Database
Entity
Relationship
(one-to-many)
Relationship
(many-to-one)
Relationship
(one-to-one)
12
Database Models
• Hierarchical (tree)
– Data is organized top-down
• Network
– Owner-membership relationship
– A member can have many owners
• Relational
– Uses tabular format with 2-dimensional tables
(relations)
– Relations resemble files
13
Hierarchical Database Model
14
Network Database Model
15
Relational Database Model
16
Relational Models
17
Relational Models
18
Linking Database Tables
to Answer an Inquiry
19
Building and Modifying a Relational
Database
20
Database Management
Systems
21
Providing a User View
22
The Use of Schemas and Subschemas
23
Creating and Modifying the Database
25
Storing and Retrieving Data
26
Data Access
27
Structured Query Language
28
Database Output
29
Popular Database Management Systems
• Oracle
• MySQL
• Paradox database
• FileMaker Pro
• Microsoft Access
• Lotus 1-2-3 Spreadsheet
30
Worldwide Database Market Share
(2001)
31
Selecting a Database Management
System (1)
32
Selecting a Database Management
System (2)
33
Database Applications
34
Data Warehouses, Data Marts,
and Data Mining
• Data Warehouse - a database that collects business
information from many sources in the enterprise,
covering all aspects of the company’s processes,
products, and customers.
36
Common Data Mining Applications
37
Common Data Mining Applications (1)
38
Common Data Mining Applications (2)
• Market-based analysis
– Which products are bought at the same time (diaper,
beer, chips)
• Market segmentation
– Group users based on similarity of products that they
buy
• Trend analysis
– Analyze how variables change over time (e.g., sales)
39
Business Intelligence
– Distributed databases
• Data is spread over a few database
– On-line analytical processing (OLAP)
• Programs used to store and deliver data
• Used to analyze millions of customer records
– Open database connectivity (ODBC)
standards
41
Comparison of OLAP and Data Mining
42
Advantages of ODBC
43
Object-Relational Database
Management System
44
Spatial Technology
45