[orientdb] A graph with few vertices but with many edges. Will the graph work well?

2014-02-06 Thread Tomek Kulakow
Does it make sense to create a graph with a very large amount edges between vertices? For example if I have sellers and products as vertices and each net user by buying something adding new edge (a edge from a seller to a product with data and amount properties means that a seller sold a

Re: [orientdb] null pointer exception after deletion of graph vertices

2014-02-06 Thread Luca Garulli
What version are you using? Sent from Mobile device Il 05/feb/2014 22:42 Jonathan Rosen rosenj...@gmail.com ha scritto: Here is the error message: Error: com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException: Exception during response processing. Error:

[orientdb] Re: Getting edges from Vertex

2014-02-06 Thread Fabrizio Fortino
Additional note: if I execute System.out.println(doc.countEdges(Direction.OUT, has)); It prints the right number of edges. Could it be a bug on getEdges() method? On Wednesday, February 5, 2014 2:22:55 PM UTC, Fabrizio Fortino wrote: Hi guys, I have a graph database with Vertices and

Re: [orientdb] Re: Getting edges from Vertex

2014-02-06 Thread Andrey Lomakin
Hi Fabrizio, It is possible, but we need more information, could you open issue and send us test case or database to check it. On Thu, Feb 6, 2014 at 11:03 AM, Fabrizio Fortino fabrizio.fort...@gmail.com wrote: Additional note: if I execute System.out.println(doc.countEdges(Direction.OUT,

[orientdb] Problem with OrientDB1.6.2 on the Raspberry PI

2014-02-06 Thread Eric Schreiner
our Software (PicApport) works fine on Windows and Linux beased system. Our config for Linux has no problems with 1.6.2: *jdk1.8.0/jre/bin/java -version* *java version 1.8.0* *Java(TM) SE Runtime Environment (build 1.8.0-b128)* *Java HotSpot(TM) 64-Bit Server VM (build 25.0-b69, mixed mode**)*

Re: [orientdb] A graph with few vertices but with many edges. Will the graph work well?

2014-02-06 Thread Andrey Lomakin
Hi, We have costumer in production which has 700 000 edges for one vertex and does not experience performance problems so that is what graph databases are intended for. On Thu, Feb 6, 2014 at 9:24 AM, Tomek Kulakow tome...@gmail.com wrote: Does it make sense to create a graph with a very large

Re: [orientdb] Problem with OrientDB1.6.2 on the Raspberry PI

2014-02-06 Thread Andrey Lomakin
Hi, This problem is fixed in 1.7-RC1 will be available during couple of hours, could you use it ? Also please be sure that you do not have embedded jna version, usually it is called libjna-java. We also will provide migration tool (if you need it) for graph database. But as I can see you use

Re: [orientdb] Re: OrientDB 1.7 - OGraphDatabase will be removed. What ?!?!

2014-02-06 Thread Riccardo Tasso
Hi, I'm using the following code: ODatabaseDocumentPool pool = new ODatabaseDocumentPool(url, user, password); ... ODatabaseDocumentTx db = null; try { db = pool.acquire(); final OSQLSynchQueryODocument query = getQuery(params); ListODocument queryResult = db.query(query, paramsMap); return

Re: [orientdb] Important issue: WAL page is broken

2014-02-06 Thread Andrey Lomakin
Hi, If you use JSON version of import/export you create the same data structures as before, so you will have no profit of this. You should use new LINKBAG data structure to fix this issue. So you should either use GraphML which operates on the graph model level or use migration tool which will

Re: [orientdb] Re: OrientDB 1.7 - OGraphDatabase will be removed. What ?!?!

2014-02-06 Thread Andrey Lomakin
Hi, Yes, all is correct. On Thu, Feb 6, 2014 at 12:50 PM, Riccardo Tasso riccardo.ta...@gmail.comwrote: Hi, I'm using the following code: ODatabaseDocumentPool pool = new ODatabaseDocumentPool(url, user, password); ... ODatabaseDocumentTx db = null; try { db = pool.acquire(); final

Re: [orientdb] A graph with few vertices but with many edges. Will the graph work well?

2014-02-06 Thread Tomek Kulakow
Thank you:) Could you tell me what about aggregation? Does OrientDB provide any function to choose a subset of edges (with specyfic property) and make fast addition for another property of edges in this set, or property of vertexes in the set of pointed vertex. I mean something like an

[orientdb] Examples of standard use of various type databases

2014-02-06 Thread Tomek Kulakow
Could you please indicate literature or links for materaials so that I could learn how to design database diagrams with graphs and document-oriented databases? I wonder when to use graf and when a relational database or document-oriented approach, or maybe few in one project. I would like to

[orientdb] SQL

2014-02-06 Thread MrFT
Hello, I have been looking into Graph Databases (and some other NoSQL databases) recently, and i found a lot of interesting developments going on, including ArangoDB with its Foxx applications (and Javascript API very similar to MongoDB) and Neo4J, seemingly the most popular GraphDB currently.

Re: [orientdb] Database 'plocal:/graphdb_tests_orient' is close

2014-02-06 Thread Andrey Yesyev
Any updates on this? On Wednesday, February 5, 2014 9:18:54 AM UTC-5, Andrey Yesyev wrote: Hi there! Here is it. I'm using Intellij IDEA, so all dependencies are set up in IDEA project file. Just in case I'm using orderEntry type=library

[orientdb] How to enable Asynch replication mode?

2014-02-06 Thread Andrey Yesyev
Well, the question actually is in the subject. My guess is readYourWrites:false in *default-distributed-db-config.json.* Am I right? -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop receiving emails from

Re: [orientdb] null pointer exception after deletion of graph vertices

2014-02-06 Thread Jonathan Rosen
version is 1.6.3 This problem occurred against a specific vertex. I have a vertex called store that connects to products via edges. I deleted the connected products to that vertex by using delete vertex where @class=products and in.out.storename = x This seemed to put that store vertex into an

Re: [orientdb] null pointer exception after deletion of graph vertices

2014-02-06 Thread Dexter Pratt
I think I encountered a similar situation in 1.6.1 where a deleted vertex was still pointed to by others - I solved it in about the same way, explicitly nulling the connections before deleting. I had not reported it since we will be attempting to move to 1.7 and was concerned this might be a

[orientdb] Re: Unintended clearing of links from vertex when modifying properties via tinkerpop framed object

2014-02-06 Thread Dexter Pratt
Updating this issue - Found another situation where apparently framed vertex transaction mode operations on an object created in OrientGraphNoTx mode resulted in unintended removal of edges, so it was not an isolated case. We tried switching our application to use only OrientGraphNoTx and the

[orientdb] Strategy for supporting XGMML typed attributes?

2014-02-06 Thread Dexter Pratt
Hi All, I'm looking for advice on an implementation strategy for annotating vertexes with arbitrary (i.e. user driven) attributes where the attribute values may need to carry datatype information. (Our application is a network storage and sharing system for scientists - within each network

[orientdb] Re: Create DB in distributed mode

2014-02-06 Thread Andrey Yesyev
Tried this on 1.7rc1. The other node does create database folder under {ORIENTDB_HOME}/database and put file distributed-config.json in it. But still there is no DB replication. Is it ok? On Wednesday, February 5, 2014 10:36:39 AM UTC-5, Andrey Yesyev wrote: Hi, I tried to create a new DB

Re: [orientdb] Re: Unintended clearing of links from vertex when modifying properties via tinkerpop framed object

2014-02-06 Thread Andrey Lomakin
Hi, In 1.7 RC1 which was published today there is no difference in management edges in tx and no tx mode, but we suggest to wait till Monday and use 1.7-SANPSHOT which will contain migration tool. On Thu, Feb 6, 2014 at 7:28 PM, Dexter Pratt dexterpratt@gmail.comwrote: Updating this issue

[orientdb] Binary protocol - help needed

2014-02-06 Thread Pawel K.
With recent develop snapshot, I start to get strange edge colection representation SELECT FROM #42:0 #42:0 v12 DbPedResource@

Re: [orientdb] Binary protocol - help needed

2014-02-06 Thread Andrey Lomakin
Hi Pawel, What do you mean you want to retrieve document partially ? It is internal presentation of document so it can not be turned off, we can provide description of this format. On Thu, Feb 6, 2014 at 10:10 PM, Pawel K. kowa...@gmail.com wrote: With recent develop snapshot, I start to get

Re: [orientdb] Binary protocol - help needed

2014-02-06 Thread Andrey Lomakin
To achieve good performance, durability and thread safety we use pretty sophisticated algorithm which allows do not fetch lets say all 700 000 links to edges during link manipulation to the client and still supports mvcc without flaws. So to make it simple you can use only embedded version of

Re: [orientdb] Binary protocol - help needed

2014-02-06 Thread Andrey Lomakin
linkbag surrounded by % and : so you should truncate them. On Thu, Feb 6, 2014 at 10:54 PM, Andrey Lomakin lomakin.and...@gmail.comwrote: To achieve good performance, durability and thread safety we use pretty sophisticated algorithm which allows do not fetch lets say all 700 000 links to

Re: [orientdb] Binary protocol - help needed

2014-02-06 Thread Pawel K.
Thanks. I noticed that OEmbeddedRidBag is pretty simple. One question. When I send OEmbeddedRidBag via binary protocol does it mean that internally on server side it is stored in Embedded or tree form? And when can I expect to get embedded not a tree form in document via binary protocol?

Re: [orientdb] Binary protocol - help needed

2014-02-06 Thread Andrey Lomakin
Hi Pawel, I do not think that providing such level of compatibility is good idea, too much sources should be spent on this. Probably in such case users can work in embedded mode. You see embedded collections they of course will not allow to work with thousands of links but support of sbtree is

Re: [orientdb] Binary protocol - help needed

2014-02-06 Thread Andrey Lomakin
On Thu, Feb 6, 2014 at 11:04 PM, Pawel K. kowa...@gmail.com wrote: And when can I expect to get embedded not a tree form in document via binary protocol? If amount of items more than ridBag.embeddedToSbtreeBonsaiThreshold which is 80 now. -- Best regards, Andrey Lomakin. Orient

Re: [orientdb] Binary protocol - help needed

2014-02-06 Thread Pawel K.
Got it.Thanks a lot. Pawel On Thursday, February 6, 2014 10:04:39 PM UTC+1, Andrey Lomakin wrote: Hi Pawel, I do not think that providing such level of compatibility is good idea, too much sources should be spent on this. Probably in such case users can work in embedded mode. You see

[orientdb] Can transient field be indexed?

2014-02-06 Thread stefan
Hi, I was looking through https://github.com/orientechnologies/orientdb/wiki/Types, actually looking for linkbag documentation, when I came across the Transient field type. I'm using a uuid-v4 (named) to create a deterministic ID and therefore I have use for such a field if it can be indexed

[orientdb] Re: Populating DB in distributed mode v1.7rc1.

2014-02-06 Thread Rob Gratz
Seeing the same problems with rc1 and rc2-SNAPSHOT -- --- 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

Re: [orientdb] Can transient field be indexed?

2014-02-06 Thread Andrey Lomakin
Hi Stefan, LINKBAG is internal type and is not supposed to be used as public API, it is used to manage graphdb relations and we can change it at any time to improve functionality of graph database. You can not index Transient type because you can not serialize it in index as a key using binary

Re: [orientdb] A graph with few vertices but with many edges. Will the graph work well?

2014-02-06 Thread Andrey Lomakin
Hi, There are group by in SQL and Gremlin, so you should chose what fits best for you. On Thu, Feb 6, 2014 at 2:18 PM, Tomek Kulakow tome...@gmail.com wrote: Thank you:) Could you tell me what about aggregation? Does OrientDB provide any function to choose a subset of edges (with specyfic

Re: [orientdb] A graph with few vertices but with many edges. Will the graph work well?

2014-02-06 Thread Andrey Lomakin
https://github.com/orientechnologies/orientdb/wiki/SQL-Query On Fri, Feb 7, 2014 at 9:08 AM, Andrey Lomakin lomakin.and...@gmail.comwrote: Hi, There are group by in SQL and Gremlin, so you should chose what fits best for you. On Thu, Feb 6, 2014 at 2:18 PM, Tomek Kulakow

Re: [orientdb] Missing antlr-2.7.7.jar ?

2014-02-06 Thread Andrey Lomakin
Hi, Sorry it is my fault will fix it now. On Thu, Feb 6, 2014 at 10:54 PM, Laurent Quérel laurent.que...@gmail.comwrote: +1 I observed the same thing on 1.7 this morning. -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from

Re: [orientdb] Missing antlr-2.7.7.jar ?

2014-02-06 Thread Andrey Lomakin
Done. On Fri, Feb 7, 2014 at 9:10 AM, Andrey Lomakin lomakin.and...@gmail.comwrote: Hi, Sorry it is my fault will fix it now. On Thu, Feb 6, 2014 at 10:54 PM, Laurent Quérel laurent.que...@gmail.comwrote: +1 I observed the same thing on 1.7 this morning. -- --- You received this

Re: [orientdb] SQL

2014-02-06 Thread Andrey Lomakin
Hi Frederik, So you mean something like create edge select from a to b match by likes ? About your second note Also, you state calling it SQL, but the first thing anyone (or am I alone?) would do in a query is returning data from different objects next to each other, so you can quickly see

Re: [orientdb] Can transient field be indexed?

2014-02-06 Thread stefan
Hi, Sorry, I thought I had to select the use of linkbags explicitly :). (for backwards compatabilit etc.) Regards, -Stefán On Friday, February 7, 2014 6:59:31 AM UTC, Andrey Lomakin wrote: Hi Stefan, LINKBAG is internal type and is not supposed to be used as public API, it is used to

Re: [orientdb] Can transient field be indexed?

2014-02-06 Thread Andrey Lomakin
Hi, No it is used by default, about backward compatibility we will provide migration tool for old database to new one, you will run it and that is all that needed to migrate. On Fri, Feb 7, 2014 at 9:38 AM, ste...@activitystream.com wrote: Hi, Sorry, I thought I had to select the use of