Introducing Neo4j

图数据库是一种专门用于存储和检索大量信息网络的存储引擎。它有效地将数据存储为具有与其他节点或与自身的关系的节点,从而允许对这些结构进行高效的检索和查询。可以将属性添加到节点和关系中。节点可以标注零个或多个标签,关系总是定向且具有名称。

A graph database is a storage engine that specializes in storing and retrieving vast networks of information. It efficiently stores data as nodes with relationships to other or even the same nodes, thus allowing high-performance retrieval and querying of those structures. Properties can be added to both nodes and relationships. Nodes can be labelled by zero or more labels, relationships are always directed and named.

图数据库非常适合存储大多数类型的域模型。在几乎所有域中,某些内容都与其他内容相连接。在大多数其他建模方法中,事物之间的关系被简化为没有标识和属性的单个链接。图数据库允许以同样良好的方式将源自域的丰富关系保存在数据库中,而无需将关系建模为“事物”。将现实世界域放入图数据库时,“阻抗失配”非常少。

Graph databases are well suited for storing most kinds of domain models. In almost all domains, there are certain things connected to other things. In most other modeling approaches, the relationships between things are reduced to a single link without identity and attributes. Graph databases allow to keep the rich relationships that originate from the domain equally well-represented in the database without resorting to also modeling the relationships as "things". There is very little "impedance mismatch" when putting real-life domains into a graph database.

Neo4j 是一个开源 NoSQL 图数据库。它是一个完全的事务数据库 (ACID),它存储的数据以包含节点并由关系连接的图形式组织起来。它受到现实世界结构的启发,允许对复杂数据执行较高的查询性能,同时对开发人员来说保持直观和简单。

Neo4j is an open source NoSQL graph database. It is a fully transactional database (ACID) that stores data structured as graphs consisting of nodes, connected by relationships. Inspired by the structure of the real world, it allows for high query performance on complex data, while remaining intuitive and simple for the developer.

学习 Neo4j 的起点是 neo4j.com。这里是一些有用的资源:

The starting point for learning about Neo4j is neo4j.com. Here is a list of useful resources: