Top Banner
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management
101
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 9

© Paradigm Publishing Inc. 9-1

Chapter 9Database and Information Management

Page 2: Chapter 9

© Paradigm Publishing Inc. 9-2

Presentation Overview

• Database Basics

• Databases and Information Systems

• Database Management System Software

• Types of Databases

• Planning and Designing Database Systems

• Using Databases

• Database Administration

Page 3: Chapter 9

© Paradigm Publishing Inc. 9-3

Database Basics

What is a database and how does it organize information?

Page 4: Chapter 9

© Paradigm Publishing Inc. 9-4

Database Basics

What is a database and how does it organize information?A database is a computerized system for storing information in an organized manner so that it can be searched for and retrieved when needed. Information is stored in the form of fields, records, and files.

Page 5: Chapter 9

© Paradigm Publishing Inc. 9-5

Database Basics

Data vs Information

Page 6: Chapter 9

© Paradigm Publishing Inc. 9-6

Database Basics

Data vs Information– Data – raw, unorganized content in the form of

words, numbers, sounds, or images

Page 7: Chapter 9

© Paradigm Publishing Inc. 9-7

Database Basics

Data vs Information– Data – raw, unorganized content in the form of

words, numbers, sounds, or images– Information – data associated with other useful

data on the same topic

Page 8: Chapter 9

© Paradigm Publishing Inc. 9-8

Database Basics

Levels of Data within a Database

Page 9: Chapter 9

© Paradigm Publishing Inc. 9-9

Database Basics

Levels of Data within a Database– Entity – a person, place, thing, or event

Page 10: Chapter 9

© Paradigm Publishing Inc. 9-10

Database Basics

Levels of Data within a Database– Entity – a person, place, thing, or event– Field – a single value, such as a name, address, or

dollar amount• data type: usually numeric or text (numbers and text)• name: assigned by person developing the database• size: number of characters that can be entered

Page 11: Chapter 9

© Paradigm Publishing Inc. 9-11

Database Basics

Levels of Data within a Database– Entity – a person, place, thing, or event– Field – a single value, such as a name, address, or

dollar amount• data type: usually numeric or text (numbers and text)• name: assigned by person developing the database• size: number of characters that can be entered

– Record – related fields describing an event or situation

Page 12: Chapter 9

© Paradigm Publishing Inc. 9-12

Database Basics

Levels of Data within a Database– Entity – a person, place, thing, or event– Field – a single value, such as a name, address, or

dollar amount• data type: usually numeric or text (numbers and text)• name: assigned by person developing the database• size: number of characters that can be entered

– Record – related fields describing an event or situation– File – collection of records of the same type

Page 13: Chapter 9

© Paradigm Publishing Inc. 9-13

Database BasicsTraditional database organizes data in a hierarchy. A field is the smallest element. Fields are within a record. Records are organized in a data file. Database is a collection of data files.

Page 14: Chapter 9

© Paradigm Publishing Inc. 9-14

Database Basics

Common field data types

Page 15: Chapter 9

© Paradigm Publishing Inc. 9-15

Databases and Information Systems

Management Information Systems (MIS)

Page 16: Chapter 9

© Paradigm Publishing Inc. 9-16

Databases and Information Systems

Management Information Systems (MIS)– used to track and control every transaction through

a database

Page 17: Chapter 9

© Paradigm Publishing Inc. 9-17

Databases and Information Systems

Management Information Systems (MIS)– used to track and control every transaction through

a database– transaction – any business activity central to the

nature of the enterprise

Page 18: Chapter 9

© Paradigm Publishing Inc. 9-18

Databases and Information Systems

Office Information Systems

Page 19: Chapter 9

© Paradigm Publishing Inc. 9-19

Databases and Information Systems

Office Information Systems– designed as replacement for paper-based

information systems

Page 20: Chapter 9

© Paradigm Publishing Inc. 9-20

Databases and Information Systems

Office Information Systems– designed as replacement for paper-based

information systems– gives quick access to office paperwork

Page 21: Chapter 9

© Paradigm Publishing Inc. 9-21

Databases and Information Systems

Decision Support Systems

Page 22: Chapter 9

© Paradigm Publishing Inc. 9-22

Databases and Information Systems

Decision Support Systems– designed to help management make decisions

about an operation

Page 23: Chapter 9

© Paradigm Publishing Inc. 9-23

Databases and Information Systems

Decision Support Systems– designed to help management make decisions

about an operation– allows managers to work with “what if” scenarios

Page 24: Chapter 9

© Paradigm Publishing Inc. 9-24

Databases and Information Systems

Factory Automation Systems

Page 25: Chapter 9

© Paradigm Publishing Inc. 9-25

Databases and Information Systems

Factory Automation Systems– runs an assembly line directly, controlling

manufacturing processes from shop-floor level of conveyor belts and robots

Page 26: Chapter 9

© Paradigm Publishing Inc. 9-26

Databases and Information SystemsFactory Automation Systems– runs an assembly line directly, controlling manufacturing

processes from shop-floor level of conveyor belts and robots– may be part of complete CIM system that controls

manufacturing process from beginning to end

Page 27: Chapter 9

© Paradigm Publishing Inc. 9-27

Database Management System Software

Database Keys

Page 28: Chapter 9

© Paradigm Publishing Inc. 9-28

Database Management System Software

Database Keys

– Key – attribute used to identify and provide a means to search database

Page 29: Chapter 9

© Paradigm Publishing Inc. 9-29

Database Management System Software

Database Keys

– Key – attribute used to identify and provide a means to search database

– Primary key – most important key in a field

Page 30: Chapter 9

© Paradigm Publishing Inc. 9-30

Database Management System Software

Database Keys

– Key – attribute used to identify and provide a means to search database

– Primary key – most important key in a field– Data browsing – process of moving through a

database file, examining each record and looking for information

Page 31: Chapter 9

© Paradigm Publishing Inc. 9-31

Database Management System Software

Query Tools

Page 32: Chapter 9

© Paradigm Publishing Inc. 9-32

Database Management System Software

Query Tools

– Query tools help users narrow down information needed to be searched.

Page 33: Chapter 9

© Paradigm Publishing Inc. 9-33

Database Management System Software

Query Tools

– Query tools help users narrow down information needed to be searched.

– A query allows users to ask questions designed to retrieve information.

Page 34: Chapter 9

© Paradigm Publishing Inc. 9-34

Database Management System Software

Query Tools

– Query tools help users narrow down information needed to be searched.

– A query allows users to ask questions designed to retrieve information.

– A select command asks a database to return records that match specific criteria.

Page 35: Chapter 9

© Paradigm Publishing Inc. 9-35

Database Management System Software

Query Tools

– Query tools help users narrow down information needed to be searched.

– A query allows users to ask questions designed to retrieve information.

– A select command asks a database to return records that match specific criteria.

– Joining matches data from fields in various files.

Page 36: Chapter 9

© Paradigm Publishing Inc. 9-36

Database Management System Software

Structured Query Language (SQL)

This SQL statement could search for top students in a college, with “top” defined as those students with a grade point average (GPA) above 3.49.

Page 37: Chapter 9

© Paradigm Publishing Inc. 9-37

Database Management System SoftwareJoining matches data from fields in various record files. Both Student Personal Records and Student Grade Records files would have a common Student ID number field, allowing information from both files to be returned in a single query.

Page 38: Chapter 9

© Paradigm Publishing Inc. 9-38

Database Management System Software

Metadata and the Data Dictionary

Page 39: Chapter 9

© Paradigm Publishing Inc. 9-39

Database Management System Software

Metadata and the Data Dictionary

– Metadata – information about data; describes significance of various elements of a database

Page 40: Chapter 9

© Paradigm Publishing Inc. 9-40

Database Management System Software

Metadata and the Data Dictionary

– Metadata – information about data; describes significance of various elements of a database

– Data dictionary – a body of metadata

Page 41: Chapter 9

© Paradigm Publishing Inc. 9-41

Types of Databases

Flat File Databases

Page 42: Chapter 9

© Paradigm Publishing Inc. 9-42

Types of Databases

Flat File Databases

– database contains only one table or file

Page 43: Chapter 9

© Paradigm Publishing Inc. 9-43

Types of Databases

Flat File Databases

– database contains only one table or file– simple and easy to use

Page 44: Chapter 9

© Paradigm Publishing Inc. 9-44

Types of Databases

Flat File Databases

– database contains only one table or file– simple and easy to use– slower to respond because records must be

searched sequentially

Page 45: Chapter 9

© Paradigm Publishing Inc. 9-45

Types of Databases

Flat File Databases

– database contains only one table or file– simple and easy to use– slower to respond because records must be

searched sequentially– generally consume more disk space

Page 46: Chapter 9

© Paradigm Publishing Inc. 9-46

Types of Databases

Relational Databases

Page 47: Chapter 9

© Paradigm Publishing Inc. 9-47

Types of Databases

Relational Databases

– Fields can be shared among all files in the database, making it possible to connect them.

Page 48: Chapter 9

© Paradigm Publishing Inc. 9-48

Types of Databases

Relational Databases

– Fields can be shared among all files in the database, making it possible to connect them.

– A file is called a table (consists of rows and columns).

Page 49: Chapter 9

© Paradigm Publishing Inc. 9-49

Types of Databases

Relational Databases

– Fields can be shared among all files in the database, making it possible to connect them.

– A file is called a table (consists of rows and columns).

– A record is called a tuple.

Page 50: Chapter 9

© Paradigm Publishing Inc. 9-50

Types of Databases

Relational Databases

– Fields can be shared among all files in the database, making it possible to connect them.

– A file is called a table (consists of rows and columns).

– A record is called a tuple.– A field is called an attribute.

Page 51: Chapter 9

© Paradigm Publishing Inc. 9-51

Types of Databases

Object-Oriented Databases

Page 52: Chapter 9

© Paradigm Publishing Inc. 9-52

Types of Databases

Object-Oriented Databases

– stores data in the form of objects (units of object-oriented programming logic)

Page 53: Chapter 9

© Paradigm Publishing Inc. 9-53

Types of Databases

Object-Oriented Databases

– stores data in the form of objects (units of object-oriented programming logic)

– object contains data related to the object and the actions to be performed on the object

Page 54: Chapter 9

© Paradigm Publishing Inc. 9-54

Types of Databases

Object-Oriented Databases

– stores data in the form of objects (units of object-oriented programming logic)

– object contains data related to the object and the actions to be performed on the object

– speeds up database functions and makes database development easier

Page 55: Chapter 9

© Paradigm Publishing Inc. 9-55

Types of Databases

Multimedia Databases

allows storage of pictures, movies, sounds, and hyperlinked fields

Page 56: Chapter 9

© Paradigm Publishing Inc. 9-56

Types of Databases

Multimedia Databases

allows storage of pictures, movies, sounds, and hyperlinked fields

Hybrid Databasesseveral different models combined to allow more effective data handling

Page 57: Chapter 9

© Paradigm Publishing Inc. 9-57

Types of Databases

Operational Databases

Page 58: Chapter 9

© Paradigm Publishing Inc. 9-58

Types of Databases

Operational Databases

– operational database tracks an operation or situation, such as the inventory of a store

Page 59: Chapter 9

© Paradigm Publishing Inc. 9-59

Types of Databases

Operational Databases

– operational database tracks an operation or situation, such as the inventory of a store

– distributed database – is spread across multiple networked computers– each computer shares a portion of the data– can hold more information– is cheaper– is easier to use

Page 60: Chapter 9

© Paradigm Publishing Inc. 9-60

Types of Databases

Data Warehouses

Page 61: Chapter 9

