51
Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Embed Size (px)

Citation preview

Page 1: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition

Chapter 3 Database Systems and Business

Intelligence

Page 2: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 2

Principles and Learning Objectives

• Data management and modeling are key aspects of organizing data and information– Define general data management concepts and

terms, highlighting the advantages of the database approach to data management

– Describe the relational database model and outline its basic features

Page 3: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 3

Principles and Learning Objectives (continued)

• A well-designed and well-managed database is an extremely valuable tool in supporting decision making– Identify the common functions performed by all

database management systems, and identify popular database management systems

• The number and types of database applications will continue to evolve and yield real business benefits– Identify and briefly discuss current database

applications

Page 4: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 4

Data Management

• Without data and the ability to process it an organization could not successfully complete most business activities

• For data to be transformed into useful information, it must first be organized in a meaningful way

Page 5: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

The Hierarchy of Data

• Bit – Circuit that is either on or off – Eight bits = one byte

• Character– Basic building block of information

• Field– Name, number, or combination of characters that

describes an aspect of a business object or activity

Fundamentals of Information Systems, Fifth Edition 5

Page 6: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 6

The Hierarchy of Data (continued)

• Record– Collection of related data fields

• File– Collection of related records

• Database– Collection of integrated and related files

• Hierarchy of data– Bits, characters, fields, records, files, and databases

Page 7: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 7

The Hierarchy of Data (continued)

Page 8: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Data Entities, Attributes, and Keys

• Entity– Generalized class of people, places, or things for

which data is collected, stored, and maintained

• Attribute– Characteristic of an entity

• Data item– Value of an attribute

Fundamentals of Information Systems, Fifth Edition 8

Page 9: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 9

Data Entities, Attributes, and Keys (continued)

• Key– Field or set of fields in a record that is used to

identify the record

• Primary key– Field or set of fields that uniquely identifies the

record

Page 10: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 10

Data Entities, Attributes, and Keys (continued)

Page 11: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

The Database Approach

• Traditional approach to database management – Separate data files are created and stored for each

application program

• Database approach to database management– Multiple application programs share a pool of related

data

Fundamentals of Information Systems, Fifth Edition 11

Page 12: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 12

The Database Approach (continued)

Page 13: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 13

The Database Approach (continued)

Page 14: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 14

Data Modeling and Database Characteristics

• When building a database, consider:– Content: What data should be collected, at what

cost?– Access: What data should be provided to which

users and when?– Logical structure: How should data be arranged to

make sense to a given user?– Physical organization: Where should data be

physically located?

Page 15: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Data Modeling

• Building a database requires two types of designs– Logical design

• Abstract model of how data should be structured and arranged to meet an organization’s information needs

– Physical design• Fine-tunes the logical database design for

performance and cost considerations

Fundamentals of Information Systems, Fifth Edition 15

Page 16: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Data Modeling (continued)

• Planned data redundancy– Improves system performance

• Data model– Diagram of data entities and their relationships

• Enterprise data modeling– Data modeling done at the level of the entire

enterprise

• Entity-relationship (ER) diagrams– Data models that use basic graphical symbols to show

the organization of and relationships between data

Fundamentals of Information Systems, Fifth Edition 16

Page 17: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 17

Data Modeling (continued)

Page 18: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 18

The Relational Database Model

• Relational model– Describes data using a standard tabular format– Data elements are placed in two-dimensional tables,

called relations, the logical equivalent of files

• Domain– Allowable values for data attributes

Page 19: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 19

The Relational Database Model (continued)

Page 20: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Manipulating Data

• Selecting– Eliminates rows according to criteria

• Projecting– Eliminates columns in a table

• Joining– Combines two or more tables

• Linking– Combines two or more tables using common data

attributes

Fundamentals of Information Systems, Fifth Edition 20

Page 21: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 21

Manipulating Data (continued)

Page 22: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 22

Manipulating Data (continued)

Page 23: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 23

Database Management Systems (DBMS)

• Group of programs used as an interface between a database and application programs or a database and the user

• Used to manage all kinds of data for all kinds of purposes

Page 24: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Overview of Database Types

• Flat file– Simple database program whose records have no

relationship to one another

• Single user– Only one person can use the database at a time

• Multiple user– Allows dozens or hundreds of people to access the

same database system at the same time– Examples: Oracle, Sybase, and IBM

Fundamentals of Information Systems, Fifth Edition 24

Page 25: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Providing a User View

• Schema– Logical and physical structure of the data and

relationships among the data in the database – Can be part of the database or a separate schema

file

Fundamentals of Information Systems, Fifth Edition 25

Page 26: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Creating and Modifying the Database

• Data definition language (DDL)– Collection of instructions/commands that define and

describe data and data relationships in a database– Allows database creator to describe the data and the

data relationships that are to be contained in the schema

• Data dictionary– Detailed description of all the data used in the

database

Fundamentals of Information Systems, Fifth Edition 26

Page 27: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 27

Creating and Modifying the Database (continued)

Page 28: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 28

