1.客户端/服务器:
客户端/服务器开发用于处理各种计算环境,这些环境具有通过网络连接在一起的大量计算机和服务器。在此体系结构中,客户端是提供用户界面和本地处理功能的用户计算机。当任何客户端需要其他功能(例如数据库访问)时,它可以连接到能够提供客户端所需功能的服务器。基本上,服务器是为客户端(即用户计算机)提供服务的计算机。
2.分布式DBMS:
在分布式DBMS中,数据分布在地理位置上。每个站点在其末端都是一个完整的数据库系统站点,但是不同的站点必须协同工作,因为如果任何用户想要访问数据,由于数据存储在用户自己的计算机上,因此它可以轻松访问网络中的任何位置的数据。
客户端/服务器和分布式DBMS之间的区别:
S.No. | Client/Server | Distributed DBMS |
---|---|---|
1. | Client can access only one server at a time. | User can access many sites simultaneously. |
2. | It is difficult to manage. | It is easy to manage. |
3. | In this data is distributed across clients. | In this data is distributed across sites. |
4. | Speed of accessing database is poor as compared to Distributed DBMS. | Speed of accessing database is much better than Client/Server Architecture. |
5. | If somehow server crashes, the whole system stops. | The crash of one site does not stop the entire system. |
6. | Accessing of data is easy to control. | Accessing of data is difficult to control. |
7. | It is less expensive as compared to Distributed DBMS. | It is expensive. |
8. | Maintenance cost is low. | Maintenance cost is high. |