Chapter 1.3
Chapter 1.3
1
LEARNING OUTCOMES :
At the end of this lecture, student should be able to :-
1. Define data model
2. Describe the evolution of Data Models
3. Describe the type of logical Data Model
4. Describe the three-schema architecture of DBMS
5. Describe the client-server architecture of DBMS
6. Identify the two categories of DBMS
7. Describe benefits using desktop database and server solution
8. Identify users of DBMS 2
DEFINITION OF DATA MODEL
An abstraction of a complex real world environment.
a collection of conceptual tools for describing data, data relationships, data semantics, and
consistency constraints.
A data model provides a way to describe the design of a database at the physical, logical, and
view levels.
Database designer use data models to communicate with applications programmers and end
users.
The basic data modelling components are entities, attributes, relationships and constraints
Business rules are used to identify and define the basic modelling components within a
specific world environment. 3
EVOLUTION OF DATA MODEL
Ref. 1
4
EVOLUTION OF DATA MODEL
Ref : Peter Rob, Carlos Coronel
(2012). (10th Edition)
5
TYPE OF LOGICAL DATA MODEL
6
TYPE OF LOGICAL DATA MODEL
b. Record Based Logical
Model :
Hierarchical data model
was developed in the 1960s to
manage large amounts of data for
complex manufacturing .
Its basic logical structure is
represented by an upside-down
tree
7
TYPE OF LOGICAL DATA MODEL
8
TYPE OF LOGICAL DATA MODEL
b. Record Based Logical Model :
Relational data model
represented a major breakthrough for both
users and designers
the relational model produced an “automatic
transmission” database to replace the
“standard transmission” databases that
preceded it.
9
10
THREE SCHEMA ARCHITECTURE OF DBMS
access.
DBMS SCHEMAS AT THREE LEVELS
14
DBMS SCHEMAS AT THREE LEVELS
15
DBMS SCHEMAS AT THREE LEVELS
CONCEPTUAL SCHEMA:-
Conceptual model is relatively constant
DBA is responsible to design it.
Conceptual model can be expanded.
It is written in DDL, stored in data dictionary and
compiled by DBMS.
It represents:
All entities, attributes and relationships
The constraints on the data
User operations
Security and integrity information. 16
18
EXAMPLE
19
CLIENT SERVER ARCHITECTURE OF DATABASE
20
Client/server architectures that have evolved can be distinguished by the
distribution of application logic components across clients and servers. (seni bina
client / server yang telah berkembang boleh dibezakan oleh pengagihan komponen logik aplikasi di seluruh pelanggan dan pelayan.)
22
I/O @ data processing: Data
validation and identification of
processing errors.
23
Business rules describe the
operations, definitions and
constraints that apply to an
organization in achieving its
goals.
24
Identifies the data
necessary for processing
the transaction or query.
25
Responsible for data storage
& retrieval from physical
storage devices
Activities of a DBMS 26
Client does
File Server Architecture
extensive processing
Three-tier Architecture
a) Desktop databases
b) Server databases
A DBMS designed to run on a personal computer, small computer and small servers.
Support database used by small work teams and small business.
The engines in these drivers generally have reduced support for SQL and transactions.
Example :- Microsoft Access, FoxPro, FileMaker Pro, Paradox, Lotus.
29
BENEFIT OF DESKTOP DATABASE
Desktop databases are inexpensive. You’ll find that most desktop solutions are available for around $100
(compared to thousands of dollars for their sever-based cousins). In fact, if you own a copy of Microsoft Office
Professional, you’re already a licensed owner of Microsoft Access.
Desktop databases are user-friendly. Desktop DBMSs usually offer an easy-to-navigate graphical user interface.
Desktop databases offer web solutions. Many modern desktop databases provide web functionality enabling you
to publish your data on the web in a static or dynamic fashion.
30
SERVER DATABASE
Sophisticated user : responsible for the physical realization of the database, including physical database
design and implementation, security and integrity control, maintenance of the operational system, and
ensuring satisfactory performance of the applications for users.
32
USER OF DBMS
2. Application programmer
computer professionals who write application programs. Application programmers can choose from
many tools to develop user interfaces.
Rapid application development (RAD) tools are tools that enable an application programmer to
construct forms and reports with minimal programming effort.
33
USER OF DBMS
3. Database administrator
A person who has such central control over the system.
responsible for the physical realization of the database, including physical database design and
implementation, security and integrity control, maintenance of the operational system, and ensuring
satisfactory performance of the applications for users.
34
REFERENCES
Peter Rob, Carlos Coronel, (2009), Database System : Design, implementation and Management (Eight Edition),
Thomson Course Technology. (ISBN-13: 978-1-4239-0201-0 ISBN-10: 1-4239-0201-7)
Peter Rob, Carlos Coronel, (2012), Database System : Design, implementation and Management (Ten Edition),
Thomson Course Technology. (ISBN-13: 978-1-4239-0201-0 ISBN-10: 1-4239-0201-7)
Other internet resources
35