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.
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. AdvantagesIncreased 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
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
2. 2-Tier Architecture
3. 3-Tier Architecture
62 videos|66 docs|35 tests
|
1. What is DBMS architecture? |
2. What are the main components of DBMS architecture? |
3. What is the role of data models in DBMS architecture? |
4. How does transaction management work in DBMS architecture? |
5. What are the different types of user interfaces in DBMS architecture? |
|
Explore Courses for Computer Science Engineering (CSE) exam
|