[orientdb] Hierarchical structure based on time (Historical data and previous state of graph)

2015-09-02 Thread abhijitk . connect
Hi All, I am new to OrientDB and have some specific requirement that I am not able to solve via OrientDB. Please provide your suggestions and views regarding the same. I have a hierarchical structure of objects that I am a saving orientdb as Vertices and Edges. The problem is that my h

Re: [orientdb] Re: Cannot stop orientdb service

2015-09-02 Thread David Carr
with or without an ip address I can't get shutdown.sh to work. [root@ip-10-0-0-82 log]# ../bin/shutdown.sh 127.0.0.1 2424 Sending shutdown command to remote OrientDB Server instance... Sep 02, 2015 3:32:13 PM com.orientechnologies.common.log.OLogManager log INFO: OrientDB auto-config DISKCACHE=21

[orientdb] Regarding hotAlignment

2015-09-02 Thread Pradeep B K
Can someone please explain what exactly the *hotAlignment *mean in OrientDB distributed environment? Thanks, -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email t

[orientdb] Re: Rid Bag threshold and strategy for fetching and assembling data

2015-09-02 Thread user . work111
> > Hi Davide, > Try this: select *, @this.toJSON('rid,version,fetchPlan:[*]out_author:-1 [*]in_author*:-2') from User where name = "user1" Regards, Michela -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group a

Re: [orientdb] Re: Roadmap for Lucene expansion, maybe?

2015-09-02 Thread scott molinari
Ok. Got my answer about when 3.0 is possibly coming out. End of the year or beginning of next. That is cool and I hope it pans out. Scott -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emai

[orientdb] Re: OrientDB 3.0 will run on Java8 only?

2015-09-02 Thread scott molinari
Then hurray for the disrupters! Scott -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit h

[orientdb] Re: how to set storage.diskCache.bufferSize

2015-09-02 Thread David Carr
Alessandro - For clarification, if I'm running a server daemon and my goal is for OrientDB to use all available memory on the server, how exactly do I set maxdiskcache? *TOP says the following:* top - 11:04:23 up 12:31, 1 user, load average: 0.00, 0.01, 0.01 Tasks: 79 total, 1 running, 7

[orientdb] Re: Query question for graph using in/out/expand in where clause

