New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] g.E().count() the result is not as expectedThe result is not as expected #2515
Comments
Hey there @dongpodu! Great to see you diving into HugeGraph's depths again. Hope you're ready for another adventure in debugging! 🚀 The discrepancy between the expected and actual edge counts when using HugeGraph with memory as the storage backend is likely due to the limitations of the InMemoryDBStore. This store is constrained by the available system memory, which means the amount of data it can handle is directly related to the memory capacity of your system. If the system's memory is insufficient for the volume of data being processed, it could result in incomplete data storage or processing, leading to the observed discrepancy in edge counts. The In essence, the nature of in-memory storage systems suggests that the amount of data HugeGraph can handle with memory as the storage backend is limited by the available system memory. This could be the reason for the discrepancy you observed. If you have further questions or need more information, feel free to ask. Sources
|
firstly ,thks for your reply, but the system free memory is 40GB,which is totally enough for one million edges to save,so this is not the reason. |
thks,i will try later! |
You can turn on the Debug log or single-step debugging to see if there are any bugs in the query path. g.E().Count() Query path in source code:
|
i made a mistake, the amount of edges synced to hugegraph is less than 1 million. so the problem mentioned above is not the problem. but i found another big problem.the memory store seems not to store huge amount of edges or vertices. when i sync less than 1 million edges to hugegraph, the server response more and more slowly, and young gc happens frequently. when the amount is up to 0.6 million, the server cannot service to others. |
@dongpodu use rocksdb for the stand-alone mode (u could mount a @dosu u could learn the context & tell other users next time |
Switching to RocksDB for the stand-alone mode and considering mounting a
|
Bug Type (问题类型)
others (please edit later)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
请问当hugegraph存储是memory时,存的数据量是不是有限制,我同步了100w多条边,但通过hubble的g.E().count()查看边却只有2w条
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
The text was updated successfully, but these errors were encountered: