Dinh Phu
Dinh Phu
Explore posts from servers
JJanusGraph
Created by Dinh Phu on 6/26/2023 in #questions
Does JanusGraph keep the connection?
When a JanusGraph server is started, does it keep connections to the Storage Backends? Or when an operation is performed, it will initiate a connection and if so, will the connection be closed or not?
4 replies
JJanusGraph
Created by Dinh Phu on 6/4/2023 in #questions
Decode data in Hbase storage
I have a JanusGraph cluster and use Hbase storage. When i get data in Hbase, it can't read. Who can help me decode data?
6 replies
ATApache TinkerPop
Created by Dinh Phu on 6/2/2023 in #questions
Decode data in Hbase storage
I have a JanusGraph cluster and use Hbase storage. When i get data in Hbase, it can't read. Who can help me decode data?
7 replies
ATApache TinkerPop
Created by Dinh Phu on 4/3/2023 in #questions
Out edge of vertex is slow
When i run this below query: "g.V().has("guid", "6203620951906330066").limit(10).out("matching").profile().toSet()" And I see step "JanusGraphVertexStep(OUT,[matching],vertex)" take a lot of time. Is there any way to solve this?
15 replies
ATApache TinkerPop
Created by Dinh Phu on 4/3/2023 in #questions
Query if else in gremlin
I have a query and that return a list vertex. I want to do a query from those vertexes like this (if - else): - vertex doesn't has out edge -> return itself - vertex has out edge -> then keep querying until there are no edges out ( repeat(out()).until(outE().count().is(0)) ) I'm trying to limit the use of loops here to improve performance. Who can help me. Thank you very much
10 replies
ATApache TinkerPop
Created by Dinh Phu on 3/20/2023 in #questions
The query gets slower as the number of vertices that already exist in JanusGraph gets bigger and big
When i start JanusGraph and perform any query like : - g.V().has(properties).limit(10).toList() - g.V(vertex).repeat(outE()).until(outE().count().is(0)) ( it will traverse about 3-4 vertices) - g.V().has(properties).next - g.addV()....... ( 1 vertex) - g.addE()....... ( 1 edge) Data model: - vertexC: is leaf vertex - vertexB: associated with a lot of vertexA and their father - vertexA: father of about 500 vertexB Initially these queries are very fast. But then when I run for a period of time, the queries get slower and slower and start to timeout (still have fast queries interspersed with slow queries). And I see that the number of requests across regions of Hbase is not balanced, it focuses on a few regions and the remaining regions have a very small number of requests and are almost equal. Can anyone help me with this situation?
6 replies
ATApache TinkerPop
Created by Dinh Phu on 3/16/2023 in #questions
Way to update static vertex
https://docs.janusgraph.org/schema/advschema/#static-vertices I read document about TTL vertex. And it said that vertex must be static to set TTL for it. But when set static vertex, i can't update that vertex. So can I just set TTL and update the vertex at the same time?
6 replies
ATApache TinkerPop
Created by Dinh Phu on 2/2/2023 in #questions
Set TTL for vertex
Can i set TTL for vertex after running janusgraph about 4 months?
8 replies