neo4j是怎么做基本存储结构的
How does neo4j do basic storage structure
neo4j 数据库引擎的基本 'unit of storage' 是什么?例如,对于关系数据库,它可能被视为一行数据。图数据库中的等效原子单位是什么?它是连接吗?如果是,连接的是什么类型的 'metadata'?例如:
connection: (A,B) # tuple
is_directed: false
_meta: # helper data for the user to know what the edge "AB" is
如果有人想将 "A" 定义为对象怎么办?
由于节点可以独立存在(不连接任何关系),neo4j 不能使用 "connection"(即 "relationship")作为单个 "basic unit of storage".
事实上,如果您查看 neo4j 安装的 data directory,您会看到节点、关系、属性、索引、关系类型等的单独文件。所以,这些可以被认为是 neo4j 的 "basic units"。
neo4j 数据库引擎的基本 'unit of storage' 是什么?例如,对于关系数据库,它可能被视为一行数据。图数据库中的等效原子单位是什么?它是连接吗?如果是,连接的是什么类型的 'metadata'?例如:
connection: (A,B) # tuple
is_directed: false
_meta: # helper data for the user to know what the edge "AB" is
如果有人想将 "A" 定义为对象怎么办?
由于节点可以独立存在(不连接任何关系),neo4j 不能使用 "connection"(即 "relationship")作为单个 "basic unit of storage".
事实上,如果您查看 neo4j 安装的 data directory,您会看到节点、关系、属性、索引、关系类型等的单独文件。所以,这些可以被认为是 neo4j 的 "basic units"。