Академический Документы
Профессиональный Документы
Культура Документы
& DBMS
OBJECTIVES
After reading this chapter, the reader
should be able to:
Understand a DBMS and define its components.
Understand the architecture of a DBMS and its levels.
Distinguish between different database models.
DBMS
DBMS components
DBMS components
Hardware
The physical computer system that allows physical access to
data
Software
The actual program that allows users to access, maintain, and
update physical data
Data: stored physically on the storage devices
User: include end users and application programs
Procedure
A set of procedures (rules) that should be clearly defined and
followed by the users of the database
14.2
ARCHITECTURE
Figure 14-2
Database
architecture
Database architecture
Internal level
The internal level determines where data are actually
stored on the storage device
Conceptual level
The conceptual level defines the logical view of the
data
External level
The external level interacts directly with the user
14.3
DATABASE
MODELS
Database models
Hierarchical model
Figure 14-4
7-14
Converting Entities in Binary
Relationships: Many-to-Many
7-15
Converting Entities in Binary
Relationships: Many-to-Many
7-16
14.4
RELATIONAL
MODEL
Figure 14-6
RDBMS
) 20
File-based Approach
21
File-based Approach
22
File-based Approach
Problems/Limitations
Data Redundancy
Data Inconsistency
More details: see [2]
23
File-based Approach
24
Database Approach
25
Database Approach
Data
Known facts that can be recorded and that have
implicit meaning
Information? Knowledge?
More: www.whatis.com
Database: Shared collection of logically
related data and a description of this data,
designed to meet the information needs of an
organization
26
Database Approach
System catalog (metadata) provides description of data
to enable program–data independence
Logically related data comprises entities, attributes, and
relationships of an organization’s information
DataBase Management System (DBMS): a general-
purpose software system that facilitates the processes of
defining, constructing, manipulating, and sharing
databases among various users and applications (or a
software system that enables users to define, create,
maintain, and control access to the database)
27
Database Approach
Data Definition Language (DDL)
Permits specification of data types, structures and any data constraints
to be stored in the database
All specifications are stored in the database
Data manipulation language (DML).
Query language: retrieve (query), update (insert, delete, modify)
Controlled access to database may include:
a security system
an integrity system
a concurrency control system
a recovery control system
a user-accessible catalog
Database System = the Database + DBMS software
28
Database Approach
30
Database Approach
31
Three-Schema Architecture and Data
Independence
33
Three-Schema Architecture and Data
Independence
External Level
Users’ view of the database
Describes that part of database that is relevant to
a particular user
Conceptual Level
Community view of the database
Describes what data is stored in database and
relationships among the data
34
Three-Schema Architecture and Data
Independence
Internal Level
Physical representation of the database on the
computer.
Describes how the data is stored in the database
35
Three-Schema Architecture
and Data Independence
Data Independence is the capacity to change
the schema at one level of a database system
without having to change the schema at the
next higher level
Logical Data Independence
Refers to immunity of external schemas to changes
in conceptual schema
Conceptual schema changes (e.g. addition/removal
of entities) should not require changes to external
schema or rewrites of application programs
36
Three-Schema Architecture
and Data Independence
Physical Data Independence
Refers to immunity of conceptual schema to
changes in the internal schema
Internal schema changes (e.g. using different file
organizations, storage structures/devices) should
not require changes to conceptual or external
schemas
37
Three-Schema Architecture
and Data Independence
38
Database Languages
Data Definition Language (DDL) allows the DBA or user
to describe and name entities, attributes, and
relationships required for the application plus any
associated integrity and security constraints
Data Manipulation Language (DML) provides basic data
manipulation operations on data held in the database
Data Control Language (DCL) defines activities that are
not in the categories of those for the DDL and DML, such
as granting privileges to users, and defining when
proposed changes to a databases should be irrevocably
made
39
Database Languages
40
14.7
OTHER
DATABASE
MODELS
Other database models
Distributed databases
The data are stored on several computers that
communicate through the Internet.
Fragmented distributed databases
Replicated distributed databases
Object-oriented databases
An object-oriented database tries to keep the
advantages of the relational model and at the
same time allows applications to access structured
data.
What is E-business?
Stands for electronic business and refers to any kind of sales, services,
[ purchasing or commerce on the Internet.
A new-tech jargon word used more for marketing than for technical
description. Most commonly it broadly refers to conducting business over
[ the Internet (email and web) by communicating and perhaps transacting
(buying and selling) with customers, suppliers, and business partners.
What is E-business?
Web
Universal Access
Standards
e-business
Using internet technologies to
transform key business processes
IT
Data
Applications
Core business processes
e-business = Web + I/T
Reliability, security
and availablitiy
E-business types:
C2C B2B
B2C
CONSUMERS BUSINESS
C2
A
A
B2
ADMINISTRATION
What is Consumers to
Consumers (2C) ?
[ E-banks
[ E-trade
[ E-consulting
[ E-engineer
[ E-learning
[ E-marketing
[ E-transactions
E-business infrastructure
INTERNET ACCESS,
SERVICES,
HARDWARE SOFTWARE E-payment,
CERTIFICATES,
ADVERTISEMENT
ENTERPRISE RESOURCE
PLANNING (ERP) SYSTEMS
What is ERP?
Internal Benefits
Integration of a single source of data
Common data definition
A real-time system
Increased productivity
Reduced operating costs
Improved internal communication
Foundation for future improvement
Potential Benefits of ERP
External Benefits
Improved customer service and order fulfillment
Improved communication with suppliers and
customers
Enhanced competitive position
Increased sales and profits
ERP Implementation Approaches
Change Management
Redesigned jobs call for higher levels of skills and
accountability
Change management is viewed as more than just
increased training and communication
Enterprise-wide systems drive redesigned changes.
The executive sponsor is the change agent.
Resistance from the work force (including management)
is the most significant obstacle.
ERP Implementation Practices
(APQC Best-Practice Report)
Technology Excellence
Organizations rely heavily on the ERP package as
the majority of their application configuration.
Organizations implement ERP packages on time
and within budget
Organizations centralize support groups within
their IT departments
New Developments In ERP
SYSTEM DEVELOPMENT
LIFE CYCLE (SDLC)
Six Phases of the System
Development Life Cycle
Preliminary Investigation
Assesses feasibility and practicality of system
System Analysis
Study old system and identify new requirements
Defines system from user's view
System Design
Design new/alternative system
Defines system from technical view
Six Phases of the System
Development Life Cycle
System Development
New hardware and software is acquired, developed,
and tested
System Implementation
System installation and training
System Operation & Maintenance
Daily operation
Periodic evaluation and updating
SDLC Phases
Preliminary
Investigation
System
System Operation Analysis
& Maintenance
System System
Implementation
n Design
System
Development
Phase 1:
Preliminary Investigation
Types of changes:
Physical repair of the system
Correction of new bugs found (corrective)
System adjustments to environmental changes
Adjustments for users’ changing needs (adaptive)
Changes to user better techniques when they
become available (perfective)
Phase 6: Operations & Maintenance
Evaluation Methods
Systems audit - performance compared to
original specifications
Periodic evaluation - “checkups” from time to
time, modifications if necessary
Deliverables of the SDLC
System
Design Design Specifications