technology in action

47
© 2009 Prentice-Hall, Inc. 1

Upload: aline-battle

Post on 04-Jan-2016

20 views

Category:

Documents


0 download

DESCRIPTION

Technology in Action. Chapter 11 Behind the Scenes: Databases and Information Systems. Chapter Topics. Databases and their uses Database components Types of databases Database management systems. Chapter Topics (cont.). Relational databases Data warehouses and data marts - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Technology in Action

© 2009 Prentice-Hall, Inc. 1

Page 2: Technology in Action

© 2009 Prentice-Hall, Inc. 2

Technology in ActionTechnology in Action

Chapter 11Chapter 11

Behind the Scenes: Behind the Scenes: Databases and Information SystemsDatabases and Information Systems

Page 3: Technology in Action

© 2009 Prentice-Hall, Inc. 3

Chapter TopicsChapter Topics

• Databases and their usesDatabases and their uses

• Database componentsDatabase components

• Types of databasesTypes of databases

• Database management systemsDatabase management systems

Page 4: Technology in Action

© 2009 Prentice-Hall, Inc. 4

Chapter Topics (cont.)Chapter Topics (cont.)

• Relational databasesRelational databases

• Data warehouses and data martsData warehouses and data marts

• Information systemsInformation systems

• Data miningData mining

Page 5: Technology in Action

© 2009 Prentice-Hall, Inc. 5

Databases Databases

• Collections of related dataCollections of related data• Easily stored, sorted, organized, and queriedEasily stored, sorted, organized, and queried• Turn data into informationTurn data into information

Page 6: Technology in Action

© 2009 Prentice-Hall, Inc. 6

Advantages of Using DatabasesAdvantages of Using Databases

• Store and retrieve Store and retrieve large quantities of large quantities of informationinformation

• Enable information Enable information sharingsharing

• Provide data Provide data centralizationcentralization

• Promote data Promote data integrityintegrity

• Allow for flexible Allow for flexible use of datause of data

Page 7: Technology in Action

© 2009 Prentice-Hall, Inc. 7

Disadvantages of DatabasesDisadvantages of Databases

• Complex to constructComplex to construct

• Time consuming Time consuming

• ExpensiveExpensive

• Privacy concernsPrivacy concerns

Page 8: Technology in Action

© 2009 Prentice-Hall, Inc. 8

Database TerminologyDatabase Terminology

• Field: Category of information, displayed Field: Category of information, displayed in columnsin columns

Page 9: Technology in Action

© 2009 Prentice-Hall, Inc. 9

Database TerminologyDatabase Terminology• Data types: Type of data that can be stored Data types: Type of data that can be stored

in the fieldin the field

Page 10: Technology in Action

© 2009 Prentice-Hall, Inc. 10

Database TerminologyDatabase Terminology

• RecordRecord– A group of related fieldsA group of related fields

Record

Page 11: Technology in Action

© 2009 Prentice-Hall, Inc. 11

Database TerminologyDatabase Terminology

• TableTable– A group of related recordsA group of related records

Table

Page 12: Technology in Action

© 2009 Prentice-Hall, Inc. 12

Database TerminologyDatabase Terminology

• Primary keyPrimary key– A field value unique to a recordA field value unique to a record

Primary Key

Page 13: Technology in Action

© 2009 Prentice-Hall, Inc. 13

Database TypesDatabase Types

• Relational databasesRelational databases– Organize data in tablesOrganize data in tables– Link tables to each other through their primary Link tables to each other through their primary

keyskeys

• Object-oriented databasesObject-oriented databases– Store data in objectsStore data in objects– Also store methods for processing dataAlso store methods for processing data– Handle unstructured dataHandle unstructured data

Page 14: Technology in Action

© 2009 Prentice-Hall, Inc. 14

Database TypesDatabase Types

• Multidimensional databasesMultidimensional databases– Stores data in multiple dimensionsStores data in multiple dimensions– Organize data in a cube formatOrganize data in a cube format– Can easily be customizedCan easily be customized– Process data much fasterProcess data much faster

Page 15: Technology in Action

© 2009 Prentice-Hall, Inc. 15

Database Management Database Management Systems (DBMS)Systems (DBMS)

• Application software designed to capture Application software designed to capture and analyze dataand analyze data

• Four main operations of a DBMS are:Four main operations of a DBMS are:1.1. Creating databases and entering dataCreating databases and entering data

2.2. Viewing and sorting dataViewing and sorting data

3.3. Extracting dataExtracting data

4.4. Outputting dataOutputting data

Page 16: Technology in Action

© 2009 Prentice-Hall, Inc. 16