2015-09-02 Thread alessandrorota04
Hi, try to create this function with the parameters lat,lon,maxDistance,sku var g=orient.getGraph(); var b=g.command("sql","select from Stores where [lat,lon,$spatial] NEAR ["+lat+","+lon+",{'maxDistance':"+maxDistance+"}]"); var vector = [] ; for(i=0;i0){ vector.push(b[i]);

[orientdb] Re: Rid Bag threshold and strategy for fetching and assembling data

2015-09-02 Thread Davide Neri
Heyhey, With this query I'm able to get only the RIDs of the linked vertices going around the RID Bag limits, but I still need to fetch linked vertex with another query later. I would have thought that, since there is an expand(in(...)) it would have returned the vertices and not their RIDs only

[orientdb] Re: Geo spatial query takes time on huge EDGE set

2015-09-02 Thread Ajay Shenoy
Hi Enrico, Have introduced two new properies of type link namely 'out' and 'in' on 'hasInventory' Edge and indexed the two properties. Also tweeked the query as mentioned below : Select @rid,quantity from hasInventory where in = #16:4 and quantity > 0 and out IN (Select @rid from Stores where [

Re: [orientdb] Re: Geo spatial query takes time on huge EDGE set

2015-09-02 Thread Enrico Risa
Hi Ajay if you se the tips "Query 'SELECT out.@rid FROM hasInventory WHERE in.sku = '8907103076739' AND quantity > 0' fetched more than 5 records: to speed up the execution, create an index or change the query to use an existent index" this query is executing full scan on the class has_Inven

[orientdb] Re: Geo spatial query takes time on huge EDGE set

2015-09-02 Thread Ajay Shenoy
Hi Enrico, Here's the EXPLAIN response : { "result": [ { "@type": "d", "@version": 0, "limit": -1, "spatial": { "maxDistance": 20 }, "luceneIndex": true, "fullySortedByIndex": false,

[orientdb] Re: OrientDB 3.0 will run on Java8 only?

2015-09-02 Thread Alan47
The only negative consequence of an update to Java 8 that I can see is that OrientDB will no longer be a viable option in environments which tend to adapt slowly to new technology, i.e. environments where Java 7 or older is still up and running. This affects mostly enterprise areas, I think for

[orientdb] Re: OrientDB 3.0 will run on Java8 only?

2015-09-02 Thread scott molinari
Since it is a major version change and you noted enough good reasons for it, +1 for Java 8 from my perspective. What could be the negatives? Scott -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop rece

Re: [orientdb] Geo spatial query takes time on huge EDGE set

2015-09-02 Thread Enrico Risa
Hi Ajay can you post the explain of this query? 2015-09-02 10:54 GMT+02:00 Ajay Shenoy : > I have created a database with two vertices in it. *Stores*, *Products*. > Stores have a *GeoSpatial Index*. There is an Edge '*hasInventory*' from > store to products which holds quantity for each Product

[orientdb] Geo spatial query takes time on huge EDGE set

2015-09-02 Thread Ajay Shenoy
I have created a database with two vertices in it. *Stores*, *Products*. Stores have a *GeoSpatial Index*. There is an Edge '*hasInventory*' from store to products which holds quantity for each Product-Store relation. Now If I have to find a particular Product(sku) in near by stores how should I

[orientdb] Re: Query question for graph using in/out/expand in where clause

2015-09-02 Thread Ankur Pandey
I am not sure what all information is needed to you. However, I am providing relevant Information here. Hope that is sufficient for you: I have two vertices Stores and Products both extends V. Stores Looks like as follows:

[orientdb] Re: how to set storage.diskCache.bufferSize

2015-09-02 Thread alessandrorota04
Hi, to set for example 1G for the diskcache you must insert the following instruction set MAXDISKCACHE=-Xmx1024m in the file server.bat or server.sh Kind regards, Alessandro -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe fr

[orientdb] Autodiscovery setup on AWS

2015-09-02 Thread Mohammad Naghavi
I have been trying to get the OreintDB 2.0.15 to run in distributed mode over EC2 machines. I have been following the setup guidelines from Hazelcast to set proper settings however I'm constantly getting following exception in logs: java.lang.ClassNotFoundException: com.hazelcast.cluster.TcpIpJ

[orientdb] Re: Performance issues with Multiple embedded DBs

2015-09-02 Thread raeesn
I tested the same with the below storage close implementation. The result looks good with 1GB heap. With 512 it was running but very slow because of GC overhead. *After 450 instances* C

[orientdb] Re: OrientDB 3.0 will run on Java8 only?

2015-09-02 Thread Fabrizio Fortino
+1 Fabrizio On Wednesday, September 2, 2015 at 9:06:28 AM UTC+1, Alan47 wrote: > > Java 8 is the way forward, and Tinkerpop 3 is GA and stable. I have worked > with both TP 2.x and 3.x, and 3.x has a lot of advantages regarding > productivity. > > +1 > -- --- You received this message becau

[orientdb] Re: OrientDB 3.0 will run on Java8 only?

2015-09-02 Thread Alan47
Java 8 is the way forward, and Tinkerpop 3 is GA and stable. I have worked with both TP 2.x and 3.x, and 3.x has a lot of advantages regarding productivity. +1 -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group a

[orientdb] Concurrent reads on single transaction?

2015-09-02 Thread Alan47
Hello everyone, *Detailed explanation of the situation* we are currently in the process of migrating a project that previously used Titan to OrientDB. We are facing some issues regarding concurrency. In Titan, several threads could perform read operations on a single transaction without any pr

[orientdb] Backup folder created upon OrientDB restart

2015-09-02 Thread David Gommeren
We run a distributed OrientDB with three nodes. When we restart one, sometimes it move the existing database to a databases/../backup/databases/ folder before syncing the entire database again. Why does this happen, and more importantly, how can we prevent it? We run on Ubuntu 14.04 and use a s