同时使用图形数据库和文档数据库 [英] Using both graph db and document db

查看:26
本文介绍了同时使用图形数据库和文档数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑将实体存储在文档数据库(例如 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.

推荐答案

您可以查看本书七个星期内的七个数据库".第 8 章讨论通过 CouchDB、Neo4j 和 Redis 构建多语言结构.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