Download tia5e_ch11_ppt

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Big data wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Database wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Functional Database Model wikipedia , lookup

Healthcare Cost and Utilization Project wikipedia , lookup

Database model wikipedia , lookup

Transcript
© 2009 Prentice-Hall, Inc.
1
Technology in Action
Chapter 11
Behind the Scenes:
Databases and Information Systems
© 2009 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
© 2009 Prentice-Hall, Inc.
3
Databases
• Collections of related data
• Easily stored, sorted, organized, and queried
• Turn data into information
• Excel: create a simple list for 1 purpose
• Databases:
– complex lists
– Used for multiple purposes
– College Admissions, Marketing Department, Housing
© 2009 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
© 2009 Prentice-Hall, Inc.
5
Database Management System
Goal: Retrieve and Report Information
Means: Entering and Storing the Data
Business Examples
 Customers
 Employees
 Products
 Orders
 Invoices
Personal Examples
 Mailing List
 DVD Collection
 Investments
 Household Inventory
 Recipes
Disadvantages of Databases
• Complex to construct
• Time consuming
• Expensive
• Privacy concerns
© 2009 Prentice-Hall, Inc.
7
Database Terminology
• Field: Category of information, displayed
in columns
© 2009 Prentice-Hall, Inc.
8
Database Terminology
• Record
– A group of related fields
Record
© 2009 Prentice-Hall, Inc.
9
Database Terminology
• Table
– A group of related records
Table
© 2009 Prentice-Hall, Inc.
10
Primary Key
Every table, should have a field designated or
created to be a primary key
• Is A Unique identifier in your table
• Examples:
– Social Security Id
– Patient Id
– Doctor Id
– An Auto number created by Access
Ids help you identify patients with the same name and
possibly living in the same home.
• John Johnson 610-555-4432 (FATHER)
• John Johnson 610-555-4432 (SON)
Database Terminology
• Primary key
– A field value unique to a record (Student Id)
Primary Key
© 2009 Prentice-Hall, Inc.
12
Database Types
• Relational databases
– Organize data in tables
– Link tables to each other through their primary
keys
• Object-oriented databases
• Multidimensional databases
© 2009 Prentice-Hall, Inc.
13
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
© 2009 Prentice-Hall, Inc.
14
Creating Databases and
Entering Data
• Create
field
names:
– Identify
each type
of data
– Data
dictionary
© 2009 Prentice-Hall, Inc.
15
Creating Databases and
Entering Data (cont.)
• Create
individual
records by:
– Key-in
– Import
– Input form
© 2009 Prentice-Hall, Inc.
17
Data Validation
• Validation
– Process of ensuring data entered into the database
is correct (or at least reasonable) and complete
• Validation rules
–
–
–
–
Range check (age of student 13 – 99)
Completeness check (required fields like last name)
Consistency check (birth date < date enrolled)
Alphabetic/numeric checks (numbers only…)
© 2009 Prentice-Hall, Inc.
18
Data Validation
• Example of completeness check
© 2009 Prentice-Hall, Inc.
19
Viewing and Sorting Data
• Browse
through
records
• Sort
Before sort
records by
field name
After sort
© 2009 Prentice-Hall, Inc.
20
Extracting or Querying Data
• Query
– A question or
inquiry
– Provides
records based
on criteria
– Structured
query
language
(SQL)
© 2009 Prentice-Hall, Inc.
21
Outputting Data
• Reports:
– Printed
– Summary data reports
• Export data
© 2009 Prentice-Hall, Inc.
22
Relational Database Operations
• Organize data
into tables
• Relationships
are links
between
tables with
related data
• Common
fields between
tables need to
exist
© 2009 Prentice-Hall, Inc.
23
Relational Database Operations
• Normalization of data (recording data
once) reduces data redundancy
• Foreign key: The primary key of one table
included in another to establish
relationships with that other table
© 2009 Prentice-Hall, Inc.
24
Data Storage
• Data warehouses
– A large scale
repository of data
– Organizes all the
data related to an
organization
– Data is organized
by subject
© 2009 Prentice-Hall, Inc.
25
Populating Data Warehouses
• Source data
– Internal sources
• Company databases, etc.
– External sources
• Suppliers, vendors, etc.
– Customers or Web site visitors
• Clickstream data
© 2009 Prentice-Hall, Inc.
26
Data Warehouse Process
© 2009 Prentice-Hall, Inc.
27
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
© 2009 Prentice-Hall, Inc.
28
Information Systems Categories
• Office support systems
• Transaction processing systems
• Management information systems
• Decision support systems
© 2009 Prentice-Hall, Inc.
29
Office Support Systems (OSSs)
•
•
•
•
Assist employees in day-to-day tasks
Improve communications
Example: Microsoft Office
Include e-mail, word processing,
spreadsheet, database, and presentation
programs
© 2009 Prentice-Hall, Inc.
30
Transaction Processing
Systems (TPSs)
• Keeps track of
everyday
business
activities
• Batch
processing
• Real-time
processing
© 2009 Prentice-Hall, Inc.
31
Management Information
Systems (MISs)
• Provide 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
© 2009 Prentice-Hall, Inc.
32
Decision Support Systems
(DSSs)
• Help managers develop solutions for
specific problems
© 2009 Prentice-Hall, Inc.
33
Data Mining
• Process by which great amounts of data
are analyzed and investigated
• Objective is to spot patterns or trends
within the data
© 2009 Prentice-Hall, Inc.
34
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
– Get a clear picture of what is happening
© 2009 Prentice-Hall, Inc.
35
Let’s Get Started
? These questions may be on Access Test ?
1.
2.
3.
4.
5.
6.
7.
8.
9.
Score Keeper
½ Class write their name on a piece of paper
Pick 5-6 teams
Name of team – a favorite TV character
Help Desk – Understanding Databases
Multiple Choice and Fill in the Blanks
Help Desk – Using Databases
Sound Bytes and answer questions
On-Line Study Guide?