|
Re: JanusGraph database cache on distributed setup
Hi Boxuan,
I was not using a session on gremlin console. So i guess it does not need to commit explicitly. Anyway i have tried commiting the transaction [ g.tx().commit() ] after opening a session,
Hi Boxuan,
I was not using a session on gremlin console. So i guess it does not need to commit explicitly. Anyway i have tried commiting the transaction [ g.tx().commit() ] after opening a session,
|
By
washerath@...
·
#6419
·
|
|
Re: JanusGraph database cache on distributed setup
Hi Wasantha,
In your example, it looks like you didn't commit your transaction on JG instance A. Uncommitted changes are only visible to the local transaction on the local instance. Can you try
Hi Wasantha,
In your example, it looks like you didn't commit your transaction on JG instance A. Uncommitted changes are only visible to the local transaction on the local instance. Can you try
|
By
Boxuan Li
·
#6418
·
|
|
Re: JanusGraph database cache on distributed setup
Hi Boxuan,
I was able to change ExpirationKCVSCache class to persist the cache on Redis DB,
But i could still see some data anomaly between two JG instances. As example when i change a property of a
Hi Boxuan,
I was able to change ExpirationKCVSCache class to persist the cache on Redis DB,
But i could still see some data anomaly between two JG instances. As example when i change a property of a
|
By
washerath@...
·
#6417
·
|
|
Re: JanusGraph database cache on distributed setup
Hi Wasantha,
It's great to see that you have made some progress. If possible, it would be awesome if you could contribute your implementation to the community!
Yes, modifying `ExpirationKCVSCache`
Hi Wasantha,
It's great to see that you have made some progress. If possible, it would be awesome if you could contribute your implementation to the community!
Yes, modifying `ExpirationKCVSCache`
|
By
Boxuan Li
·
#6416
·
|
|
Re: JanusGraph database cache on distributed setup
Hi Boxuan,
I am evaluating the approach of rewriting ExpirationKCVSCache as suggested. There i could replace existing guava cache implementation to connect with remote Redis db. So that Redis DB will
Hi Boxuan,
I am evaluating the approach of rewriting ExpirationKCVSCache as suggested. There i could replace existing guava cache implementation to connect with remote Redis db. So that Redis DB will
|
By
washerath@...
·
#6415
·
|
|
Re: Removed graphs still open in muti node cluster
Hi Lixu,
JanusGraph-0.6.0 had various changes to the ConfiguredGraphFactory which might have solved your issue:
https://github.com/JanusGraph/janusgraph/issues/2236
Hi Lixu,
JanusGraph-0.6.0 had various changes to the ConfiguredGraphFactory which might have solved your issue:
https://github.com/JanusGraph/janusgraph/issues/2236
|
By
hadoopmarc@...
·
#6414
·
|
|
Re: Preserve IDs when importing graphml
Hi Laura,
No answer but some relevant search results:
https://groups.google.com/g/gremlin-users/c/jUBuhhKuf0M/m/kiKMY0eHAwAJ
The graph.set-vertex-id property at:
Hi Laura,
No answer but some relevant search results:
https://groups.google.com/g/gremlin-users/c/jUBuhhKuf0M/m/kiKMY0eHAwAJ
The graph.set-vertex-id property at:
|
By
hadoopmarc@...
·
#6413
·
|
|
Preserve IDs when importing graphml
I think I've read once that it's possible to preserve the IDs when importing graphml data. Unfortunately, I cannot remember where I read that. All my IDs are integers.
How do I do that?
I think I've read once that it's possible to preserve the IDs when importing graphml data. Unfortunately, I cannot remember where I read that. All my IDs are integers.
How do I do that?
|
By
Laura Morales <lauretas@...>
·
#6412
·
|
|
Re: Importing a schema
Hi Laura,
JanusGraph only allows to configure a custom SchemaMaker with the schema.default property. Googling on SchemaMaker hits some (unmaintained?) projects that could
Hi Laura,
JanusGraph only allows to configure a custom SchemaMaker with the schema.default property. Googling on SchemaMaker hits some (unmaintained?) projects that could
|
By
hadoopmarc@...
·
#6411
·
|
|
Importing a schema
Is there a way to import a schema, instead of creating it with a script?
For example importing this file:
<?xml version='1.0' ?>
<graphml xmlns='http://graphml.graphdrawing.org/xmlns'>
<key id='type'
Is there a way to import a schema, instead of creating it with a script?
For example importing this file:
<?xml version='1.0' ?>
<graphml xmlns='http://graphml.graphdrawing.org/xmlns'>
<key id='type'
|
By
Laura Morales <lauretas@...>
·
#6410
·
|
|
Re: JanusGraph database cache on distributed setup
Hi Wasantha,
A centralized cache is a good idea in many use cases. What you could do is to maintain a centralized cache by yourself. This, however, requires some changes to your application code (e.g.
Hi Wasantha,
A centralized cache is a good idea in many use cases. What you could do is to maintain a centralized cache by yourself. This, however, requires some changes to your application code (e.g.
|
By
Boxuan Li
·
#6409
·
|
|
Re: JanusGraph database cache on distributed setup
Actually the concern is with db.cache feature.
Once we enable the db.cache, what ever the modification done for particular vertex only visible for that JG instance untill the cache expires. So if we
Actually the concern is with db.cache feature.
Once we enable the db.cache, what ever the modification done for particular vertex only visible for that JG instance untill the cache expires. So if we
|
By
washerath@...
·
#6408
·
|
|
can we dynamically create multiple graphs with customized schema files
Hello,
Currently we run gremlin.sh with customized schema file in groovy (contains backend config, graph name, cache size as well as property key, vertex/edge index) to initialize graph. It seems
Hello,
Currently we run gremlin.sh with customized schema file in groovy (contains backend config, graph name, cache size as well as property key, vertex/edge index) to initialize graph. It seems
|
By
Yingjie Li
·
#6407
·
|
|
Removed graphs still open in muti node cluster
Hi, I'm using JnausGraphManager and JanusGraphWsAndHttpChannelizer to manage dynamic graph operating.
When dropping graph in multi-nodes cluster, removed graphs only closed in specific node, the
Hi, I'm using JnausGraphManager and JanusGraphWsAndHttpChannelizer to manage dynamic graph operating.
When dropping graph in multi-nodes cluster, removed graphs only closed in specific node, the
|
By
lixu
·
#6406
·
|
|
Re: Forcing Janusgraph to use indices when performing traversal with Union step
The approach you proposed should work as good/bad as your original single query in theory. I would be surprised if this approach works better than your original single query, but if so, please let me
The approach you proposed should work as good/bad as your original single query in theory. I would be surprised if this approach works better than your original single query, but if so, please let me
|
By
Boxuan Li
·
#6405
·
|
|
Re: Forcing Janusgraph to use indices when performing traversal with Union step
Thank you for your reply.
We can look into migrating to version 0.6 (or later)...
There exists an index for indexed-prop1, indexed-prop2, and indexed-prop3, but there are no multi-column indices
Thank you for your reply.
We can look into migrating to version 0.6 (or later)...
There exists an index for indexed-prop1, indexed-prop2, and indexed-prop3, but there are no multi-column indices
|
By
brad@...
·
#6404
·
|
|
Re: Forcing Janusgraph to use indices when performing traversal with Union step
Hi Brad,
I can see that your traversal is using the index index_ten1_apm_0 from the following snippet:
Then, JanusGraph uses in-memory filtering to check whether the results returned by the
Hi Brad,
I can see that your traversal is using the index index_ten1_apm_0 from the following snippet:
Then, JanusGraph uses in-memory filtering to check whether the results returned by the
|
By
Boxuan Li
·
#6403
·
|
|
Re: Forcing Janusgraph to use indices when performing traversal with Union step
TRAVERSAL:
[GraphStep(vertex,[]), HasStep([~label.eq(ten1.apm.version), ten1.apm.idx.type_id.eq(i_javaServiceInstance)]), UnionStep([[HasStep([ten1.apm.idx.display_name.eq(JavaServiceInstance3)]),
TRAVERSAL:
[GraphStep(vertex,[]), HasStep([~label.eq(ten1.apm.version), ten1.apm.idx.type_id.eq(i_javaServiceInstance)]), UnionStep([[HasStep([ten1.apm.idx.display_name.eq(JavaServiceInstance3)]),
|
By
brad@...
·
#6402
·
|
|
Re: dynamic graphics, limits and global index
Thanks Marc. Currently triplestore/LPG is on hold awaiting streaming incidental edge queries in order to play some more. Hoping we will see a day when LPG/3store harmonize.
Thanks Marc. Currently triplestore/LPG is on hold awaiting streaming incidental edge queries in order to play some more. Hoping we will see a day when LPG/3store harmonize.
|
By
Matthew Nguyen <nguyenm9@...>
·
#6401
·
|
|
Re: Forcing Janusgraph to use indices when performing traversal with Union step
Hi Brad,
Can you post the profile result of both queries? You can retrieve profile results by adding `.profile()` to the end of your query.
Best,
Boxuan
Hi Brad,
Can you post the profile result of both queries? You can retrieve profile results by adding `.profile()` to the end of your query.
Best,
Boxuan
|
By
Boxuan Li
·
#6400
·
|