[orientdb] Re: Next version? OrientDB 1.7!

2014-01-16 Thread Leng Sheng Hong
whoa nice. I wonder what's new in the extended SQL in 1.7 On Thursday, 16 January 2014 00:25:48 UTC+8, Lvc@ wrote: Hi, It's official. Orient Technologies will release an intermediate version before the Big One 2.0: OrientDB v1.7! This release will include all the fixes of 1.6.x and some

[orientdb] Build issues with 1.6.4

2014-01-16 Thread Stian Seeberg
Hi guys, Just wanted to let you know about a couple of build issues with the new 1.6.4 release. The source was downloaded as a zip from github. The first is an illegal character (not sure if this is a charset problem?) This is the same identifier in both cases, so I just renamed it locally to

Re: [orientdb] Transaction synchronization between ODB and a SQL database.

2014-01-16 Thread André Gomes
Hi! Last Resource Optimization is not enough in all cases: http://jbossts.blogspot.com.br/2012_06_01_archive.html I think two phase commit is really needed. Regards, André. On Friday, June 21, 2013 9:45:14 AM UTC-3, Harald Wellmann wrote: In your scenario for keeping OrientDB in sync with

[orientdb] creating an index on a nested list/map structure

2014-01-16 Thread EJ
Hi Everybody, After some very good results with orientdb I am stuck with a problem. I have created a large database with a class which contains a list of maps. To speed up queries I would like to use an automatic index on an element of the map A (simplified) example can be created in the

[orientdb] Loading Graph ML file into specific SCHEMA ?

2014-01-16 Thread troy white
Hi Luca and all, Is there any way to load the graphml file into a specific schema (under Graph DB) using GraphMLReader (provided by blueprints) ? We don't see any support from blueprints api. Can any one show us the way ? Thanks, Troy White. -- --- You received this message because you

Re: [orientdb] Loading Graph ML file into specific SCHEMA ?

2014-01-16 Thread Luca Garulli
Hi Troy, look at: https://github.com/orientechnologies/orientdb/wiki/Migration-from-1.3.x-to-1.4.x#import-the-exported-database Lvc@ On 16 January 2014 13:32, troy white troywhite...@gmail.com wrote: Hi Luca and all, Is there any way to load the graphml file into a specific schema (under

Re: [orientdb] Too much memory consumption after multiple insertions

2014-01-16 Thread Andrey Lomakin
This parameter set db cache memory consumption in megabytes, so you can use set it to reasonable value. On Thu, Jan 16, 2014 at 2:40 PM, Andrey Lomakin lomakin.and...@gmail.comwrote: Hi, If you need you can decrease memory consumption using following parameter storage.diskCache.bufferSize ,

Re: [orientdb] Too much memory consumption after multiple insertions

2014-01-16 Thread Sotiris Beis
How can I determine wether my value is reasonable or not? On Jan 16, 2014, at 3:13 PM, Andrey Lomakin lomakin.and...@gmail.com wrote: This parameter set db cache memory consumption in megabytes, so you can use set it to reasonable value. On Thu, Jan 16, 2014 at 2:40 PM, Andrey Lomakin

Re: [orientdb] Loading Graph ML file into specific SCHEMA ?

2014-01-16 Thread troy white
Luca, Import the exported database gremlin g = new OrientGraph(local:/temp/newdb);==orientgraph[local:/temp/newdb]gremlin g.loadGraphML(/temp/export.xml);==nullgremlin This does importing of graphml data into a specific DB, not into a specific schema. We are holding 4 schema s under *V *in

Re: [orientdb] Re: How to perform a graph query where the result depends on another Class (data script included)

2014-01-16 Thread SHak
Hi Artem, I have a great idea to solve my issue that I think will work but I need your expertise. I was wondering, I would like to avoid a complicated traversal solution as you mention with gremlin that could be a lot more expensive (I still cannot get gremlin working out of the box). But

Re: [orientdb] Loading Graph ML file into specific SCHEMA ?

2014-01-16 Thread Luca Garulli
Hi, gotcha! We haven't special settings to tell to OrientDB the schema-mapping. It would be cool having something like: gremlin g = new OrientGraph(local:/temp/newdb); gremlin g.loadGraphML(/temp/export.xml*, { 'bindVertexClassToProperty' : 'LEVEL' }*); Where last parameter is a map/json for

[orientdb] Re: Help querying embedded list of embedded maps

2014-01-16 Thread Matthew
Thanks Damian, but that did not work. First, I should mention this in case it makes a difference: I am working in schema-less mode. So I have not used SQL commands to create property types or anything. My data structure for the listofmaps property is basically listofmaps = [{propkey:

Re: [orientdb] Loading Graph ML file into specific SCHEMA ?

2014-01-16 Thread troy white
Hey Luca, This is a show stop for our further implementation. That workaround may not be suitable to our architecture. But still let me throw a try. I believe that has to be done from gremlin console, don't I ? We would want it to happen at run time. 'll open a new issue. -Troy White. On

Re: [orientdb] Re: Next version? OrientDB 1.7!

2014-01-16 Thread SHak
Thanks Lvc@, I just updated to 1.7 because I hit an issue with 1.6 but I cannot even create a vertex from console on 1.7 and I'll post a question about my problem on 1.6. orientdb connect remote:localhost/touca root [password]; Connecting to database [remote:localhost/touca] with user

Re: [orientdb] Loading Graph ML file into specific SCHEMA ?

2014-01-16 Thread troy white
Created new issue. - Troy. On Thursday, January 16, 2014 8:27:09 PM UTC+5:30, Lvc@ wrote: Hi Troy, the round trip would be renaming the property name LEVEL on each properties of XML entries to label or @class. It should work ;-) Lvc@ On 16 January 2014 15:39, troy white

[orientdb] Re: Help querying embedded list of embedded maps

2014-01-16 Thread Damian Bronecki
OK I get what you saying. So this query would not return false positives: select from Test where listofmaps[propkey]=PROPVALUE But in your case this is not a map but list of maps Maybe this will work: select from Test where listofmaps.any()[propkey]=PROPVALUE or some variations of this?? --

Re: [orientdb] Re: How to perform a graph query where the result depends on another Class (data script included)

2014-01-16 Thread SHak
So I'm trying to figure an approach to my previous reply and I hit another problem. As soon as I give my edge a property, the query that I'm using stops working and won't return anything that has properties, seems that the in/out is now with the edge and not between the labels and that of

Re: [orientdb] Too much memory consumption after multiple insertions

2014-01-16 Thread Andrey Lomakin
Hi I mean you should give DB as much RAM as possible without using of swap. On Thu, Jan 16, 2014 at 3:16 PM, Sotiris Beis sot.b...@gmail.com wrote: How can I determine wether my value is reasonable or not? On Jan 16, 2014, at 3:13 PM, Andrey Lomakin lomakin.and...@gmail.com wrote: This

Re: [orientdb] OrientVertex.addEdge() - how?

2014-01-16 Thread Andrey Lomakin
Hi, Could you try vertex1.addEdge(class:EdgeName, vertex3); it should work for your case. On Wed, Jan 8, 2014 at 8:41 PM, Sultan hajue...@gmail.com wrote: 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

Re: [orientdb] Re: Released OrientDB 1.6.4: hot-fix + merged Blueprints

2014-01-16 Thread Andrey Lomakin
Hm, Is it possible for you to build from master branch and repeat your attempt ? On Thu, Jan 16, 2014 at 12:41 PM, Julien L. yotsumi...@gmail.com wrote: I've just tried with the following dependencies com.orientechnologies % orientdb-parent % 1.6.4, com.orientechnologies % orientdb-graphdb