OrientDB

OrientDB SQL vs Gremlin

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What query language in OrientDB provides the fastest solution: SQL or Gremlin? Gremlin is very attractive because it is universal for other graph libraries, however does this require a big translation in OrientDB or none at all (What is the latency)? 回答1: EDIT As @decebal pointed out this is not a good test case scenario. Please discard the below benchmarks. power of a graph database comes from relationships, those queries are obviously biased towards simple structures which reflects the only conclusion that when you want simple data

OrientDB corruption state in Nexus Repository version 3.2.0-01

為{幸葍}努か 提交于 2019-12-02 21:49:45
We are using Nexus Repository version 3.2.0-01 and started getting the following error in nexus.log. OrientDB has got corrupted. Nexus is no longer starting. 2017-03-21 13:00:36,329+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - OrientDB version: 2.2.13 2017-03-21 13:00:36,348+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - OrientDB Server v2.2.13 is starting up... 2017-03-21 13:00:36,355+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - Databases directory: /c9/setup/apps/nexus

MongoDB + Neo4J vs OrientDB vs ArangoDB [closed]

时光总嘲笑我的痴心妄想 提交于 2019-12-02 14:04:31
I am currently on design phase of a MMO browser game, game will include tilemaps for some real time locations (so tile data for each cell) and a general world map. Game engine I prefer uses MongoDB for persistent data world. I will also implement a shipping simulation (which I will explain more below) which is basically a Dijkstra module, I had decided to use a graph database hoping it will make things easier, found Neo4j as it is quite popular. I was happy with MongoDB + Neo4J setup but then noticed OrientDB , which apparently acts like both MongoDB and Neo4J (best of both worlds?), they even

Find “friends of friends” with OrientDB SQL

最后都变了- 提交于 2019-12-02 06:58:21
问题 Although one of the most common use cases for demonstrating the capabilities of a graph database, I cannot seem to find a good example or best practice for obtaining "friends of friends" with OrientDB SQL. Lets assume a social network and try to model it with "user" vertices and "is_friend_with" edges. Definition : Vertex class user with properties uuid (custom unique id) and name Edge class is_friend_with with property status which can be " pending " or " approved " Users are connected to

OrientDB Query by edge property

旧城冷巷雨未停 提交于 2019-12-02 04:44:10
I have two vertex classes: Location and User and I have two edges also: Friend and GoingTo. A User can be 'Friend' with another User and a User can also 'GoingTo' a Location. The edge GoingTo has a datetime property called going_date with the date the user is going to the Location. I want to return every ‘Location’ that has a in(“GoingTo”) edge from an ‘User’ that is a (“Friend”) of a specific starting ‘User’ (#12:11 as example). What I have here is all locations but without the date property of goingTo... SELECT expand(both('Friend').out('goingTo')) FROM #12:11 How can I query by this edge

About Database Encryption in OrientDB

≡放荡痞女 提交于 2019-12-02 04:33:35
问题 I'am evaluating OrientDB for a SaaS-CRM project and really expect to use it. Since data security is a key factor, I'd like the OrientDB development team to answer my questions. In version 2.2, is it possible to encrypt clusters/databases by orientjs api ( and/or sql api, db functions), and totally independent of java api? if true, then how can I do? Encrypting fields/attributes of records is on your schedule? If so,When will come to release? If I do not express clearly, pls forgive me:-) Many

Find “friends of friends” with OrientDB SQL

坚强是说给别人听的谎言 提交于 2019-12-02 04:09:56
Although one of the most common use cases for demonstrating the capabilities of a graph database, I cannot seem to find a good example or best practice for obtaining "friends of friends" with OrientDB SQL. Lets assume a social network and try to model it with "user" vertices and "is_friend_with" edges. Definition : Vertex class user with properties uuid (custom unique id) and name Edge class is_friend_with with property status which can be " pending " or " approved " Users are connected to each other with unidirectional edges. The direction doesn't really matter; as long as status="approved",

OrientDB No database instance found in context error?

大城市里の小女人 提交于 2019-12-02 03:54:57
问题 Orient DB has and issue in orientdb-community-1.7-rc2 when I try to create a small function as follows var db = orient.getDatabase() return 'test'; and executes it I get following erro Error on parsing script at position #0: Error on execution of the script Script: newPOJS ------^ sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.orientechnologies.orient.core.exception.OConfigurationException: No database instance found in context (#2) in at line number 2 Wrapped com

OrientDB: How to update column using select query

本秂侑毒 提交于 2019-12-02 02:28:01
问题 I need to update a column in table using following: update Table1 set name = (select productName from Table2 where @rid=$parent.$current.productid) Query works fine but instead of name query stores value in "[productname]" format. I have read orientdb documentation, I guess select query returns result in collection format. so I have already tried following functions get(1) first() [0] etc (my desperate attempt :) Thanks in advance. 回答1: I tried searching but did not get any clean ans, but i

About Database Encryption in OrientDB

我的梦境 提交于 2019-12-02 01:37:48
I'am evaluating OrientDB for a SaaS-CRM project and really expect to use it. Since data security is a key factor, I'd like the OrientDB development team to answer my questions. In version 2.2, is it possible to encrypt clusters/databases by orientjs api ( and/or sql api, db functions), and totally independent of java api? if true, then how can I do? Encrypting fields/attributes of records is on your schedule? If so,When will come to release? If I do not express clearly, pls forgive me:-) Many thanks. Hanks Do you mean encrypt records? OrientDB provides encryption at storage level, but once