37
1 Technology in Action Chapter 11 Behind the Scenes: Databases and Information Systems Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

Embed Size (px)

Citation preview

Page 1: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

1

Technology in Action

Chapter 11

Behind the Scenes:

Databases and Information Systems

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 2: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

2

Advantages of Using Databases• Store and retrieve

large quantities of information efficiently and effectively

• Enable information sharing

• Provide data centralization

• Promote data integrity

• Allow for flexible use of data

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 3: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

3

Disadvantages of Databases

• Complex to construct

• Time consuming

• Expensive

• Privacy concerns

• Compared to what?

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 4: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

4

Database Terminology

• Field: Category of information, displayed

in columns

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 5: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

5

Database Terminology

• Data type: Type of data that can be

stored in a field

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 6: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

6

Database Terminology

• Record: A group of related fields

Record

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 7: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

7

Database Terminology

• Table: A group of related records

Table

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 8: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

8

Database Terminology

• Primary key: A field value unique to a

record

Primary Key

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 9: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

9

Database Types

• Relational databases

– Organize data in tables

– Link tables to each other through their primary

keys (saves disk space, speeds searches)

• Object-oriented databases

– Store data in objects

– Also store methods for processing data

– Handle unstructured data

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 10: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

10

Database Types

• Multidimensional databases

– Store data in multiple dimensions (years)

– Organize data in a cube format

– Can easily be customized

– Process data much faster

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 11: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

11

Database Management

Systems (DBMS)

• Application software designed to capture

and analyze data

• Five main operations of a DBMS:

1. Creating databases and entering data

2. Viewing and sorting data

3. Extracting data

4. Outputting data

5. Analyze data (like reorder inventory)

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 12: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

12

Creating Databases and

Entering Data• Create

field

names

– Identify

each type

of data

– Data

dictionary

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 13: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

13

Creating Databases and

Entering Data (cont.)• Create

individual

records

– Key in

– Import

– Input form

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 14: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

14

Data Validation

• Validation

– Process of ensuring that data entered into

the database is correct (or at least

reasonable) and complete

• Validation rules

– Range checks

– Completeness checks

– Consistency checks

– Alphabetic/numeric checks

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 15: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

15

Data Validation

• Example of a completeness check

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 16: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

16

Viewing and Sorting Data

• Browse through records

• Sort records by field name

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 17: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

17

Extracting or Querying Data

• Query

– A question or

inquiry

– Provides

records based

on criteria

– Structured

Query

Language

(SQL)

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 18: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

18

Outputting Data

• Reports

– Printed

– Summary data reports

• Export data

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 19: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

19

Relational Database Operations

• Organize data into tables

• Relationships are links between tables with related data

• Common fields need to exist between fields

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 20: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

Types of Relationships

• One-to-one

– For each record in a table, only one

corresponding record in a related table

• One-to-many

– Only one instance of a record in one table;

many instances in a related table

• Many-to-many

– Records in one table related to many records

in another

20Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 21: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

21

Relational Database Operations

• Normalization of data (recording data

once) reduces data redundancy.

• Foreign key: The primary key of one table

is included in another to establish

relationships with that other table.

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 22: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

22

Data Storage

• Data warehouse

– Large-scale

repository of data

– Organizes all the

data related to an

organization

– Data organized

by subject

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 23: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

23

• Source data

– Internal sources

• Company databases, etc.

– External sources

• Suppliers, vendors, etc.

– Customers or Web site visitors

• Clickstream data (recording visitor clicks for

analysis of web site)

Populating Data Warehouses

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 24: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

24

• Data staging

– Extract data from source

– Reformat the data (e.g., for invoice printing)

– Store the data

• Software programs/procedures created to

extract the data and reformat it for storage

Data Staging

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 25: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

25

• Small slices of data

• Data for a single department

Data Marts

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 26: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

26

Data Warehouse Process

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

OLAP=Online

Analytical

Processing

Page 27: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

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

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 28: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

28

Information Systems Categories

• Office support systems

• Transaction processing systems

• Management information systems

• Decision support systems

• Each described below

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 29: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

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

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 30: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

30

Transaction Processing

Systems (TPSs)

• Keep track of

everyday

business

activities

• Batch

processing

• Real-time

processing

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 31: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

31

Management Information

Systems (MISs)• Provide timely and accurate information for

managers in making business decisions

• Detail report:– Transactions that

occur during a period of time

• Summary report:– Consolidated

detailed data

• Exception report:– Unusual conditions

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 32: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

32

Decision Support Systems

(DSSs)• Help managers develop solutions for

specific problems

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 33: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

33

Model Management Systems

• Software that assists in building

management models in DSSs

• Can be built to describe any business

situation

• Typically contain financial and statistical

analysis tools

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 34: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

34

Knowledge-Based Systems

• Expert system: Replicates human experts

• Natural language processing (NLP)

system: Enables users to communicate

with computers using a natural spoken or

written language

• Artificial intelligence (AI): Branch of

computer science that deals with

attempting to create computers that think

like humans

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 35: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

Enterprise Resource

Planning Systems

• Integrate multiple data sources

• Enable smooth flow of information

• Allow information to be used across

multiple areas of an enterprise

• Accumulate all information in a central

location

35Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 36: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

36

Data Mining

• Process by which great amounts of data

are analyzed and investigated

• Objective is to spot patterns or trends

within the data

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

Page 37: Chapter 11 Behind the Scenes: Databases and Information · PDF file · 2010-03-23Chapter 11 Behind the Scenes: Databases and Information Systems ... 14 Data Validation ... Management

37

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 happeningCopyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall