The application discloses a graph
data partitioning method based on a cache mechanism, comprising the following steps: obtaining graph data, obtaining the total number of graph vertices, the neighbor
list of each vertex, the initial vertex partition set and the initial partition number according to the graph data; calculating the upper limit of the load; calculating the correlation
score of the vertex in each vertex set which does not reach the upper limit of the load according to the vertex and the neighbor
list of the vertex; judging whether the vertex meets the cache condition, if yes, partitioning according to the correlation
score; if not, the vertex is partitioned into the cache module, when the cache module reaches the maximum
capacity limit, the cache module returns the vertex and the neighbor
list which are most suitable for the current partitioning, and the process returns; judging whether all vertices have been partitioned, if yes, the final graph data partition set is obtained; if not, the process returns. The application improves the partitioning precision of the Fennel
algorithm under the condition that the size of the graph data is too large.