http://www.orientechnologies.com/orientdb-vs-neo4j/
OrientDB and Neo4j* share many features, but the engines are fundamentally different. While Neo4j is a pure Graph Database, OrientDB has a hybrid Document-Graph engine that adds some compelling features to the Graph Database model.
This page will outline only the most important differences.
Price and Licensing
Many make the mistake of assuming that Neo4j is free because it’s open source. This is a quote from their official website: “Simply, if you are open source, then Neo4j is open source; if you are closed source, then Neo4j is commercial” – Fair Trade Software Licensing – A Guide To Licensing Options For Neo4j. In the 2014 Gartner report, Neo4j’s referenced customers identified Neo’s pricing model as an issue.
It takes a lot of effort to fully understand the Neo4j pricing and licensing model. They have two product versions with a very different feature set. Community Edition, which lacks clustering (fault tolerance), advanced caching and other important production features is GPL. Enterprise edition is available underAGPL or a paid subscription license.
In our experience, we’ve found enterprise users aren’t receptive to (A)GPL. There are too many grey areas interpreting a derivative work and they aren’t willing to risk polluting their closed source code with an AGPL license.
We opted for the completely permissive Apache 2 Open Source license on our Community Edition. Free for any purpose! We also didn’t disable the features allowing horizontal scale and fault tolerance. Cluster, shard and replicate until your heart is content. Let your free use project expand globally without the fear of license restrictions. Oh, almost forgot, you can embed our database as well. Try that with (A)GPL!
When it comes to pricing, we take a step forward. Not only is OrientDB Enterprise a fraction of the cost compared to Neo4J. We also utilize your resources in a more effective way. Neo4j allows only one database per server. OrientDB can host several databases per instance. We make our pricing EASY and PUBLIC. Discounts are deep for large deployments and we gladly work with OEMs on distribution friendly licenses.
Modern, friendly business practices. Browse the pricing of our Production Support and Training services. We have nothing to hide.
Feature Matrix
Operational DBMS
Most NoSQL solutions, like Neo4j, are used just as “cache” to speed up certain use cases, while the master database remains a Relational DBMS. In the 2014 Gartner report, Neo4j’s referenced customers expressed dissatisfaction with the product’s High Availability/Disaster Recovery capabilities.
Most NoSQL products are focused on performance and scalability, while sacrificing reliability. Users don’t perceive a NoSQL DBMS as reliable as a Relational DBMS.
OrientDB, however, isn’t the average NoSQL DBMS. Thanks to WAL (Write Ahead Logging), OrientDB is able to restore the database content after a crash. Any pending transactions are automatically rolled back. Your precious data is in a safe place.
For this reason, OrientDB was the first graph database to ever appear on Gartner’s Operational DBMS Magic Quadrant in 2013.
Gartner, Magic Quadrant for Operational Database Management System, Donald Feinberg, et al, October 21, 2013.
Scalability
Neo4j supports replication, but this is an Enterprise feature not released in the FREE Open Source Community Edition. Furthermore, the replication follows the Master/Slave architecture with a huge bottleneck on write operations: only one server can be the master, so the Neo4j write throughput is limited to the capacity of the single Master server. This means that Neo4j isn’t able to scale on writes.
OrientDB, instead, supports a Multi-Master + Sharded architecture: all the servers are masters. The throughput is not limited by a single server. With OrientDB, the global throughput is the sum of the throughput of all the servers.
This is also called Linear Scalability.
Query Language
Neo4j has its own Query Language called “Cypher“- which requires training to learn a new language.
OrientDB’s query language is built on SQL and is augmented with a few extensions to manipulate trees and graphs. Considering most developers are familiar with SQL, working with OrientDB is just easier.
Look at the same query in OrientDB SQL vs Neo4j Cypher query languages to retrieve the actor’s name and their movies from the actor vertex:
OrientDB SQL |
Neo4j Cypher |
|
SELECT name, out(‘ACTS’).title |
VS |
MATCH (actor:Person{name:’Robin’})-[:ACTS_IN]->(movie) |
Complex Domains
Neo4j doesn’t support a proper schema against Vertex and Edges, but only the “label” concept to group vertices and edges of the same type. No inheritance, no polymorphism and no complex constraints, but only the uniqueness of values by using indexes.
OrientDB, instead, supports the creation of schemas around graphs. Furthermore, the true inheritance and polymorphism allow you to create subclasses of Vertex and Edge. For example, you can have “Customer” and “Provider” that extend the common vertex class “Account” by inheriting all of the fields. By using the schema, you can also setup complex constraints against vertices and edges properties.
Complex Types
While OrientDB supports a rich set of types, Neo4 supports only primitive types. With Neo4j, it’s not possible to store decimal numbers (amounts, currencies, salaries, etc.) without loosing precision, because “float” and “double” Java types use the floating point technique. OrientDB, instead, provides the “decimal” type to handle numbers with no precision lost.
The same is for dates. Neo4j has no direct support for date types, so the management of temporal data is the responsibility of the developer that must convert it into milliseconds from 1970. OrientDB, instead, provides DATE and DATETIME types to handle dates easily.
OrientDB supports other complex types such as Binary to store BLOB (Binary Large Objects), Embedded to store embedded objects recursively,Collections and Maps.
Deleted Records
One of the most important features of an Operational DBMS is that it shouldn’t require a restart or down-time for maintenance. Neo4j isn’t able to automatically reclaim the space of deleted records and it requires a complete restart of the server. In comparison, OrientDB automatically reuses the freed space and such operations are transparent and occur while the server is online.
Are you already using Neo4j?
Many clients have passed from Neo4j to OrientDB, join them! To try OrientDB, follow these 3 simple steps: Import from Neo4j to OrientDB.
To discover 10 key advantages of using OrientDB, take a look at Why OrientDB? If you need OrientDB support, consulting or training, pleasecontact us.
*Neo4j is a registered trademark of Neo Technology Inc.
**Gartner, Magic Quadrant for Operational Database Management System, Donald Feinberg, et al, October 21, 2013.
相关推荐
ArangoDB vs. JanusGraph vs. Neo4j vs. OrientDB vs. TigerGraph System Properties Comparison ArangoDB vs. JanusGraph vs. Neo4j vs. OrientDB vs. TigerGraph
尼奥贝Neo4j 和 OrientDB 的 Scala 驱动程序
XGDBench A Benchmarking Platform for Graph Stores in Exascale Clouds
它是TinkerPop堆栈的一部分,并连接到任何启用了Blueprints的图形数据库,包括Neo4j,OrientDB,Dex,OpenRDF Sail和TinkerGraph。 Bulbs支持可插拔的后端,并且更多的本机绑定正在开发中。 好了吗? 预览版现已...
它与 Neo4J、OrientDB、Titan 等兼容。 Rexster 项目由领导。 此容器使用Rexter 2.6.0 。 是由主导的开源分布式图数据库。 此容器已针对OrientDB 2.0.3进行了测试。 这个 docker 运行一个 Rexster 服务器,该...
OrientDB批处理导入器 这是OrientDB的快速,肮脏的批处理导入器,用于导入CSV文件中给出的图形数据。 就像Michael Hunger的neo4j批处理插入器(请参阅 )一样,它接受(a)指定图形节点的CSV文件,以及(b)指定其...
此代码包含一系列针对 Neo4j、OrientDB 和 Titan 数据库的基准测试,所有这些都通过 java 运行。 尚未包括数据库库。 设置文件时,顶部有 numberOfNodes 和 fileSet,numberOfNodes 应等于将创建的顶点数,fileSet ...
当前的目标是支持Cassandra,OrientDB和Neo4J。 通过当前版本下载库。 builder = new GraphMetaBuilder() .withNodeClasses(nodes) .withEdgeClasses(edges);database = OrientGraphDatabase.create( pathOrUrl, ...
如果你只想跑步 转到 克隆该仓库并运行 docker-compose -f recipes / arcade-standalone.yml up 街机分析-玩数据 可以在上获得Arcade和演示数据库的Docker映像 快速开始 要启动ArcadeAnalytics,请运行(需要安装...
⼤数据常⽤数据库汇总 通常数据库分为关系型数据库和⾮关系型数据库,关系型数据库的优势到现在也... 4、图数据库:Neo4J、InfoGrid、OrientDB、GraphDB,下⾯简单介绍⼏个 (1)Neo4j:Neo4j是⼀个图数据库;⽀持ACID
使用将模型存储在图形数据库中,例如 Neo4J、OrientDB、Titan 等...。 当前版本是 0.3.0。 依赖关系 蓝图 2.6.0 或更高版本 安装 将在 maven central 上可用。 现在做 git clone ...
用于图形数据库存储(TODO:添加对 OrientDB 和 Titanium 的支持); Node.js Express Node.Js库; ; 用于文本网络可视化的算法; 来自 StackOverflow 和 Neo4J 社区人员的帮助; ================== ###...
针对日常比较常用的图数据库技术(Neo4J、ArangoDB、OrientDB)进行了分析和整理,从存储,性能和和算法支撑等几方面进行了对比和分析。
社区适配器适用于CouchDB 、 neDB 、 TingoDB 、 SQLite 、 Oracle 、 MSSQL 、 DB2 、 ElasticSearch 、 Riak 、 neo4j 、 OrientDB 、 Amazon RDS 、 DynamoDB 、 Azure Tables和RethinkDB 。 安装 npm i ...
Mogwai 尝试抽象与任何的兼容 Graph 数据库(即 TitanDB、Neo4J、OrientDB、FoundationDB、Apache 的 Giraph 等)的交互。 大多数文档。 欢迎提出意见、建议和拉取请求。 推特: 安装 $ npm install mogwai 请...
GraphDB基准测试 此基准是作为2012年莱比锡大学信息检索(IR)课程中的一项程序设计作业而开发的。... 它使用Dex,OrientDB和Neo4j在共现图上对各种图查询进行基准测试。 详细信息和结果可以在docs / report /下找到。
Neo4j,Titan,OrientDB和ArangoDB都支持它。 您可能关心的Gremlin工具是查询语言(上图中的绿色生物)和HTTP服务器(称为Rexster,这就是黄狗)。跑巨人git clone ...
## DREAMS.NETWORK是一个在线图形... 用于图形数据库存储(TODO:添加对OrientDB和Titanium的支持); 节点 Express Node.Js库; ; 用于文本网络可视化的算法; 来自StackOverflow和Neo4J社区的人们的帮助; ====
OrientDB代码 Neo4j代码 dcrxml导入到graphdb的模型 NLP代码 实用程序 自然语言处理 正面和负面情绪分析(分类) 词表: : 测试/培训集: : -- Wordlist Based ---- analyzed 22941 positive sentences of which...
蜘蛛图 这个项目和组织被放弃了。... ... 为什么是“蜘蛛”? 因为蜘蛛会爬过网络,所以网络看起来像图。 遍历您的数据。 本自述文件非常有限。 请参阅以获取指南。...Gremlin Server,Neo4j和OrientDB的