传统的大型数据库系统是典型的C/S结构,系统中有一个中心服务器,上面运行一个大型数据库系统,其他节点通过服务器访问数据库系统。但这种C/S结构容易在服务器处产生系统瓶颈。为了解决这个问题,将P2P的观念引入数据库系统,建立了一种C/S与P2P相结合的新系统。在该系统中,服务器和客户端是C/S模式,同时所有的客户端组成一个P2P系统。为了提高系统效率又将这个P2P系统根据节点访问的数据表的不同划分为多个小的P2P网络。通过此方式客户端之间实现了数据缓存的共享,从而减少了对服务器访问的频率,减轻了服务器的负担,降低了系统发生瓶颈的可能性。该系统是C/S模式与P2P模式相结合的一次有益尝试。
The traditional large-scale database system is a typical C/S structure. There are server nodes and a central server in the system. The large database system is running on the server. The nodes access the database through the server. But the C/S structure easily produces the system bottleneck on the server. To solve this problem, this paper introduced the peer-to- peer concept into database management system. Built a new system which had the benefit of the C/S model and peer-to-peer model at the same time. In this system, the relation between server and the clients was C/S mode. And all the clients form a peer-to-peer system. In order to improve system efficiency, th~s peer-to-peer system was split into several small peer-to-peer networks according to their visiting tables. Through the approach, achieved the cache data sharing between the clients, reduced the frequency to visits to the server, lightened the burden of the server, and reduced the possibility of system bottleneck. So the system is a beneficial experiment to combine the benefit of C/S mode and peer-to-peer model.