同时使用图数据库和文档数据库 [英] Using both graph db and document db
问题描述
我正在考虑一种设置,其中将实体存储在文档数据库(例如CouchDB)和图形数据库(例如Neo4j)中. 基本原理是将每个实体信息(数据,blob,值,复杂的内部结构)存储在文档数据库中,同时将实体关系(父,子,关联实体)存储在图形数据库中.
I'm considering a setup where I have entities stored both in a document db (e.g. CouchDB) and a graph db (e.g. Neo4j). The rationale is storing each entity information (data, blobs, values, complex internal structure) in the document db while storing the entity relations (parents, children, associated entities) in the graph db.
有人做过/看到过/被这样的装置咬过吗?我应该期待什么样的问题?首先想到的是两阶段提交.但是备份在这里也有问题.
Has anyone done / seen / been bitten by a setup like this? What kind of issues should I expect? First thing that come to mindaka the 2-phase commit. But backups are problematic too here.
推荐答案
You may check out the book "Seven DBs in Seven Weeks". 8th chapter talks about building up a polyglot structure via CouchDB, Neo4j and Redis.
这篇关于同时使用图数据库和文档数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!