apache / incubator-hugegraph

A graph database that supports more than 100+ billion data, high performance and scalability (Include OLTP Engine & REST-API & Backends)
https://hugegraph.apache.org
Apache License 2.0
2.63k stars 517 forks source link

[Bug] 删除边时出现 Edges size has reached tx capacity 10000 #1786

Open liweidong1216 opened 2 years ago

liweidong1216 commented 2 years ago

Bug Type (问题类型)

rest-api (结果不合预期)

Before submit

Environment (环境信息)

Expected & Actual behavior (期望与实际表现)

数据里面,有超过500W的点和1000W以上的边,数据导入时,因为源数据有问题,所以想删除已经导入的数据,重新导入,在执行了g.E().hasLabel('XXX').drop()以后出现错误 Edges size has reached tx capacity 10000的提示,删除点的时候也出现过这种提示。

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

javeme commented 2 years ago

@liweidong1216 该限制是指不允许一次性提交过多的数据,属于预期行为。 如果需要清空所有数据,建议调用清空图clear api。 关于批量删除数据的方法,可以参考:https://github.com/hugegraph/hugegraph/issues/174

gaoJava commented 11 months ago

上面那个批量删除数据的方法打不开了https://github.com/hugegraph/hugegraph/issues/174

imbajin commented 11 months ago

hugegraph/hugegraph/issues/174

@gaoJava could visit #174