Professional Documents
Culture Documents
1
Aim:To study DBMS
Introduction
Characteristics of DBMS
Backup and recovery are the two main methods which allow users to protect the
data from damage or loss.
It also provides users query language, helpful to insert, retrieve, update, and
delete the data in a database.
o In this architecture, the database is directly available to the user. It means the
user can directly sit on the DBMS and uses it.
o Any changes done here will directly be done on the database itself. It doesn't
provide a handy tool for end users.
o The 1-Tier architecture is used for development of the local application, where
programmers can directly communicate with the database for the quick
response.
2-Tier Architecture
3-Tier Architecture
o The 3-Tier architecture contains another layer between the client and server. In
this architecture, client can't directly communicate with the server.
o The application on the client-end interacts with an application server which
further communicates with the database system.
o End user has no idea about the existence of the database beyond the application
server. The database also has no idea about any other user beyond the
application.
o The 3-Tier architecture is used in case of large web application.
Data models are used to describe how the data is stored, accessed, and updated in a
DBMS. A set of symbols and text is used to represent them so that all the members of
an organization can understand how the data is organized. It provides a set of
conceptual tools that are vastly used to represent the description of data.
There are many types of data models that are used in the industry.
Hierarchical Model
The hierarchical data model is one of the oldest data models, developed in
the 1950s by IBM. In this data model, the data is organized in a hierarchical tree-like
structure. This data model can be easily visualized because each record in DBMS has
one parent and many children (possibly 0)
Network Model
A network model is nothing but a generalization of the hierarchical data model as this
data model allows many to many relationships therefore in this model a record can
also have more than one parent.
The network model in DBMS can be represented as a graph and hence it replaces the
hierarchical tree with a graph in which object types are the nodes and relationships are
the edges.
ER model develops a conceptual view of the data hence it can be used as a blueprint
to implement the database in the future.
Developers can easily understand the system just by looking at ER diagram. Let's first
have a look at the components of an ER diagram.
Entity - Anything that has an independent existence about which we collect the data.
To learn more about Entity in DBMS click here.
They are represented as rectangles in the ER diagram. For example - Car, house,
employee.
Entity Set - A set of the same type of entities is known as an entity set. For example -
Set of students studying in a college.
Attributes - Properties that define entities are called attributes. They are represented
by an ellipse shape.
Relationships - A relationship in DBMS is used to describe the association between
entities. They are represented as diamond or rhombus shapes in the ER diagram.
Relational Model
This is the most widely accepted data model. In this model, the database is
represented as a collection of relations in the form of rows and columns of a two-
dimensional table. Each row is known as a tuple (a tuple contains all the data for an
individual record) while each column represents an attribute.