Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Discuss the architecture of DBMS. What are the types of DBMS architecture ?

Types of Architecture:

1-Tier Architecture:

  • What is it? In this setup, the user interacts directly with the database.
  • How does it work? Any changes or requests are made directly to the database.
  • Use case: It’s often used for local applications during development, where programmers need quick communication with the database.

2-Tier Architecture:

  • What is it? This is like a basic client-server model.
  • How does it work? Applications on the user’s computer directly communicate with the database on the server side. APIs like ODBC or JDBC are used for this communication.
  • Responsibilities: The user’s machine handles the interface and application, while the server manages database functionalities like queries and transactions.

3-Tier Architecture:

  • What is it? This involves an extra layer between the user and the server.
  • How does it work? The user’s application communicates with an application server, which then communicates with the database. The user has no direct contact with the database, and the database is unaware of individual users.
  • Use case: It’s often used for large web applications where separation between the user interface, application logic, and database management is crucial.

Visual Explanation:

  • 1-Tier: User talks directly to the database.sqlCopy codeUser <-----> Database
  • 2-Tier: User’s application communicates with the database.arduinoCopy codeUser <-----> Application (Client) <-----> Database (Server)
  • 3-Tier: User’s application talks to an application server, which then communicates with the database.rustCopy codeUser <-----> Application (Client) <-----> Application Server <-----> Database