Supply Chain Enterprise Resources Planning and Business

Download Report

Transcript Supply Chain Enterprise Resources Planning and Business

Technology Guide 3
Data and Database
T3-1
IT for Management
Prof. Efraim Turban
File Management
Database
File
File
Record
Field
Byte
Field
Field
Byte
Bit
T3-2
Record
Field
Byte
Bit
Bit
Byte
Bit
Hierarchy of data for a computer-based file
IT for Management
Prof. Efraim Turban
File Management
• Entity
– a person, place, thing, or event on which
we maintain information
• Attribute
– characteristic or quality describing a
particular entity
– corresponds to a field
• Key Field
– a file that uniquely identifies that record
– an identified filed
T3-3
IT for Management
Prof. Efraim Turban
Accessing Records from
Computer Files
• Sequential File Organization
– data records must be retrieved in the
same physical sequence in which they
are stored
– magnetic tape
• Direct or Random File Organization
T3-4
– Users can access records in an
sequence, without regard to actual
physical order on the storage medium
– magnetic disks
IT for Management
Prof. Efraim Turban
Problems Arising
from the Environment
• Data Redundancy : the same piece of information could be
•
•
•
•
•
T3-5
duplicated in several files
Data Inconsistency : the actual values across various
copies of the data no longer agree
Data Isolation : data files are organized differently, stored
in different formats, and often physically inaccessible to
other applications
Security : new application may be added to the system on
an ad hoc basis
Data Integrity : data values must often meet integrity
constraints
Application/Data Independence : application should not
have to be developed with regard to how the data are stored
IT for Management
Prof. Efraim Turban
Database and
Database Management Systems
• Database
– an organized logical grouping of related files
– no data redundancy, data isolation, and data
inconsistency
• Database Management Systems (DBMS)
– a program that provides access to a database
– permits an organization to centralize data,
manage them efficiently, and provide access
to the stored data by application programs
T3-6
IT for Management
Prof. Efraim Turban
Specialized Database
• Geographical Information Database
– contains locational data for overlaying on
maps or images
• Knowledge Database
– stores decision rules used to evaluate
situations and helps users make decisions
like an expert
• Multimedia Database
T3-7
– Stores data on many media – sounds,
video, images, graphic animation, and text
IT for Management
Prof. Efraim Turban
Data Definition Language
(DDL)
• Schema
– the logical description of the entire
database and the listing of all the
data items and the relationships
among them
• Subschema
– the specific set of data from the
database that is required by each
application
T3-8
IT for Management
Prof. Efraim Turban
Data Manipulation language
(DML)
• Structured Query Language (SQL)
– combines both DML and DDL features
– offers the ability to perform complicated
searches with relatively simple statements
• Query-by-example (QBE)
– allows users to select a table and chooses
the fields to be included in the answer as
the example he provided
T3-9
IT for Management
Prof. Efraim Turban
Data Dictionary
• Data dictionary is a file that stores
definitions of data elements and
data characteristics such as usage,
physical representation, ownership,
authorization, and security
T3-10
IT for Management
Prof. Efraim Turban
Hierarchical Database Model
• It relates data by rigidly structuring data
into an inverted “tree”
• A single root or master field (Key)
– identifies the type location, or ordering of
the records
• A variable number of subordinate fields
– defines the rest of the data within a record
T3-11
IT for Management
Prof. Efraim Turban
Network Database Model
• It creates relationships among data
through a linked-list structure in
which subordinated records can be
linked to more than one parent
• Pointers
– link subordinates and parents
– storage addresses that contain the
location of the related record
T3-12
IT for Management
Prof. Efraim Turban
Relational Database Model
T3-13
• It is based on the simple concept of
tables in order to capitalize on
characteristics of rows and columns
of data, which is consistent with
real-world business situations
• Relations : table
• Record : row of data
• Field : column of data
• Object-relational Database Systems
IT for Management
Prof. Efraim Turban
Creating Database
• Conceptual Design
– an abstract model of the database
from the user or business perspective
– Describes how the data elements in
the database are to be grouped
• Physical Design
– shows how the database is actually
arranges on direct access storage
devices
T3-14
IT for Management
Prof. Efraim Turban
Entity-relationship Modeling
T3-15
• Entity is something that can be identified
in the users’ work environment
• Instance of an entity is the representation
of a particular entity
• Attributes describe the entity’s
characteristics
• Identifiers are attributes that identify
entity instances
• Relationships can include many entities
IT for Management
Prof. Efraim Turban
Entity-Relationship Diagram
Name
Departmet
Attribute
Entity
Major
Student
ID Number
T3-16
Relationship
Table
Class
1:N
One to many
Name
Professor
Class Taught
IT for Management
Prof. Efraim Turban
Normalization of
Relational Databases
• Functional Dependency
– a relationship between or
among attributes, where,
given the value of one
attribute, we can obtain the
value of another attribute
T3-17
IT for Management
Prof. Efraim Turban
Emerging Database Models
• Multimedia Database : an additional
database that enables end users to quickly
retrieve and present completes data that
involve many dimensions
• Deductive Databases
• Object-oriented Database : used for OO
programming
• Multimedia and Hypermedia Database
: analogous to textual and numeric data
T3-18
IT for Management
Prof. Efraim Turban
Data Warehouses
• It is an additional database that is designed to
support DSS, EIS, online analytical process
(OLAP), and other end-user activities.
• It can provide an “executive view” of data
and a unified corporate picture to the endusers by combining the data from many
operational systems and incompatible
databases without affecting the performance
of the running operational systems
T3-19
IT for Management
Prof. Efraim Turban
Database Topology
• Centralized Database has all the related
files in one physical location
• Distributed Database has complete
copies of a database, or portions of a
database, in more than one locations
• Replicated Database has complete copies
of the entire database in several locations
• Partitioned Database is subdivided, so
T3-20
that each location has a portion of the entire
database
IT for Management
Prof. Efraim Turban
Physical vs. Logical Data View
• Physical View
– deals with the actual, physical
arrangement and location of data in the
direct access storage devices (DASD)
• Logical View
– represents data in a format that is
meaningful to a user and to the software
programs that process that data
T3-21
IT for Management
Prof. Efraim Turban
Database Management
• Database Design
• Database Implementation
• Database Administrators
– responsible for ensuring that the
database fulfills that user’s business
needs, in terms of functionality s
well for the data itself
T3-22
IT for Management
Prof. Efraim Turban
Copyright  2001 John Wiley & Sons, Incorporated. All
rights reserved. Reproduction or translation of this work
beyond that permitted in Section 117 of the 1976 United
States Copyright Act without the express written
permission of the copyright owner in unlawful. Request
for further information should be addressed to the
Permissions Department, John Wiley & Son, Inc.
Adopters of the textbook are granted permission to make
back-up copies for his/her own use only, to make copies
for distribution to student of the course the textbook is
used in, and to modify this material to best suit their
instructional needs. Under no circumstances can copies
be made for resale. The publisher assumes no
responsibility for errors, omissions, or damages, caused
by the use of these programs or from the use of the
information contained herein.
6-23