DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE) PDF Download

Two Tier Architecture

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. API’s 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 is easier, compatible with existing systems. However this model gives poor performance when there are a large number of users.

DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)


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 exchange of partially processed data between server and client. This type of architecture is used in case of large web applications.

1. 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.
2. Disadvantages

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

Three-Tier Architecture


DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)


DBMS Architecture

  • The DBMS design depends upon its architecture. The basic client/server architecture is used to deal with a large number of PCs, web servers, database servers and other components that are connected with networks.
  • The client/server architecture consists of many PCs and a workstation which are connected via the network.
  • DBMS architecture depends upon how users are connected to the database to get their request done.
Types of DBMS Architecture


DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)

Database architecture can be seen as a single tier or multi-tier. But logically, database architecture is of two types like: 2-tier architecture and 3-tier architecture.

1. 1-Tier Architecture

  • In this architecture, the database is directly available to the user. It means the user can directly sit on the DBMS and uses it.
  • Any changes done here will directly be done on the database itself. It doesn't provide a handy tool for end users.
  • 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. 2-Tier Architecture

  • The 2-Tier architecture is same as basic client-server. In the two-tier architecture, applications on the client end can directly communicate with the database at the server side. For this interaction, API's like: ODBC, JDBC are used.
  • The user interfaces and application programs are run on the client-side.
  • The server side is responsible to provide the functionalities like: query processing and transaction management.
  • To communicate with the DBMS, client-side application establishes a connection with the server side.

DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)


3. 3-Tier Architecture

  • The 3-Tier architecture contains another layer between the client and server. In this architecture, client can't directly communicate with the server.
  • The application on the client-end interacts with an application server which further communicates with the database system.
  • 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.
  • The 3-Tier architecture is used in case of large web application.


DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)

The document DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Database Management System (DBMS).
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
62 videos|66 docs|35 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on DBMS Architecture - Database Management System (DBMS) - Computer Science Engineering (CSE)

1. What is DBMS architecture?
Ans. DBMS architecture refers to the structure or framework that defines how a database management system is organized and operates. It includes different components such as data models, data storage, data manipulation, and user interfaces that work together to manage and access data efficiently.
2. What are the main components of DBMS architecture?
Ans. The main components of DBMS architecture are: 1. Data Models: These define the logical structure of the database, including the types of data and the relationships between them. 2. Data Storage: This component deals with how data is stored physically on storage devices such as hard drives or solid-state drives. 3. Data Manipulation: It includes the mechanisms and operations to retrieve, update, insert, and delete data from the database. 4. Transaction Management: This component ensures that database operations are executed reliably and consistently, even in the presence of failures or concurrent access. 5. User Interfaces: These provide a means for users to interact with the database, such as query languages or graphical interfaces.
3. What is the role of data models in DBMS architecture?
Ans. Data models play a crucial role in DBMS architecture as they define the logical structure of the database. They provide a way to organize and represent data, including the types of data and the relationships between them. Commonly used data models include the relational model, hierarchical model, and object-oriented model. The choice of data model has a significant impact on how data is stored, manipulated, and accessed in the database.
4. How does transaction management work in DBMS architecture?
Ans. Transaction management in DBMS architecture ensures that database operations are executed reliably and consistently. It involves the concept of a transaction, which is a logical unit of work that consists of one or more database operations. The ACID properties (Atomicity, Consistency, Isolation, Durability) govern the behavior of transactions in a DBMS. Transaction management ensures that either all operations within a transaction are executed successfully, or none of them are. It also handles concurrency control to prevent conflicts and ensures that changes made by transactions are durable and survive system failures.
5. What are the different types of user interfaces in DBMS architecture?
Ans. DBMS architecture provides various user interfaces for users to interact with the database. Some common types of user interfaces include: 1. Command Line Interface (CLI): This interface allows users to interact with the database using text-based commands. 2. Graphical User Interface (GUI): GUI interfaces provide a visual way for users to interact with the database, typically using menus, buttons, and forms. 3. Application Programming Interface (API): APIs allow developers to access and manipulate the database programmatically using programming languages. 4. Query Languages: DBMS architecture supports query languages such as SQL (Structured Query Language) that allow users to retrieve, manipulate, and analyze data in the database. These user interfaces provide different levels of complexity and flexibility, catering to the needs of various users, from casual users to database administrators and developers.
62 videos|66 docs|35 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)

,

MCQs

,

Semester Notes

,

Previous Year Questions with Solutions

,

study material

,

Free

,

DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)

,

Objective type Questions

,

Extra Questions

,

practice quizzes

,

pdf

,

shortcuts and tricks

,

past year papers

,

mock tests for examination

,

Viva Questions

,

Exam

,

DBMS Architecture | Database Management System (DBMS) - Computer Science Engineering (CSE)

,

Summary

,

ppt

,

video lectures

,

Important questions

,

Sample Paper

;