about the presentations - emu academic staff directory · •the importance of database design...

92
© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part. About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning of each presentation. You may customize the presentations to fit your class needs. Some figures from the chapters are included.

Upload: hanhu

Post on 20-May-2018

215 views

Category:

Documents


1 download

TRANSCRIPT

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

About the Presentations

• The presentations cover the objectives found in

the opening of each chapter.

• All chapter objectives are listed in the beginning

of each presentation.

• You may customize the presentations to fit your

class needs.

• Some figures from the chapters are included.

Database Principles:

Fundamentals of Design,

Implementation, and ManagementTenth Edition

Chapter 1The Database Approach

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Objectives

In this chapter, you will learn:

• The difference between data and information

• What a database is, the various types of databases, and why they are valuable assets for decision making

• The importance of database design

• How modern databases evolved from file systems

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Objectives (cont’d.)

• About flaws in file system data management

• The main components of the database system

• The main functions of a database management system (DBMS)

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Introduction

• Good decisions require good information derived from raw facts

• Data is managed most efficiently when stored in a database

• Databases evolved from computer file systems

• Understanding file system characteristics is important

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Why Databases?

• Databases solve many of the problems encountered in data management

▫ Used in almost all modern settings involving data management:

Business

Research

Administration

• Important to understand how databases work and interact with other applications

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Data versus Information

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Data versus Information

• Data

▫ Collected facts about a topic or item

• Information

▫ The result of combining, comparing, and performaing calculations on data

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Data versus Information : An Example

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Database Design A database:

• Is a centralized and structured set of data stored on a computer system.

• Provides facilities for retrieving, adding, modifying, and deleting the data when required.

• Provides facilities for transforming retrieved data into useful information.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Database Management System

• A DBMS is software that controls the storage, organization, and retrieval of data.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Role and Advantages of the DBMS

• DBMS is the intermediary between the user and the database

▫ Database structure stored as file collection

▫ Can only access files through the DBMS

• DBMS enables data to be shared

• DBMS integrates many users’ views of the data

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Role and Advantages of the DBMS

(cont’d.)

• Advantages of a DBMS:

▫ Improved data sharing

▫ Improved data security

▫ Better data integration

▫ Minimized data inconsistency

▫ Improved data access

▫ Improved decision making

▫ Increased end-user productivity

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Improved data sharing

• The DBMS helps create an environment in which end users have better access to more and better-managed data.

• Such access makes it possible for end users to respond quickly to changes in their environment.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Improved data security• The more users access the data, the greater the

risks of data security breaches.

• A DBMS provides a framework for better enforcement of data privacy and security policies.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Better data integration• Wider access to well-managed data promotes an

integrated view of the organization’s operations and a clearer view of the big picture.

• It becomes much easier to see how actions in one segment of the company affect other segments.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Minimized data inconsistency• Data Inconsistency exists when different

version of the same data appear in different places.▫ Example: Data inconsistency exixts when a company’s

sales department stores a sales representative’s name as W. Bill Brown and the company’s personnel department stores that same person’s name as William B. Brown.

• The probability of data inconsistency is greatly reduced in a properly designed database.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Improved data access

• The DBMS makes it possible to produce quick answers to ad hoc queries.▫ The word Ad hoc comes from Latin which means "for the purpose". It

generally refers to anything that has been designed to answer very specific problems.

• From a database perspective, a query is a specific request issued to the DBMS for data manipulation.

• The DBMS sends back an answer to the application.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Improved decision making• Better-managed data and improved data access

make it possible to generate better-quality information, on which better decisions are based.

• The quality of the information generated depends on the quality of the underlying data.

• Data Quality is a comprehensive approach to promoting the accuracy, validity, and timeliness (up-to-dateness) of the data.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Improved end-user productivity

• The availability of data, combined with the tools that transform data into usable information, autorizes end users to make quick, informed decisions that can make difference between success and failure in the global economy.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Types of Databases• Databases can be classified according to:

▫ Number of users

▫ Database location(s)

▫ Expected type and extent of use

• Single-user database supports only one user at a time

▫ Desktop database: single-user; runs on PC

• Multiuser database supports multiple users at the same time

▫ Workgroup and enterprise databases

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Types of Databases (cont’d.)

• Centralized database: data located at a single site

• Distributed database: data distributed across several different sites

• Operational database: supports a company’s day-to-day operations

▫ Transactional or production database

• Data warehouse: stores data used for tactical or strategic decisions

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Types of Databases (cont'd.)

• Unstructured data exist in their original state

• Structured data result from formatting

▫ Structure applied based on type of processing to be performed

• Semi-structured data have been processed to some extent

• Extensible Markup Language (XML) is a special language used to represents and manipulate data elements in textual format

▫ XML database supports semi structured XML data

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

3 Vendor offers single-user / personal DBMS version

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Impact of Internet over Data

Handling and Processing

• Websites such as

capture vast amount of data about end-users and consumers.

• These data grow exponentially and require the use of specialized database systems.

• The new type of database known as a NoSQL (Not only SQL) database, is generally used to describe a new generation of database management systems that is not based on the traditional relational database model.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Why Database Design Is Important

• Database design focuses on design of database structure used for end-user data

▫ Designer must identify database’s expected use

• Well-designed database:

▫ Facilitates data management

▫ Generates accurate and valuable information

• Poorly designed database:

▫ Causes difficult-to-trace errors

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

History of the Database TimelineYear Description

1960s Computers become cost-effective for private companies along with

increased storage capability.

1970-72 E.F. Codd proposes the relational model for databases, disconnecting the

logical organization from the physical storage.

1976 P.Chen proposes the entity relationship model (ERM) for database design.

Early 1980s The first commercially available relational database systems start to

appear at the beginning of the 1980s with Oracle Version 2.

Mid-1980s SQL (Structures Query Language) become widely used.

1990s The large investment in internet companies helps create a tools market

boom for web / internet / DB connectors.

Early 21st

century

Solid growth of DB applications continues. Examples: commercial

websites (yahoo.com, amazon.com), government systems (Bureau of

Citizenship and Immigration Services, Bureau of the Census), art

museums, hospitals, schools.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

File Systems

vs

Database Systems!!!

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Evolution of File System Data Processing

• Reasons for studying file systems:▫ Complexity of database design is easier to

understand▫ Understanding file system problems helps to avoid

problems with DBMS systems▫ Knowledge of file system is useful for converting

file system to database system

• File systems typically composed of collection of file folders, each tagged and kept in cabinet▫ Organized by expected use

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Evolution of File System Data Processing

(cont'd.)

• Contents of each file folder are logically related• Manual file systems

▫ Served as a data repository for small data collections

▫ Cumbersome for large collections

• Computerized file systems▫ Data processing (DP) specialist converted

computer file structure from manual system Wrote software that managed the data Designed the application programs

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Evolution of File System Data Processing

(cont'd.)

• Initially, computer file systems resembled manual systems

• As number of files increased, file systems evolved

▫ Each file used its own application program to store, retrieve, and modify data

▫ Each file was owned by individual or department that commissioned its creation

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

File System Approach: Modern End-User

Productivity Tools

• Ubiquitous use of personal productivity tools can introduce the same problems as the old file systems

• Microsoft Excel

▫ Widely used by business users

▫ Users have become so adept at working with spreadsheets, they tend to use them to complete tasks for which spreadsheets are not appropriate –database substitute

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Problems with File System Data Processing

• Lengthy development times• Even the simplest data-retrieval task requires

extensive programming• Programmers had to specify what must be done

and how to do it.

• Difficult of getting quick answers• The need to write programs to produce even the

simplest reports makes ad hoc queries impossible.• If you need the information now, getting it next

week or next month will not serve your information needs

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Problems with File System Data Processing

(cont'd.)

• Complex system administration

▫ System administration becomes more difficult as the number of files in the system expands.

▫ Even a simple file system with a few files requires creating and maintaining several file management programs.

▫ Each file must have its own file management programs that allow user to add, modify, and delete records.

▫ Because ad hoc queries are not possible

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Problems with File System Data Processing

(cont'd.)

• Lack of security and limited data sharing

▫ Security and data-sharing features are difficult to program and consequently are often omitted from a file system environment.

▫ Such features include effective password protection, the ability to lock out parts of files or parts of the system itself.

▫ Even when an attempt is made to improve system and data security, the scurity devices tend to be limited in scope and effectiveness.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

• Extensive programming

▫ Making changes to an existing file structure can be difficult in a file system environment.

▫ Any change to a file structure, no matter how minor, forces modifications in all of the programs that use the data in that file.

▫ Modifications are likely to produce errors (bugs), and additional time is spent using a debugging process to find those errors.

▫ Those limitations, in turni lead to problems to structural and data dependence.

SPRING 2011- 2012

Problems with File System Data Processing (cont'd.)

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

• Every task requires extensive programming in a third-generation language (3GL)

▫ Programmer must specify task and how it must be done

• Modern databases use fourth-generation languages (4GL)

▫ Allow users to specify what must be done without specifying how it is to be done

Problems with File System Data Processing (cont'd.)

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.SPRING 2011- 2012

Problems with File System Data Processing (cont'd.)

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Structural and Data Dependence

• Structural dependence: access to a file is dependent on its own structure▫ All file system programs must be modified to

conform to a new file structure

• Structural independence: change file structure without affecting data access

• Data dependence: data access changes when data storage characteristics change

• Data independence: data storage characteristics do not affect data access

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Structural and Data Dependence (cont'd.)

• Practical significance of data dependence is difference between logical and physical format

• Logical data format: how human views the data

• Physical data format: how computer must work with data

• Each program must contain:

▫ Lines specifying opening of specific file type

▫ Record specification

▫ Field definitions

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Data Redundancy

• File system structure makes it difficult to combine data from multiple sources

▫ Vulnerable to security breaches

• Organizational structure promotes storage of same data in different locations

▫ Islands of information

• Data stored in different locations is unlikely to be updated consistently

• Data redundancy: same data stored unnecessarily in different places

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Data Redundancy (cont'd.)

• Data inconsistency: different and conflicting versions of same data occur at different places

• Data anomalies: abnormalities when all changes in redundant data are not made correctly

▫ Update anomalies

▫ Insertion anomalies

▫ Deletion anomalies

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Example for Old File Processing Systems

Duplicate Data

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Lack of Design and Data-Modeling

Skills

• Most users lack the skill to properly design databases

▫ Despite multiple personal productivity tools being available

• Data-modeling skills

▫ Vital in the data design process

• Good data modeling facilitates communication between the designer, user, and the developer

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Database Systems

• Database system consists of logically related data stored in a single logical data repository

▫ May be physically distributed among multiple storage facilities

▫ DBMS eliminates most of file system’s problems

▫ Current generation stores data structures, relationships between structures, and access paths

Also defines, stores, and manages all access paths and components

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

The Database System Environment

• Database system: defines and regulates the collection, storage, management, use of data

• Five major parts of a database system:

▫ Hardware

▫ Software

▫ People

▫ Procedures

▫ Data

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

The Database System Environment

(cont'd.)• Hardware: all the system’s physical devices

• Software: three types of software required

▫ Operating system software

▫ DBMS software

▫ Application programs and utility software

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

The Database System Environment

(cont'd.)• People: all users of the database system

▫ System and database administrators

▫ Database designers

▫ Systems analysts and programmers

▫ End users

• Procedures: instructions and rules that govern the design and use of the database system

• Data: the collection of facts stored in the database

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

The Database System Environment

(cont'd.)• Database systems are created and managed at

different levels of complexity

• Database solutions must be cost-effective as well as tactically and strategically effective

• Database technology already in use affects selection of a database system

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Types of Database Models

• Flat File Model

• Relational Model

• Hierarchical Model

• Network Model

• Object-Oriented Model

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Flat File ModelMemberId First_Name Last_Name Address City Zip

Record1 CN0001 Velasquez Carmen 283 King St Seattle 5876

Record2 CN0002 Ngao LaDoris 5 Modrany Boston 5862

Record3 CN0003 Nagayama Midori 8 Centrale Lagos 2544

Record3 CN0003 Nagayama Midori 9 Fox Town Stowe 2544

• A flat file is a database designed around a single table.

• Puts all database information in one table, or list, with fields to represent all parameters.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Flat File Model (cont.)• May contain many fields, often with duplicate data that is

prone to data corruption.

• To merge data between two flat files, you need to copy and paste relevant information from one file to the other.

• No automation between flat files!!!!

• Flat file databases are generally in plain-text form, where each line holds only one record.

• The fields in the record are separated with delimeters, such as tabs and commas.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Hierarchical Model

In a hierarchical database model, the data is organized in a tree-like structure.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Hierarchical Model (cont.)

• The data is stored as records that are connected to one another through links.

• A rocord is a collection of fields.

• Each field contains only one value.

• A record in the hierarchical database model corresponds to a row in the relational database model.

• An entity type corresponds to a table.

• In a hierarchical database model:

▫ Each child record has only one parent.

▫ A parent record can have one or more child records.

• To retrieve data from a hierarchical database, the whole tree needs to be traversed, starting from the root node.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Hierarchical Model (cont.)

• Advantages:

▫ East addition and deletion of new information

▫ Faster access to data at the top of the hierarchy

• Disadvantages:

▫ Increased storage space

▫ Slower access to data at the bottom of the hierarchy

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Hierarchical Model - Example

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Network Model

The network model is a database model that can be regarded as a flexible way of representing objects and their relationships.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Network Model (cont.)• A network database comprised of a collection of records connected

to one another through links.

• Each record is a collection of fields, each of which contains only one data value.

• A link is an association between two records.

• In the Network Model Diagram as depicted in the slide:

▫ Boxes – correspond to fields, like BankId, State and City

▫ Lines – correspond to links that connect one record to another

• In the hierarchical database model, data is represented as a tree of records, with each record having one parent record and many children.

• In a network database model each record can have multiple parent and child records, forming a generalized graph structure.

• The network model enables a more natural way of modeling the relationship between records.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Network Model - Example

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Relational Model

A relational model describes a database in terms of tables, columns, rows, and joins between tables.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Relational Model (cont.)• Data is represented as a collection of tables.

• Each column represents attributes that belong to the table

• Each row represents the instance of the table

• Each table is the visual representation of columns and rows.

• Every table has a field or a set of fields that uniquely identifies the row.

Features of a relational database model:

• The order of the rows and columns is not important.

• Every row is unique. There is a value in each row that is different from that value in another row.

• Each field can contain only one value.

• Values within a column of fields are from the same domain.

• Table names must be unique, and column names within each table must be unique.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Relational Model - Example

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Object – Oriented Model

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Object – Oriented Model (cont.)• An object-oriented data model consists of the following basic

object-oriented concepts:

▫ A entity is modeled as an object

▫ Every object has a state (set of values for the attributes) and a behavior( set of methods that operate on the state of the object).

▫ The values and methods in an object can be accessed or invoked outside the object only through explicit implementation.

▫ The relationship between the objects is through sharing of access rather than through pointers or jions.

▫ An object must belong to only one class as an instance of that class.

▫ You can derive a new class (subclass) from an existing class (superclass).

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Object – Oriented Model (cont.)

Advantages• Reduced maintenance

• Real-world modeling

• High cost reusability

Disadvantages• Many information application systems do not benefit from

object-oriented modeling because it is best suited for dynamic, interactive environments.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Object – Oriented Model - Example

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Examples

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

DBMS Functions

• Most functions are transparent to end users▫ Can only be achieved through the DBMS

• Data dictionary management▫ DBMS stores definitions of data elements and

relationships (metadata) in a data dictionary▫ DBMS looks up required data component

structures and relationships▫ Changes automatically recorded in the dictionary▫ DBMS provides data abstraction and removes

structural and data dependency

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

DBMS Functions (cont'd.)

• Data storage management

▫ DBMS creates and manages complex structures required for data storage

▫ Also stores related data entry forms, screen definitions, report definitions, etc.

▫ Performance tuning: activities that make the database perform more efficiently

▫ DBMS stores the database in multiple physical data files

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

DBMS Functions (cont'd.)

• Data transformation and presentation

▫ DBMS transforms data entered to conform to required data structures

▫ DBMS transforms physically retrieved data to conform to user’s logical expectations

• Security management

▫ DBMS creates a security system that enforces user security and data privacy

▫ Security rules determine which users can access the database, which items can be accessed, etc.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

DBMS Functions (cont'd.)

• Multiuser access control

▫ DBMS uses sophisticated algorithms to ensure concurrent access does not affect integrity

• Backup and recovery management

▫ DBMS provides backup and data recovery to ensure data safety and integrity

▫ Recovery management deals with recovery of database after a failure

Critical to preserving database’s integrity

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

DBMS Functions (cont'd.)

• Data integrity management

▫ DBMS promotes and enforces integrity rules

Minimizes redundancy

Maximizes consistency

▫ Data relationships stored in data dictionary used to enforce data integrity

▫ Integrity is especially important in transaction-oriented database systems

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

DBMS Functions (cont'd.)

• Database access languages and application programming interfaces

▫ DBMS provides access through a query language

▫ Query language is a nonprocedural language

▫ Structured Query Language (SQL) is the de facto query language

Standard supported by majority of DBMS vendors

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

DBMS Functions (cont'd.)

• Database communication interfaces

▫ Current DBMSs accept end-user requests via multiple different network environments

▫ Communications accomplished in several ways:

End users generate answers to queries by filling in screen forms through Web browser

DBMS automatically publishes predefined reports on a Web site

DBMS connects to third-party systems to distribute information via e-mail

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Managing the Database System:

A Shift in Focus• Database system provides a framework in which

strict procedures and standards enforced

▫ Role of human changes from programming to managing organization’s resources

• Database system enables more sophisticated use of the data

• Data structures created within the database and their relationships determine effectiveness

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Managing the Database System:

A Shift in Focus (cont'd.)

• Disadvantages of database systems:

▫ Increased costs

Database systems require sophisticated harware and software and highly skilled personnel.

Training, licensing, and regulation compliance costs are often overlooked when database systems are implemented.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Managing the Database System:

A Shift in Focus (cont'd.)

• Disadvantages of database systems:

▫ Management complexity

The changes introduced by the adoption of a database system must be properly managed to ensure that they help advance the company’s objectives.

Because database systems hold crucial company data that are accessed from multiple sources, security issues must be assessed constantly.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Managing the Database System:

A Shift in Focus (cont'd.)

• Disadvantages of database systems:

▫ Maintaining currency

To minimize the efficiency of the database system, you must keep your system current.

Therefore, you must perform frequent updates and apply the latest patches and security measures to all components.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Managing the Database System:

A Shift in Focus (cont'd.)• Disadvantages of database systems:

▫ Vendor dependence

Given the heavy investment in technology and personnel training, companies might be unwilling to change database vendors.

▫ Frequent upgrade/replacement cycles DBMS vendors frequently upgrade their products by adding

new functionality.

Such new features often come bundled in new versions of the software.

Some migth require hardware updates

It also costs money to train database users and administrators to properly use and manage the new features

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Preparing for Your Database

Professional Career

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Summary• Data are raw facts

• Information is the result of processing data to reveal its meaning

• Accurate, relevant, and timely information is the key to good decision making

• Data are usually stored in a database

• DBMS implements a database and manages its contents

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Summary (cont'd.)

• Metadata is data about data

• Database design defines the database structure

▫ Well-designed database facilitates data management and generates valuable information

▫ Poorly designed database leads to bad decision making and organizational failure

• Databases evolved from manual and computerized file systems

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Summary (cont'd.)• In a file system, data stored in independent files

▫ Each requires its own management program

• Some limitations of file system data management:

▫ Requires extensive programming

▫ System administration is complex and difficult

▫ Changing existing structures is difficult

▫ Security features are likely inadequate

▫ Independent files tend to contain redundant data

Structural and data dependency problems

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S. Edition.

May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

Summary (cont'd.)• Database management systems were developed

to address file system’s inherent weaknesses

• DBMS present database to end user as single repository

▫ Promotes data sharing

▫ Eliminates islands of information

• DBMS enforces data integrity, eliminates redundancy, and promotes security