Creating Databases and Creating Databases and Entering DataEntering Data

• Create Create field field names:names:– Identify Identify

each type each type of dataof data

– Data Data dictionarydictionary

Page 17: Technology in Action

© 2009 Prentice-Hall, Inc. 17

Creating Databases and Creating Databases and Entering Data (cont.)Entering Data (cont.)

• Create Create individual individual records:records:– Key-inKey-in– ImportImport– Input form Input form

Page 18: Technology in Action

© 2009 Prentice-Hall, Inc. 18

Data ValidationData Validation

• Validation Validation – Process of ensuring data entered into the database Process of ensuring data entered into the database

is correct (or at least reasonable) and completeis correct (or at least reasonable) and complete

• Validation rulesValidation rules– Range checkRange check– Completeness checkCompleteness check– Consistency checkConsistency check– Alphabetic/numeric checksAlphabetic/numeric checks

Page 19: Technology in Action

© 2009 Prentice-Hall, Inc. 19

Data ValidationData Validation

• Example of completeness checkExample of completeness check

Page 20: Technology in Action

© 2009 Prentice-Hall, Inc. 20

Viewing and Sorting DataViewing and Sorting Data• Browse Browse

through through recordsrecords

• Sort Sort records by records by field namefield name

Before sort

After sort

Page 21: Technology in Action

© 2009 Prentice-Hall, Inc. 21

Extracting or Querying DataExtracting or Querying Data

• Query Query – A question or A question or

inquiryinquiry– Provides Provides

records based records based on criteriaon criteria

– Structured Structured query query language language (SQL)(SQL)

Page 22: Technology in Action

© 2009 Prentice-Hall, Inc. 22

Outputting DataOutputting Data

• Reports:Reports:– PrintedPrinted– Summary data reportsSummary data reports

• Export dataExport data

Page 23: Technology in Action

© 2009 Prentice-Hall, Inc. 23

Relational Database OperationsRelational Database Operations• Organize data Organize data

into tablesinto tables

• Relationships Relationships are links are links between between tables with tables with related datarelated data

• Common Common fields between fields between tables need to tables need to existexist

Page 24: Technology in Action

© 2009 Prentice-Hall, Inc. 24

Relational Database OperationsRelational Database Operations

• Normalization of data (recording data Normalization of data (recording data once) reduces data redundancyonce) reduces data redundancy

• Foreign key: The primary key of one table Foreign key: The primary key of one table included in another to establish included in another to establish relationships with that other tablerelationships with that other table

Page 25: Technology in Action

© 2009 Prentice-Hall, Inc. 25

Data StorageData Storage

• Data warehousesData warehouses– A large scale A large scale

repository of datarepository of data– Organizes all the Organizes all the

data related to an data related to an organizationorganization

– Data is organized Data is organized by subjectby subject

Page 26: Technology in Action

© 2009 Prentice-Hall, Inc. 26

• Source dataSource data– Internal Internal sourcessources

• Company databases, etc.Company databases, etc.

– External External sources sources • Suppliers, vendors, etc.Suppliers, vendors, etc.

– Customers or Web site visitors Customers or Web site visitors • Clickstream dataClickstream data

Populating Data WarehousesPopulating Data Warehouses

Page 27: Technology in Action

© 2009 Prentice-Hall, Inc. 27

• Data stagingData staging

– Extract data from sourceExtract data from source

– Reformat the dataReformat the data

– Store the dataStore the data

• Software programs/procedures created Software programs/procedures created to extract the data and to reformat it for to extract the data and to reformat it for storagestorage

Data StagingData Staging

Page 28: Technology in Action

© 2009 Prentice-Hall, Inc. 28

• Small slices of dataSmall slices of data

• Data of a single departmentData of a single department

Data MartsData Marts

Page 29: Technology in Action

© 2009 Prentice-Hall, Inc. 29

Data Warehouse ProcessData Warehouse Process

Page 30: Technology in Action

© 2009 Prentice-Hall, Inc. 30

Managing Data: Managing Data: Information SystemsInformation Systems

• Information systemsInformation systems– Software-based solutions used to gather and Software-based solutions used to gather and

analyze informationanalyze information

• Functions performed by information Functions performed by information systems includesystems include– Acquiring dataAcquiring data– Processing data into informationProcessing data into information– Storing dataStoring data– Providing output optionsProviding output options

Page 31: Technology in Action

© 2009 Prentice-Hall, Inc. 31

Information Systems CategoriesInformation Systems Categories

• Office support systemsOffice support systems

• Transaction processing systemsTransaction processing systems

• Management information systemsManagement information systems

• Decision support systemsDecision support systems

