📜  Neo4j 和 MySQL 的区别

📅  最后修改于: 2021-09-08 15:41:33             🧑  作者: Mango

1. Neo4j :
Neo4j 是最著名的图形数据库管理系统,它也是 Neo4j, Inc. 开发的 NoSQL 数据库系统。它不同于 Mysql 或 MongoDB,因为它具有与其他数据库管理系统相比的特殊功能。 Neo4j 还以图表的形式存储和呈现数据,而不是表格格式或 Jason 格式。在这种情况下,整个数据由节点表示,在那里您可以创建节点之间的关系,这意味着整个数据库集合将看起来像一个图形,这使得 Neo4j 与其他数据库管理系统不同。

2. MySQL:
它是一个基于结构化查询语言 (SQL) 的关系数据库管理系统 (RDBMS)。它是由oracle 公司开发和管理的基于开放的数据库管理,于1995 年5 月23 日首次发布。它被广泛应用于许多小型和大型工业应用程序,能够处理大量数据。

Neo4j 和 MySQL 的区别:

S.No. Neo4j MySQL
1. It was developed by Neo4j, Inc. It was developed by Oracle.
2. It was initially released in 2007. It was initially released on May 1995.
3. It is written using Java and Scala language. It is developed in C and C++ languages.
4. Neo4j server operating systems are Linux, OS X, Solaris, and Windows. Its server operating systems are Free BSD, Linux, OS X, Solaris and Windows.
5. It provides us with Causal and Eventual Consistency configurable in Causal Cluster setup and Immediate Consistency in stand-alone mode. It provides us with Immediate Consistency method to ensure consistency in a distributed system.
6. Neo4j APIs and other access methods includes Bolt protocol, Cypher query language, Java API, Neo4j-OGM, RESTful HTTP, API, Spring Data Neo4j, TinkerPop 3. APIs and other access methods include ADO.NET, JDBC, ODBC, Proprietary native API.
7. It does not support SQL. It supports SQL.
8. Its primary database model is is Graph DBMS. Its primary database model is Relational DBMS.
9. Neo4j supports programming languages which are .Net, Clojure, Elixir, Go, Groovy, Haskell, Java, JavaScript, Perl, PHP, Python, Ruby and Scala. It supports Ada, C, C#, C++, D, Delphi, Eiffel, Erlang, Haskell, Java, JavaScript (Node.js), Objective-C, OCaml, Perl, PHP, Python, Ruby, Scheme, Tcl programming language.
10. It does not supports Partitioning methods. It supports horizontal partitioning, sharding with MySQL Cluster or MySQL Fabric.