Information Technology: Chapter Two
Information Technology: Chapter Two
Information Technology: Chapter Two
INFORMATION TECHNOLOGY
File File
Production
Payroll
Planning
File File
Invoicing Inventory
File File
Order
Despatch
Entry
File File
Database Approach
• A database is more than just a collection of
information - such as student and course
information, faculty and grades.
• A database is a representation of the people
and things your business needs to operate,
and the way those people and things relate to
each other.
• A database system supports the business rules
defined by the customer.
Characteristics of DB
• Compactness. Data is stored in a single logical
DB “place.”
• Data can be shared and related between
applications
• Data transfer between applications is easier
• Used for a wide range of applications.
• Data integration and creating pools are easy
• Flexibility of reporting (browsing and searching)
Characteristics of DB
• It Avoid redundancy
• Amount
– Database size depends on the number of records or files it
contains.
• Complexity
– Database complexity depends on the number of relations
between the files.
• Volatility
– A measure of the changes typically required in a given period of
time.
• Immediacy
– A measure of how rapidly changes must be made to data.
DB GRAPHICS
General
Personnel
Ledger
Production
Payroll
Planning
Invoicing Inventory
Order
Despatch
Entry
Advantages of using DB
• Flexible Data Access. DBMSs have various tools to
manipulate, query, or report data, such as Structured Query
Language (SQL), and Report Generators. Hence:
– Selected data is easily retrieved
– A DBMS can accommodate different data views for different
users
• Improved Data Integrity. Modern DBMSs consist of various
tools and methods to:
– ensure that data is correct, consistent, and current
– verify data input and check whether data is ‘reasonable’.
Advantages of using DB
• Improved Data Security. Tools such as password access, and
encryption, ensure that data is not:
– deliberately or accidentally damaged or changed
– accessed without proper authorisation
• Data Independence.
– Problems arising from the interdependence of data and programs
are kept to a minimum.
• Reduced Data Redundancy.
– Single version of the truth.
– Efficient data storage.
– Efficient time management of Hardware (CPU), programmer(s),
analyst(s) and user(s).
– Relational DBs use Normalisation to reduce data redundancy.
Advantages of using DB
• Ability to Share and Relate Data.
– Different user groups can use the same data.
– Data in different (physical or logical) parts of the system can be
related for a certain application.
• Standardisation of Data.
– In general data items have common names and storage format.
• Increased Productivity.
– The various tools reduce the complexity that is otherwise
associated with DB maintenance when changes are required to
the system. For example Law changes, Economy Changes, User
Changes.
Costs of DB Approach
The implementation and use of DBMSs is normally associated
with various costs. Such as:
– Initial expenses involve planning costs, and consultancy
fees.
– Computer hardware costs.
– Software costs.
– Database Administrator costs, and staff training costs.
– Conversion costs of an existing system.
– Various operational costs.
Database Management System
(DBMS)
A database management system (DBMS) is a computer software
application that interacts with the user, other applications, and
the database itself to capture and analyze data.
Database Management Systems (DBMSs) are Computer systems that manage
data in databases.
A general-purpose DBMS is designed to allow the
•definition,
•creation,
•querying,
•update, and
•administration of databases.
•Capturing
•Retrieval
• Storage of data.
Database Management System (DBMS)
• It is an Information Systems process and assist
users to manage data.
• Today’s DBMSs are based on sophisticated
software and powerful computer hardware.
• Well known DBMS software includes ORACLE,
Microsoft SQL Server, Sybase and MySQL(free
download) among others.
Database Management System (DBMS)
• Then each division has several sections with attributes such as name of head,
number of staff, number of PCs etc.
CONTD….
Advantages
High speed access to large databases
Easy to update- (to add or delete new nodes)
Disadvantages
Links are only possible in Vertical Direction (from top to
bottom) but not for horizontal or diagonal unless they
have same parents.
For example, it is hard to find what is the relation between
URP and DCE from this data model.
Network Structure
The relational model is the most widely used of the three database structures. It is used by
most microcomputer DBMS packages, as well as by most midrange and mainframe systems.
In the relational model, all data elements within the database are viewed as being stored in
the form of simple two-dimensional tables , sometimes referred to as relations .
The tables in a relational database are flat files that have rows and columns. Each row
represents a single record in the file, and each column represents a field. The major
difference between a flat file and a database is that a flat file can only have data attributes
specified for one file. In contrast, a database can specify data attributes for multiple files
simultaneously and can relate the various data elements in one file to those in one or more
other files.
Relational Structure
That’s why organizations and their managers need
to practice data resource management , a
managerial activity that applies information
systems technologies like
• database management ,
• data warehousing , and other
data management tools to the task of managing an
organization’s data resources to meet the
information needs of their business stakeholders.
Relational Structure
• The relational model of data is the most
widely used model today.
– Main concept: relation, basically a table with
rows and columns.
Relational Structure
Disadvantages
Require a number of tables and relationship
Its difficult to add a new column in the table.
Object Oriented Database
• An Object Oriented model uses functions to model spatial and non-
spatial relationships of geographic objects and the attributes.
1. Hierarchical 3. Relational
2. Network
4. Object
Types of Databases
Continuing developments in information technology
and its business applications have resulted in the
evolution of several major types of databases .
1. Operational DB
2. Management DB
3. Information Ware house DB
4. Distributed DB
5. End User DB
6. External DB
Operational Databases
Operational databases store detailed data needed to support
the business processes and operations of a company. They
are also called subject area databases (SADB), transaction
databases , and production databases .
Examples are a customer database, human resource database,
inventory database, and other databases containing data
generate by business operations.
For example, a human resource database which include data
identifying each employee and his or her time worked,
compensation, benefits, performance appraisals, training and
development status, and other related human resource data.
Distributed Databases
Many organizations replicate and distribute copies or parts of
databases to network servers at a variety of sites. These
distributed databases can reside on network servers on the
World Wide Web, on corporate intranets or extranets, or on
other company networks.
Distributed databases may be copies of operational or analytical
databases, hypermedia or discussion databases, or any other
type of database. Replication and distribution of databases
improve database performance at end-user worksites.
Ensuring that the data in an organization’s distributed databases
are consistently and concurrently updated is a major challenge
of distributed database management.
Data Warehouses
A data warehouse stores data that have been extracted from
the various operational, external, and other databases of an
organization. It is a central source of the data that have
been cleaned, transformed, and cataloged so that they can
be used by managers and other business professionals for
data mining, online analytical processing, and other forms
of business analysis, market research, and decision support.
Data warehouses may be subdivided into data marts , which
hold subsets of data from the warehouse that focus on
specific aspects of a company, such as a department or a
business process.
Data Mining
Data mining is a major use of data warehouse databases
and the static data they contain. In data mining, the data
in a data warehouse are analyzed to reveal hidden
patterns and trends in historical business activity. This
analysis can be used to help managers make decisions
about strategic changes in business operations to gain
competitive advantages in the marketplace.
Data mining can discover new correlations, patterns, and
trends in vast amounts of business data (frequently
several terabytes of data) stored in data warehouses.
CONTD…
• An integrated collection of data extracted
from operational, historical, and external
databases and cleaned, transformed, and
cataloged for retrieval and analysis ( data
mining ) to provide business intelligence for
business decision making.
Benefits of Data Mining
For example, many companies use data mining to:
• Perform market-basket analysis to identify new
product bundles.
• Find root causes of quality or manufacturing
problems.
• Prevent customer attrition and acquire new
customers.
• Cross-sell to existing customers.
• Profile customers with more accuracy.
Logical and Physical Database Design
• Logical Data Elements Data elements that are
independent of the physical data media on which they are
recorded.
• The entity attributes become columns of each table in the
database.
• An abstract model of DB
• Identifies the relation ships between data elements
• Categorize data relations
CONTD…
• Physical database design
The Entities in the Logical Data Model are
translated into Tables in the physical database
design
transform the E-R in to tables
determine the type and size of data
Database Terminology
• Tables within a relational database hold sets of data using rows and
columns
A set of related records
• Fields A single item of data common to all records Columns (fields) are named
data elements and appear vertically in a report .
• Indexes are created for faster access to the data in the database
Relationship Types
• One-to-One : relationship is single valued in both directions
– A manager manages one department; a department has only one
manager.