a computer system comprising a plurality of computers coupled through a network , the computer system performing service by using a database constructed by a storage area of each of the plurality of computers , wherein a plurality of pieces of data are located in the plurality of computers constructing the database based on a distributed algorithm for distributing and locating the plurality of pieces of data in the plurality of computers , wherein the computer system comprises : a load information management part to manage load information on a load of each of the plurality of computers constructing the database ; an algorithm management part to switch the distributed algorithm of the computer system based on the load information ; and a relocation processing part to relocate the plurality of pieces of data stored in each of the plurality of computers based on the switched distributed algorithm .