Re: [orientdb] how many graphs

2014-01-08 Thread Andrey Lomakin
Hi Alan, You can create as many graphs as you need in single Graph instance. It is better than create 3000 graph databases because in case of single storage you will have much efficient RAM usage than in case of 3000 storages. You can tune RAM consumed by memory storage using

[orientdb] What is the best practise to update db schema in an OrientDB cluster

2014-01-08 Thread Jing Li
Hi There, I currently have two instances running on the AWS within an OrientDB cluster (Replication turned on). Does the distributed mechanism support schema sync? What is the best practise to do a schema update in an OrientDB cluster? I am using 1.6.2 Thanks Jing -- --- You received

Re: [orientdb] Re: OrientDB very slow on inserting edges (relations)

2014-01-08 Thread Luca Garulli
Hi Pawan, where is the source for OrientdbInsertPerformanceTest ? Lvc@ On 8 January 2014 07:52, Pawan Goyal pawan...@gmail.com wrote: I am using to OrientdbInsertPerformanceTest to create the vertex and edge.In the same code how to make sure that duplicate node and edge are not created.

Re: [orientdb] how many graphs

2014-01-08 Thread Artem Orobets
Hi Alan, Another benefit of having several graphs is that you can easily move some to another server to balance load on servers. But clearly, there is a restriction, you can't easily implement connections between this graphs (e.g. edge from graph A to graph B). Will a running server detect new

Re: [orientdb] Find shortest path with orientdb

2014-01-08 Thread Sotiris Beis
I used this line of code as you suggested OGlobalConfiguration.CACHE_LEVEL2_ENABLED.setValue(true); but nothing seems to change. Τη Σάββατο, 4 Ιανουαρίου 2014 8:26:00 μ.μ. UTC+2, ο χρήστης Lvc@ έγραψε: Hi Sotiris, the Level1 cache born and die with Graph instance, so can you double check

Re: [orientdb] how many graphs

2014-01-08 Thread Luca Garulli
Hi Alan You could reduce the amount of memory per graph, but probably the best idea is the new issue created by Andrey about letting the disk cache to be shared among graphs. Lvc@ Sent from Mobile device Il 08/gen/2014 18:50 Alan Miller alan.mill...@gmail.com ha scritto: Could you explain what

[orientdb] OrientVertex.addEdge() - how?

2014-01-08 Thread Sultan
Hey folks, still using OrientGraph DB 1.5.0 with Java. I'm trying to add an edge from a vertex to another. I have schema saying graph.createEdgeType(EdgeName); Now I have some vertices and tried: vertex1.addEdge(EdgeName, vertex2, null, null, foo, bar); that works. Querying that with Gremlin

Re: [orientdb] Partial document update using the REST API

2014-01-08 Thread stefan
Hi, REST/HTTP supports patches with the PATCH method (POST/PUT/PATCH). Would it not be appropriate to use that rather than the updateMode=partial parameter? Regards, -Stefan On Tuesday, 31 December 2013 13:34:36 UTC, Lvc@ wrote: Hi, yes, the MVCC is to avoid conflict updates. Lvc@

[orientdb] Re: OrientDB very slow on inserting edges (relations)

2014-01-08 Thread Pawan Goyal
How does that solves the issue of duplicate node and edge. On Monday, 7 January 2013 20:09:48 UTC+5:30, Milen Dyankov wrote: *DISCLAIMER: I'm typically NOT a type of person that posts messages like hey, this other product is better then yours and it is NOT my intention to start any fights