Database Architecture
Database Architecture
ARCHITECTURE
UNIT -1
DB Architecture
In 1-Tier Architecture the database is directly available to the user, the user can directly
sit on the DBMS and use it that is, the client, server, and Database are all present on
the same machine. This setup is simple and is often used in personal or standalone
applications where the user interacts directly with the database.
Example – Microsoft Access – A desktop database system used for small
applications. Suitable for small business organizations
Advantages:
✔ Simple and easy to manage.
✔ Fast data access since everything is local.
✔ No network latency.
Disadvantages:
✖ Not scalable for large applications.
✖ Data is not shared across multiple users.
✖ Less secure, as all data is on a single system.
2- tier /client- server architecture
In 3-Tier Architecture ,it Introduces an application layer between the client and
database for better processing and security. 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 the server and the client. This type of architecture is used in the
case of large web applications.
3 tier Architecture
Advantages
Enhanced scalability: Scalability is enhanced due to the distributed
deployment of application servers. Now, individual connections need not be
made between the client and server.
Data Integrity: 3-Tier Architecture maintains Data Integrity. Since there is a
middle layer between the client and the server, data corruption can be
avoided/removed.
Security: 3-Tier Architecture Improves Security. This type of model prevents
direct interaction of the client with the server thereby reducing access to
unauthorized data.
Disadvantages
More Complex: 3-Tier Architecture is more complex in comparison to 2-Tier
Architecture. Communication Points are also doubled in 3-Tier Architecture.
Difficult to Interact: It becomes difficult for this sort of interaction to take place
due to the presence of middle layers.
Data abstraction levels
Physical level deals with actual storage details like data organization, disk
space allocation and data access methods.
2. logical or conceptual level