Re: Adding vertices with automatically generated IDs
Alexander Scherbatiy <stell...@...>
I tried to use custom ids for created vertices setting graph.set-vertex-id option.
toggle quoted message
Show quoted text
Now the most time is consumed by code that creates indices and calls ManagementSystem.getOrCreateVertexLabel() (it takes about 20% of total time for 1000 vertices and 3000 edges creation). StandardJanusGraphTx.makeSchemaVertex() calls assignID() through addProperty() and waits for waitForIDBlockGetter() 565ms total time and it calls assignID() directly which waits for waitForIDBlockGetter() 334ms total time on my laptop. Does it mean that each type vertex and property waits for the id separately? Is there a way to provide custom ids for vertices and properties during index creation (e.g for ManagementSystem.getOrCreateVertexLabel() call)? Thanks, Alexander. On 24.09.2019 20:02, Pavel Ershov wrote:
All entities needs assigned id: edges, vertices, properties and same for schema entities too. But this pause occurred not so frequently for each 10 000 ids by default |
|