© Paradigm Publishing Inc. 9-61

Types of Databases

Data Warehouses

– used to store data gathered from one or more databases

Page 62: Chapter 9

© Paradigm Publishing Inc. 9-62

Types of Databases

Data Warehouses

– used to store data gathered from one or more databases

– does not change, delete, or manipulate data they store

Page 63: Chapter 9

© Paradigm Publishing Inc. 9-63

Planning and Designing Database Systems

How are databases designed?

Page 64: Chapter 9

© Paradigm Publishing Inc. 9-64

Planning and Designing Database Systems

How are databases designed?

System analysts or database designers follow three steps to plan a database

1. Create an organizational structure for the data.

2. Design an interface that makes the database user-friendly.

3. Set up reporting capabilities to allow for inquiry and response.

Page 65: Chapter 9

© Paradigm Publishing Inc. 9-65

Planning and Designing Database SystemsUser requests and enters data through the front-end interface program. The database management

system manages

the retrieval

and update of

the database

itself.

Page 66: Chapter 9

© Paradigm Publishing Inc. 9-66

Planning and Designing Database Systems

Database Objects: Tools in the DBMS

Page 67: Chapter 9

© Paradigm Publishing Inc. 9-67

Planning and Designing Database Systems

Database Objects: Tools in the DBMS

– form – template that allows users to enter data into the database

Page 68: Chapter 9

© Paradigm Publishing Inc. 9-68

Planning and Designing Database Systems

Database Objects: Tools in the DBMS

– form – template that allows users to enter data into the database

– report – formatted body of output from a database

Page 69: Chapter 9

© Paradigm Publishing Inc. 9-69

Planning and Designing Database Systems

Database Objects: Tools in the DBMS

– form – template that allows users to enter data into the database

– report – formatted body of output from a database

– data filter – filtering material in a database to restrict a database search

Page 70: Chapter 9

© Paradigm Publishing Inc. 9-70

Using Databases

What are the types of data processing?

Page 71: Chapter 9

© Paradigm Publishing Inc. 9-71

Using Databases

What are the types of data processing?

– Batch processing – occurs at a scheduled time or when a critical point has been reached

Page 72: Chapter 9

© Paradigm Publishing Inc. 9-72

Using Databases

What are the types of data processing?

– Batch processing – occurs at a scheduled time or when a critical point has been reached

– Transactional processing – more continuous• real time system – data must be accurate to the second

• online transactional processing – very fast, always-on processing

Page 73: Chapter 9

© Paradigm Publishing Inc. 9-73

Using Databases

What are the types of data processing?

– Batch processing – occurs at a scheduled time or when a critical point has been reached

– Transactional processing – more continuous• real time system – data must be accurate to the second

• online transactional processing – very fast, always-on processing

– Mixed forms of processing – transactional and batch processing in the same system

Page 74: Chapter 9

© Paradigm Publishing Inc. 9-74

Using Databases

Database Users

Page 75: Chapter 9

© Paradigm Publishing Inc. 9-75

Using Databases

Database Users

Data entry operators type data into databases and make sure that it is accurate. They– add records

Page 76: Chapter 9

© Paradigm Publishing Inc. 9-76

Using Databases

Database Users

Data entry operators type data into databases and make sure that it is accurate. They– add records– modify records

Page 77: Chapter 9

© Paradigm Publishing Inc. 9-77

Using Databases

Database Users

Data entry operators type data into databases and make sure that it is accurate. They– add records– modify records– delete records

Page 78: Chapter 9

© Paradigm Publishing Inc. 9-78

Using Databases

Database Users

Data entry operators type data into databases and make sure that it is accurate. They– add records– modify records– delete records– sort records

Page 79: Chapter 9

© Paradigm Publishing Inc. 9-79

Database Administration

Database Administrator

Page 80: Chapter 9

© Paradigm Publishing Inc. 9-80

Database Administration

Database Administrator

– is responsible for maintaining and updating the database and the DBMS software

Page 81: Chapter 9

© Paradigm Publishing Inc. 9-81

Database Administration

Database Administrator

– is responsible for maintaining and updating the database and the DBMS software

– is responsible for preventing computer downtime

Page 82: Chapter 9

© Paradigm Publishing Inc. 9-82

Database Administration

Data Loss or Corruption

Page 83: Chapter 9

© Paradigm Publishing Inc. 9-83

Database Administration

Data Loss or Corruption

– Data corruption occurs when data is unreadable, incomplete, or damaged.

Page 84: Chapter 9

© Paradigm Publishing Inc. 9-84

Database Administration

Data Loss or Corruption

– Data corruption occurs when data is unreadable, incomplete, or damaged.

– Backing up data is a major method for recovering lost or corrupted data.

Page 85: Chapter 9

© Paradigm Publishing Inc. 9-85

Database Administration

Backup and Recovery Operations

Page 86: Chapter 9

© Paradigm Publishing Inc. 9-86

Database Administration

Backup and Recovery Operations

– tape backups commonly used because they are cheap and easy to store

Page 87: Chapter 9

© Paradigm Publishing Inc. 9-87

Database Administration

Backup and Recovery Operations

– tape backups commonly used because they are cheap and easy to store

– backups must be stored separately from original material to lessen accidental data loss

Page 88: Chapter 9

© Paradigm Publishing Inc. 9-88

Database Administration

Database response time is the lag time between a user issuing a command and the database system taking action.

Page 89: Chapter 9

© Paradigm Publishing Inc. 9-89

Database Administration

Record Locking

Page 90: Chapter 9

© Paradigm Publishing Inc. 9-90

Database Administration

Record Locking

– occurs when users attempt to edit existing records in a multi-user system

Page 91: Chapter 9

© Paradigm Publishing Inc. 9-91

Database Administration

Record Locking

– occurs when users attempt to edit existing records in a multi-user system

– allows only one user at a time to edit or delete a record

Page 92: Chapter 9

© Paradigm Publishing Inc. 9-92

Database Administration

Data Integrity

Page 93: Chapter 9

© Paradigm Publishing Inc. 9-93

Database Administration

Data Integrity

– data integrity – the accuracy of information provided to database users

Page 94: Chapter 9

© Paradigm Publishing Inc. 9-94

Database Administration

Data Integrity

– data integrity – the accuracy of information provided to database users

– redundancy – duplication of data in several fields; an enemy of data integrity

Page 95: Chapter 9

© Paradigm Publishing Inc. 9-95

Database Administration

Data Integrity

– data integrity – the accuracy of information provided to database users

– redundancy – duplication of data in several fields; an enemy of data integrity

– normalization – prevents duplicate data storage and reduces chance that some data will not be updated when changes are made

Page 96: Chapter 9

© Paradigm Publishing Inc. 9-96

Database Administration

Data Validation

Page 97: Chapter 9

© Paradigm Publishing Inc. 9-97

Database Administration

Data Validation

– range check – allows only range of numbers to be entered

Page 98: Chapter 9

© Paradigm Publishing Inc. 9-98

Database Administration

Data Validation

– range check – allows only range of numbers to be entered

– alphanumeric check – allows only letters of alphabet and digits to be entered

Page 99: Chapter 9

© Paradigm Publishing Inc. 9-99

Database Administration

Data Validation

– range check – allows only range of numbers to be entered

– alphanumeric check – allows only letters of alphabet and digits to be entered

– consistency check – checks against previously entered data that has been validated

Page 100: Chapter 9

© Paradigm Publishing Inc. 9-100

Database Administration

Data Validation

– range check – allows only range of numbers to be entered

– alphanumeric check – allows only letters of alphabet and digits to be entered

– consistency check – checks against previously entered data that has been validated

– completeness check – ensures every field filled out

Page 101: Chapter 9

© Paradigm Publishing Inc. 9-101

On the Horizon

Based on the information presented in this chapter and your own experience, what do you think is on the horizon?