Beruflich Dokumente
Kultur Dokumente
Model
2.1 Introduction
As we already discussed in previous chapter, data models are broadly classified into 2 categories:
object based data models and relation based data models. The object based model can be defined
as a tool for describing data, data relationships and data constraints. The record based model
describes the database structures and access techniques of a DBMS.
Out of the various object data models, the most widely use one is the Entity-Relationship (E-R)
Model. It has gained acceptance as an ideal data model for database design. In this chapter, we
will discuss the concepts of E-R model. But, initially we discuss on structure of RDMS.
The relational model is based on logical relationships between data and allows user to be totally
uncovered with or even unaware of the physical structure of the data. In addition, Codd proposed
two logically based data manipulation languages, Relational Algebra and Relational Calculus,
which we will discuss in later chapter.
A relational database represents all data in the database as simple two-dimensional tables called
relations that are the logical equivalent of files. Each row (record) of a relational table, called
tuple, represents a data Entity with columns of the table representing attributes (fields) and total
number of attributes of a relation is called degree or arity of a relation. The allowable values for
these attributes are called the domain, indicating that values can be placed in each of the
columns of the relational table. Each row in a relational table must have a unique primary key
and typically, it has some secondary keys, these secondary keys correspond with primary keys in
the other tables, i.e. relate all the tables.
E.F.Codd is an IBM researcher who first developed the relational data model in 1970. In 1985,
Codd published a list of 12 rules that define an ideal relational database and has provided
guidelines for the design of all relational database systems.
DBMS RDBMS
1. In DBMS, relationships between two tables 1. In RDBMS, relationships between two
are maintained programmatically. tables or files can be specified at the time
of table creation.
2. DBMS does not support client/server 2. Most of the RDBMS supports client/server
architecture. architecture.
3. DBMS does not support distributed 3. Most of the RDBMS supports distributed
databases. databases.
4. In DBMS, there is no tight security of 4. In RDBMS, there are multiple level of
data. security:
(a) Logging in at O/S level
(b) Command level
(c) Object level.
5. Each table is given an extension in 5. Many tables are grouped in one database in
DBMS. RDBMS.
6. DBMS satisfy less than 7 to 8 rules of 6. RDBMS usually satisfy more than 7 to 8
E.F.Codd. rules of E.F.Codd.