Database Architecture in DBMS

Database Architecture describes how database systems are designed, how components interact, and how users access data. It defines the logical and physical organization of databases.

1. What is Database Architecture?

Database Architecture refers to the structure of a database system that defines how users, applications, DBMS software, and the database interact.

2. Components of DBMS Architecture

3. Types of Database Architecture

4. One-Tier Architecture

In one-tier architecture, the database, DBMS, and application are located on the same system.

User
 |
Application + DBMS + Database
 (Single System)

5. Two-Tier Architecture

In two-tier architecture, the client application communicates directly with the database server.

Client Application
        |
        |
Database Server
(DBMS + Database)

6. Three-Tier Architecture

In three-tier architecture, the application logic is separated from the client and database.

Client (UI)
    |
Application Server
(Business Logic)
    |
Database Server
(DBMS + Database)

7. Comparison of Database Architectures

Architecture   Layers   Security   Scalability
-------------  -------  ---------  ------------
One-Tier       1        Low        Very Low
Two-Tier       2        Medium     Medium
Three-Tier     3        High       High

8. Advantages of Database Architecture

9. Real-Life Examples

Practice Questions

  1. Define database architecture.
  2. Explain one-tier architecture.
  3. Explain two-tier architecture with diagram.
  4. Explain three-tier architecture with diagram.
  5. Differentiate between two-tier and three-tier architecture.

Practice Task

Prepare notes with diagrams on: ✔ One-Tier Architecture ✔ Two-Tier Architecture ✔ Three-Tier Architecture ✔ Comparison of Architectures