Creating and Modifying the Database (continued)

Page 29: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Storing and Retrieving Data

• One function of a DBMS is:– To be an interface between an application program

and the database

• Concurrency control– Method of dealing with a situation in which two or

more people need to access the same record in a database at the same time

Fundamentals of Information Systems, Fifth Edition 29

Page 30: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 30

Storing and Retrieving Data (continued)

Page 31: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 31

Manipulating Data and Generating Reports

• Query-by-example (QBE)– Visual approach to developing database queries or

requests

• Data manipulation language (DML)– Commands that manipulate the data in a database

• Structured Query Language (SQL)– Standardized data manipulation language– Lets programmers learn one powerful query

language and use it on systems ranging from PCs to the largest mainframe computers

Page 32: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 32

Manipulating Data and Generating Reports (continued)

Page 33: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 33

Database Administration

• Database administrator (DBA) should: – Have a clear understanding of the fundamental

business of the organization – Be proficient in the use of selected database

management systems – Stay abreast of emerging technologies and new

design approaches

Page 34: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 34

Popular Database Management Systems

• Popular DBMSs for end users– Microsoft Access and FileMaker Pro

• Emerging software– Database as a Service (DaaS) or Database 2.0– Database administration is provided by the service

provider

Page 35: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 35

Special-Purpose Database Systems

• Specialized database packages – Israeli Holocaust Database– Morphbank– iTunes Store music and video catalog

Page 36: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Selecting a Database Management System

• Important characteristics of databases: – Database size– Database cost– Concurrent users– Performance– Integration– Vendor

Fundamentals of Information Systems, Fifth Edition 36

Page 37: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Using Databases with Other Software

• Database management systems are often used with other software packages or the Internet

• Front-end application– Directly interacts with users

• Back-end application– Interacts with applications

Fundamentals of Information Systems, Fifth Edition 37

Page 38: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Database Applications

• Manipulate content of a database to produce useful information

• Common manipulations– Searching, filtering, synthesizing, and assimilating

data

Fundamentals of Information Systems, Fifth Edition 38

Page 39: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 39

Linking Databases to the Internet

• Semantic Web– Developing a seamless integration of traditional

databases with the Internet– Allows people to access and manipulate a number of

traditional databases at the same time through the Internet

Page 40: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 40

Data Warehouses, Data Marts, and Data Mining

• Data warehouse– Holds business information from many sources in

the enterprise

• Data mart– Subset of a data warehouse

• Data mining– Information-analysis tool for discovering patterns and

relationships in a data warehouse– Predictive analysis: Combines historical data with

assumptions about future conditions

Page 41: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 41

Data Warehouses, Data Marts, and Data Mining (continued)

Page 42: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 42

Data Warehouses, Data Marts, and Data Mining (continued)

Page 43: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 43

Business Intelligence

• Gathering the right information in a timely manner and usable form and analyzing it to have a positive impact on business

• Competitive intelligence– Limited to information about competitors and the

ways that knowledge affects strategy, tactics, and operations

• Counterintelligence – Steps an organization takes to protect information

sought by “hostile” intelligence gatherers

Page 44: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Distributed Databases

• Data may be spread across several smaller databases connected via telecommunications devices

• Give corporations and other organizations more flexibility in how databases are organized and used

• Replicated database– Holds a duplicate set of frequently used data

Fundamentals of Information Systems, Fifth Edition 44

Page 45: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 45

Distributed Databases (continued)

Page 46: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 46

Online Analytical Processing (OLAP)

• Software that allows users to explore data from a number of perspectives

• Provides top-down, query-driven data analysis

• Requires repetitive testing of user originated theories

Page 47: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 47

Online Analytical Processing (OLAP) (continued)

Page 48: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 48

Object-Relational Database Management Systems

• Object-oriented database– Database that stores both data and its processing

instructions• Object-oriented database management system

(OODBMS)– Programs that manipulate an object-oriented

database and provide a user interface and connections to other application programs

• Object-relational database management system (ORDBMS)– Capable of manipulating audio, video, and graphical

data

Page 49: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 49

Visual, Audio, and Other Database Systems

• Virtual database systems– Allow different databases to work together as a

unified database system

• Spatial data technology – Use of a database to store and access data

according to the locations it describes

Page 50: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Summary

• Data– Organized into a hierarchy that builds from the

smallest element to the largest

• Traditional file-oriented applications – Often characterized by program-data dependence

• Data model – Map or diagram of entities and their relationships

• DBMS– Group of programs used as an interface between a

database and its users and other applications

Fundamentals of Information Systems, Fifth Edition 50

Page 51: Fundamentals of Information Systems, Fifth Edition Chapter 3 Database Systems and Business Intelligence

Fundamentals of Information Systems, Fifth Edition 51

Summary (continued)

• After a DBMS has been installed– It can be accessed, modified, and queried via a data

manipulation language

• Data warehouse– Relational database management systems

specifically designed to support management decision making

• Business intelligence – Getting enough of the right information in a timely

manner and usable form