07. 图数据库
图数据库
A graph database is a database that uses graph structures for semantic queries with nodes, edges and properties to represent and store data. A key concept of the system is the graph (or edge or relationship), which directly relates data items in the store a collection of nodes of data and edges representing the relationships between the nodes. The relationships allow data in the store to be linked together directly, and in many cases retrieved with one operation. Graph databases hold the relationships between data as a priority. Querying relationships within a graph database is fast because they are perpetually stored within the database itself. Relationships can be intuitively visualized using graph databases, making it useful for heavily inter-connected data.
典型的图结构由点,边和点边对应属性构成。图数据库则是针对图这种结构的独有特点⽽而专⻔门设计的⼀一种数据库,⾮非常适合⾼高度互连数据集的存储和查询。示例例中描述的是⼀一个极度简化的社交关系图,圆圈代表顶点
应用场景
社交网络
图数据库可以轻松应对海量高度互连社交数据的实时存储和高效查询
欺诈检测
在金融领域
推荐引擎
图数据库非常适合实时推荐场景。您可以将用户的购买行为
知识图谱
图数据库可以帮助您快速的构建知识图谱。您可以将图谱数据存储在图数据库中
网络/IT 运营
图数据库非常适合网络