Method and system for optimizing data storage of query statistics of graph database
AssigneeVesoft. Inc
InventorsTong Yue, Xiaomeng Ye, Yujue Wang, Yu Liu, Min Wu, Chenguang Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeVesoft. Inc
InventorsTong Yue, Xiaomeng Ye, Yujue Wang, Yu Liu, Min Wu, Chenguang Wang
Estimating the term…
Disclosed are a method and a system for optimizing data storage of query statistics of a graph database. The method includes: periodically scanning, on storage servers in which partitions are located, all edges in the partitions; determining, according to all the edges in the partitions, partitions to which start points and end points belong, and calculating outgoing-edge correlation and incoming-edge correlation between partitions; calculating relevancies between partitions through a preset correlation matrix weight according to the outgoing-edge correlation and the incoming-edge correlation between partitions; and storing partitions with high relevancies on a same storage server. The present disclosure solves the problems of difficult optimization of storage distribution, as well as high resource consumption and low efficiency of query statistics of a graph database, and implements partition distribution of a graph database with an optimized distribution architecture, thereby reducing resource consumption of data calling and improving performance of the graph database.
A method for optimizing data storage of query statistics of a graph database, comprising:
A computer device comprising a memory and a processor, wherein the processor is configured to execute non-transitory computer instructions for optimizing data storage of query statistics of a graph database, comprising a query server, a meta server, and storage servers;
Dependencies are inferred from the claim text.