Page 32: Technology in Action

© 2009 Prentice-Hall, Inc. 32

Office Support Systems (OSSs)Office Support Systems (OSSs)

• Assist employees in day-to-day tasksAssist employees in day-to-day tasks

• Improve communicationsImprove communications

• Example: Microsoft OfficeExample: Microsoft Office

• Include e-mail, word processing, Include e-mail, word processing, spreadsheet, database, and presentation spreadsheet, database, and presentation programsprograms

Page 33: Technology in Action

© 2009 Prentice-Hall, Inc. 33

Transaction Processing Transaction Processing Systems (TPSs)Systems (TPSs)

• Keeps track of Keeps track of everyday everyday business business activitiesactivities

• Batch Batch processingprocessing

• Real-time Real-time processingprocessing

Page 34: Technology in Action

© 2009 Prentice-Hall, Inc. 34

Management Information Management Information Systems (MISs)Systems (MISs)

• Provide timely and accurate information for Provide timely and accurate information for managers to make business decisionsmanagers to make business decisions

• Detail report:Detail report:– Transactions that Transactions that

occur during a occur during a period of timeperiod of time

• Summary report:Summary report:– Consolidate detailed Consolidate detailed

datadata• Exception report:Exception report:

– Show unusual Show unusual conditions conditions

Page 35: Technology in Action

© 2009 Prentice-Hall, Inc. 35

Decision Support Systems Decision Support Systems (DSSs)(DSSs)

• Help managers develop solutions for Help managers develop solutions for specific problemsspecific problems

Page 36: Technology in Action

© 2009 Prentice-Hall, Inc. 36

Model Management Systems Model Management Systems

• Software that assists in building Software that assists in building management models in DSSs management models in DSSs

• Can be built to describe any business Can be built to describe any business situation situation

• Typically contain financial and statistical Typically contain financial and statistical analysis tools analysis tools

Page 37: Technology in Action

© 2009 Prentice-Hall, Inc. 37

Knowledge-Based SystemsKnowledge-Based Systems

• Expert system: Replicates human experts Expert system: Replicates human experts

• Natural language processing (NLP) Natural language processing (NLP) system: Enables users to communicate system: Enables users to communicate with computers using a natural spoken or with computers using a natural spoken or written language written language

• Artificial intelligence (AI): Branch of Artificial intelligence (AI): Branch of computer science that deals with computer science that deals with attempting to create computers that think attempting to create computers that think like humans like humans

Page 38: Technology in Action

© 2009 Prentice-Hall, Inc. 38

Data MiningData Mining

• Process by which Process by which great amounts ofgreat amounts of data data are analyzed and investigatedare analyzed and investigated

• Objective is to spot patterns or trends Objective is to spot patterns or trends within the datawithin the data

Page 39: Technology in Action

© 2009 Prentice-Hall, Inc. 39

Data Mining MethodsData Mining Methods

• ClassificationClassification– Define data classesDefine data classes

• EstimationEstimation– Assign a value to dataAssign a value to data

• Affinity grouping or association rulesAffinity grouping or association rules– Determine which data goes togetherDetermine which data goes together

• ClusteringClustering– Organize data into subgroupsOrganize data into subgroups

• Description and visualizationDescription and visualization– Get a clear picture of what is happeningGet a clear picture of what is happening

Page 40: Technology in Action

© 2009 Prentice-Hall, Inc. 40

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• What is a database, and why is it What is a database, and why is it beneficial to use databases?beneficial to use databases?

Page 41: Technology in Action

© 2009 Prentice-Hall, Inc. 41

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• What components make up a database?What components make up a database?

Page 42: Technology in Action

© 2009 Prentice-Hall, Inc. 42

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• What types of databases are there?What types of databases are there?

Page 43: Technology in Action

© 2009 Prentice-Hall, Inc. 43

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• What do database management systems What do database management systems do?do?

Page 44: Technology in Action

© 2009 Prentice-Hall, Inc. 44

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• How do relational databases organize and How do relational databases organize and manipulate data?manipulate data?

Page 45: Technology in Action

© 2009 Prentice-Hall, Inc. 45

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• What are data warehouses and data What are data warehouses and data marts, and how are they used?marts, and how are they used?

Page 46: Technology in Action

© 2009 Prentice-Hall, Inc. 46

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• What is an information system, and what What is an information system, and what types of information systems are used in types of information systems are used in business?business?

Page 47: Technology in Action

© 2009 Prentice-Hall, Inc. 47

Chapter 11 Summary QuestionsChapter 11 Summary Questions

• What is data mining, and how does it What is data mining, and how does it work?work?