Nosql Database Architecture
Nosql Database Architecture
Myself Archana R
Assistant Professor in
Department Of Computer Science
SACWC.
Database
02 Two Tier Architecture
Architecture
03 Three Tier Architecture
1 Tier Architecture:
1 Tier Architecture is the simplest
architecture of Database in which
the client, server, and Database all
reside on the same machine. A
simple one tier architecture
example would be anytime you
install a Database in your system
and access it to practice SQL
queries. But such architecture is
rarely used in production.
Example:
2 Tier Architecture:
A 2 Tier Architecture in DBMS is a
Database architecture where the
presentation layer runs on a client (PC,
Mobile, Tablet, etc.), and data is stored
on a server called the second tier. Two
tier architecture provides added security
to the DBMS as it is not exposed to the
end-user directly. It also provides direct
and faster communication
Example:
3 Tier Architecture:
A 3 Tier Architecture in DBMS is the most popular client server
architecture in DBMS in which the development and maintenance of
functional processes, logic, data access, data storage, and user interface
is done independently as separate modules. Three Tier architecture
contains a presentation layer, an application layer, and a database
server.
There are three layers of schema that separates the physical, logical and
application part of the database. Physical Schema, Logical Schema and the
External Schema are mapped together.
They interact with each other to perform the operations on the database. A
schema represents all the database entities and the relationship between
those entities.
Conceptual
Level
Internal External
Level
level
Internal Level:
It defines the physical structure of the
database. It defines the format in
which the data will be stored or, say,
the structure in which the data will be
stored. It is also known as the
Internal level Physical Schema. It describes the
complex low-level data structures of
the database. At this level of schema,
the database administrator determines
the definition of the database by using
data definition language. The user
does not have access to this level,
requiring special rights. Initially, only
the data administrator can alter any
change into it.
Conceptual Level:
At this level, we describe the
design of the database. It
describes what data will be stored
in the database. This is called the
logical schema; the end-user does
Conceptual Level not have access to this layer. The
programmers and database
administrators are the only ones
with access to this level. At this
level, we store the data in the data
structures described at the
physical level. However, the
details of the implementation of
the physical level are kept hidden
at this level.
External Level
It describes the various views of
the database. This level is also
called the view level. There can
be different views for different
users depending on the needs of
the end-users.
External Level At this level, the end-user
interacts with the database, and
the details of both physical and
logical schemas are kept hidden
from the user.
The hiding of details of one level
from other and only showing the
necessary information is called
abstraction.
Thank
you!!