[orientdb] Help with SQL query

2017-06-19 Thread Erik T
I have a tree with 5 vertices Folder (a) /\ (b) File Folder (c) / \ (d) File

Re: [orientdb] Help with SQL query

2017-06-19 Thread Luigi Dell'Aquila
Sorry, the first query is TRAVERSE in('scopedEdge') FROM ( SELECT expand(in('scopeEdge')) FROM V WHERE file IS NOT NULL ) 2017-06-19 15:26 GMT+02:00 Luigi Dell'Aquila : > Hi Erik, > > I'm afraid I don't completely understand your model: > - how are the edges

[orientdb] Re: Help with SQL query

2017-06-19 Thread Erik T
Hi Luigi, The edges go from parent to child so the 'scopeEdge' comes out of (a) and goes in to (b). File and folder are not separate classes. They are both a plain vertex. The file property is a boolean value. I was thinking the existence of the property could indicate it is a file. I'll try

Re: [orientdb] Orientdb Ram Only

2017-06-19 Thread Jonathan MAHE
Thx for the answer it's work :) 2017-06-19 10:24 GMT+02:00 Luigi Dell'Aquila : > Hi John, > > Yes, you can use OrientDB in-memory only specifying "memory:dbname" as the > connection URL. > > Thanks > > Luigi > > > 2017-06-19 10:17 GMT+02:00 John

Re: [orientdb] Help with SQL query

2017-06-19 Thread Luigi Dell'Aquila
Hi Erik, I'm afraid I don't completely understand your model: - how are the edges directed? From parent to child or from child to parent? - are File and Folder two different classes that extend V? - what does the "file" property represent? Is it a string or what? If I got it right, you have

[orientdb] Production setup for orientdb

2017-06-19 Thread Zeeshan Ahmad
Hi, I am trying to setup orientdb in production environment. The size of data will be around few tens of GB. I wanted to know the recommended EC2 machine for setting up a dedicated orientdb server and feasibility of switching to a distributed database system, if i need that in future. --

[orientdb] Orientdb Ram Only

2017-06-19 Thread John
Hello, I'm not familiarized with the mode Ram Only 1) Do Orientdb use a mode Ram only? 2) If 1) is yes, who can I use it? -- --- 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

Re: [orientdb] Orientdb Ram Only

2017-06-19 Thread Luigi Dell'Aquila
Hi John, Yes, you can use OrientDB in-memory only specifying "memory:dbname" as the connection URL. Thanks Luigi 2017-06-19 10:17 GMT+02:00 John : > > Hello, I'm not familiarized with the mode Ram Only > 1) Do Orientdb use a mode Ram only? > 2) If 1) is yes, who can