Transcript ppt

Technology in Action
© 2007 Prentice-Hall, Inc.
1
Technology in Action
Chapter 11
Behind the Scenes:
Databases and Information Systems
© 2007 Prentice-Hall, Inc.
2
Chapter Topics
•
•
•
•
•
•
•
•
Databases and their uses
Database components
Types of databases
Database management systems
Relational databases
Data warehouses and data marts
Information systems
Data mining
© 2007 Prentice-Hall, Inc.
3
Databases
• Electronic collections of related data
• Help us organize data
• Turn data into information
© 2007 Prentice-Hall, Inc.
4
Advantages of Using Databases
• Store and retrieve
large quantities of
information
• Enable information
sharing
• Provide data
centralization
• Promote data
integrity
• Allow for flexible use
of data
© 2007 Prentice-Hall, Inc.
Financial Aid
Recording grades
Student Registration
Student
Information
Student housing Database
Parents
5
Database Terminology
• Field
Field Name
– Category of
information
displayed in
columns
– Each field has a
field name
© 2007 Prentice-Hall, Inc.
6
Database Terminology
• Data types
–
–
–
–
–
–
–
Text
Numeric
Computational
Date
Memo
Object
Hyperlink
© 2007 Prentice-Hall, Inc.
7
Database Terminology
• Record
– A group of related
fields
Record
© 2007 Prentice-Hall, Inc.
8
Database Terminology
• Table
– A group of related records
Table
© 2007 Prentice-Hall, Inc.
9
Database Terminology
• Primary key
– A field value unique to a record
Primary Key
© 2007 Prentice-Hall, Inc.
10
Database Types
• Relational databases
– Organize data in a table
– Link tables to each other through their primary keys
• Object-oriented databases
– Stores data in objects
– Handles unstructured data
• Object-relational databases
– A hybrid of a relational and object-oriented database
© 2007 Prentice-Hall, Inc.
11
Database Management Systems
(DBMS)
•
•
Application software designed to capture
and analyze data
Four main operations of a DBMS are:
1.
2.
3.
4.
Creating databases and entering data
Viewing and sorting data
Extracting data
Outputting data
© 2007 Prentice-Hall, Inc.
12
1. Creating Databases and
Entering Data
• Create field names:
– Identify each type of
data
– Data dictionary
© 2007 Prentice-Hall, Inc.
13
Creating Databases and
Entering Data (cont)
• Create individual
records:
– Key-in
– Import
© 2007 Prentice-Hall, Inc.
Jaso
n
Alexand 123 Elm St.
er
Anywhere
US 1234
5
14
Data Validation
• Validation
– Process of ensuring data
entered into the database
is correct (or at least
reasonable) and complete
• Validation rules
–
–
–
–
Range check
Completeness check
Consistency check
Alphabetic/numeric checks
© 2007 Prentice-Hall, Inc.
15
2. Viewing and Sorting Data
Before sort
• Browse through
records
• Sort records by field
name
After sort
© 2007 Prentice-Hall, Inc.
16
3. Extracting or Querying Data
• Query
– A question or inquiry
– Provides records
based on criteria
– Structured query
language (SQL)
Results
SQL
© 2007 Prentice-Hall, Inc.
17
4. Outputting Data
• Reports:
– Printed
– Summary data reports
• Export data
© 2007 Prentice-Hall, Inc.
18
Relational Database Operations
• Relational databases
organize data into tables
based on logical
groupings
• Relationships are links
between tables with
related data
• Common fields between
tables need to exist
• Normalization of data
(recording data once)
reduces data redundancy
© 2007 Prentice-Hall, Inc.
19
Data Storage
• Data warehouses
– A large scale
repository of data
– Organizes all the data
related to an
organization
– Data is organized by
subject
© 2007 Prentice-Hall, Inc.
20
Populating Data Warehouses
• Source data
– Internal sources
• Company databases, etc.
– External sources
• Suppliers, vendors, etc.
– Customers or Web site visitors
• Clickstream data
© 2007 Prentice-Hall, Inc.
21
Data Staging
• Data staging
– Extract data from source
– Reformat the data
– Store the data
• Software programs/procedures created
to extract the data and to reformat it for
storage
© 2007 Prentice-Hall, Inc.
22
Data Marts
• Small slices of data
• Data of a single department
© 2007 Prentice-Hall, Inc.
23
Data Warehouse
© 2007 Prentice-Hall, Inc.
24
Managing Data:
Information Systems
• Information systems
– Software-based solutions used to gather and
analyze information
• Functions performed by information
systems include
– Acquiring data
– Processing data into information
– Storing data
– Providing output options
© 2007 Prentice-Hall, Inc.
25
Information Systems Categories
•
•
•
•
Office support
Transaction processing
Management
Decision support
© 2007 Prentice-Hall, Inc.
26
Office Support Systems (OSS)
• Assist employees in day-to-day tasks
• Improve communications
• Microsoft Office
© 2007 Prentice-Hall, Inc.
27
Transaction Processing Systems
(TPS)
• Keeps track of
everyday business
activities
• Batch processing
• Real-time
processing
© 2007 Prentice-Hall, Inc.
28
Management Information Systems
(MIS)
• Provides timely and accurate information for
managers to make business decisions
• Detail report:
– Transactions that
occur during a
period of time
• Summary report:
– Consolidate detailed
data
• Exception report:
– Show unusual
conditions
© 2007 Prentice-Hall, Inc.
29
Decision Support Systems (DSS)
• Help managers develop solutions for
specific problems
© 2007 Prentice-Hall, Inc.
30
Data Mining
• Process by which data are analyzed and
investigated
• Objective is to spot patterns or trends
within the data
© 2007 Prentice-Hall, Inc.
31
Data Mining Methods
• Classification
– Define data classes
• Estimation
– Assign a value to data
• Affinity grouping or association rules
– Determine which data goes together
• Clustering
– Organize data into subgroups
• Description and visualization
– Provides a clear picture of what is happening
© 2007 Prentice-Hall, Inc.
32
Chapter 11 Summary Questions
• What is a database and why is it beneficial
to use databases?
© 2007 Prentice-Hall, Inc.
33
Chapter 11 Summary Questions
• What components make up a database?
© 2007 Prentice-Hall, Inc.
34
Chapter 11 Summary Questions
• What types of databases are there?
© 2007 Prentice-Hall, Inc.
35
Chapter 11 Summary Questions
• What do database management systems
do?
© 2007 Prentice-Hall, Inc.
36
Chapter 11 Summary Questions
• How do relational databases organize and
manipulate data?
© 2007 Prentice-Hall, Inc.
37
Chapter 11 Summary Questions
• What are data warehouses and data marts
and how are they used?
© 2007 Prentice-Hall, Inc.
38
Chapter 11 Summary Questions
• What is an information system and what
types of information systems are used in
business?
© 2007 Prentice-Hall, Inc.
39
Chapter 11 Summary Questions
• What is data mining and how does it
work?
© 2007 Prentice-Hall, Inc.
40