作为一款强健的,可伸缩的高性能数据库,Neo4j
最适合完整的企业部署或者用于一个轻量级项目中完整服务器的一个子集存在。
它包括如下几个显著特点:
完整的ACID支持:一个事务里面多个操作同时发生,保证数据一致性
高可用性:可靠,性能只受硬件影响,不受业务本身约束。
轻易拓展到上亿级别的节点和关系:可进行分布式集群部署
图数据库用图来存储数据,是最接近高性能的一种用于存储数据的数据结构方式之一。
节点(Node):
关系(Relationship):
types、properties、direction
can have relationhips to itself

types、properties、direction
key-value;key(null is valid),values(not null)
numeric、string、boolean
标签(Label):
assign roles and types to nodes
when defining constraints and adding indexes for properties
can be added and removed during runtime, can be uesd to mark temporary
states for your nodes
labes have an id space of a int - roughly 2 billion

遍历(Traversal):
in most cases only a subgraph is visited
Cypher provide a way to query the graph
depth-first( default ) 、 width-first
路径(Path)
模式(Schema)
索引(Index)
speed up queries
look at logs for clues to drop or recreate the index
you can use indexes through the different APIs,except Cypher
Neo4j use Constraints through different APIs to keep your data clean
a graph database transforms a RDBMS




a graph database relates Column-Family
a graph database navigate a document store

