Professional Documents
Culture Documents
Technology
2nd Edition
Turban, Rainer & Potter
© 2003 John Wiley & Sons, Inc.
Chapter 5:
Managing Organizational Data and
Information
Prepared by:
Roberta M. Roth, Ph.D.
University of Northern Iowa
related files
Turban, Rainer & Potter
© 2003 John Wiley & Sons, Inc.
Data Management Terminology
Entity - a person, place, thing, or event
about which information is maintained
Records describe entities
Attribute - each characteristic or quality
describing a particular entity
Fields describe attributes
Primary Key - field that uniquely
identifies the record
Secondary Key - field does not identify
the records uniquely, but can be used to
form logical groups of records
Introduction to Information Technology, 2nd Edition
Turban, Rainer & Potter 5-4
© 2003 John Wiley & Sons, Inc.
Storing and Accessing Records
Sequential media (tape) stores records
sequentially based on key values
Direct (or random) media (disks) use other
techniques:
Indexed Sequential Access Method (ISAM)
• Uses an index to locate individual records
• Index - lists the key field of each record and where
that record is physically located
Direct File Access Method
• Uses the key field to locate the physical address of
a record
• Transform algorithm - translates the key field value
directly into the record’s storage location
within
Turban, Rainer & Potter an
© 2003 John Wiley & Sons, Inc.
application 5-19
DBMS: Logical versus Physical
View
Logical view - represents data in a
format that is meaningful to a user
(e.g., tables with fields and records)
Physical view - deals with the
actual, physical arrangement and
location of data in the direct access
storage devices (DASD)
DBMSs shield the user from
having to know about the
physical location of the data;
user only has to know the logical
way it’s organized
Introduction to Information Technology, 2nd Edition
Turban, Rainer & Potter 5-20
© 2003 John Wiley & Sons, Inc.
DBMS Components
Data Model
Defines the way data are conceptually
structured
Data Definition Language (DDL)
Used to define the content and structure of
the data base
Users define their logical view (schema) of
the database using the DDL
Physical characteristics of records and fields
are defined
Relationships, primary keys, and security can
be established
Introduction to Information Technology, 2nd Edition
Turban, Rainer & Potter 5-21
© 2003 John Wiley & Sons, Inc.
More DBMS Components
Data Manipulation Language (DML)
Used to query the contents of the
database, store or update information
in the database, and develop database
applications
Structured query language (SQL) -
most popular relational database
language
Data Dictionary
stores definitions of data elements and
data characteristics
Introduction to Information Technology, 2nd Edition
Turban, Rainer & Potter 5-22
© 2003 John Wiley & Sons, Inc.
DBMS Benefits
Improved strategic use of corporate data
Reduced complexity of IS environment
Reduced data redundancy and
inconsistency
Enhanced data integrity
Application/data independence
Improved security
Reduced development and maintenance
costs
Improved IS flexibility
Introduction to Information Technology, 2nd Edition
Increased data access
Turban, Rainer & Potter
© 2003 John Wiley & Sons, Inc.
5-23
Logical Data Models
A manager’s ability to use a database depends
on how the database is structured logically and
physically.
In a logically structuring database, consider the
characteristics of the data and how the data will
be accessed.
Three common data models : hierarchical,
network, and relational
Using these models, database designer can
build logical or conceptual view of data that can
then be physically implemented into virtually
any database with any DBMS.