Posts

DBMS Architecture 1-level, 2-Level, 3-Level

2 min read

 

DBMS Architecture 1-level, 2-Level, 3-Level


A Database store a lots of critical information to access data quickly and securely. Hence it is important to select a correct Architecture for efficient data management.

Types of DBMS Architecture:

  • 1- Tier Architecture
  • 2- Tier Architecture
  • 3- Tier Architecture

1- Tier Architecture:

In One- Tier Architecture the database is directly available to the user, the user can directly sit on the DBMS and use it i.e.; the client, server and the Database all present on the same machine. For Example- To learn SQL we setup SQL server and the database on the local system. This enable us to directly interact with the relational database and execute operation. Industry won’t use this architecture they logically go for 2-Tier and 3-Tier Architecture.

Two-tier architecture: 
The two-tier architecture is similar to a basic client-server model. The application at the client end directly communicates with the database at the server-side. APIs like ODBC, JDBC are used for this interaction. The server side is responsible for providing query processing and transaction management functionalities. On the client-side, the user interfaces and application programs are run. The application on the client-side establishes a connection with the server-side in order to communicate with the DBMS. 
An advantage of this type is that maintenance and understanding are easier, compatible with existing systems. However, this model gives poor performance when there are a large number of users. 

 

Three Tier architecture: 
In this type, there is another layer between the client and the server. The client does not directly communicate with the server. Instead, it interacts with an application server which further communicates with the database system and then the query processing and transaction management takes place. This intermediate layer acts as a medium for the exchange of partially processed data between server and client. This type of architecture is used in the case of large web applications. 
Advantages: 
 

  • Enhanced scalability due to distributed deployment of application servers. Now, individual connections need not be made between client and server.
  • Data Integrity is maintained. Since there is a middle layer between client and server, data corruption can be avoided/removed.
  • Security is improved. This type of model prevents direct interaction of the client with the server thereby reducing access to unauthorized data.

Disadvantages
Increased complexity of implementation and communication. It becomes difficult for this sort of interaction to take place due to the presence of middle layers. 

Three-TierArchitecture 

 

You may like these posts

  •  B+ File OrganizationB+ tree file organization is the advanced method of an indexed sequential access method. It uses a tree-like structure to store records in File.It uses th…
  •  Indexed sequential access method (ISAM)ISAM method is an advanced sequential file organization. In this method, records are stored in the file using the primary key. An index…
  •  RAIDRAID refers to redundancy array of the independent disk. It is a technology which is used to connect multiple secondary storage devices for increased performance, data re…
  •  What is a storage device?A storage device is a kind of hardware, which is also known as storage, storage medium, digital storage, or storage media that has the ability to sto…
  •  Vorolatile Storage vs Non-Volatile StageVolatile StorageThis is a type of computer memory that remains while there is power and the data is lost when power is switched off. A…
  •  Cluster file organizationWhen the two or more records are stored in the same file, it is known as clusters. These files will have two or more tables in the same data block, a…

Post a Comment

© 2025DBMS. The Best Codder All rights reserved. Distributed by