English 中文(简体)
十二、建议建立微型数据库:MongoDB、Reis等?
原标题:Suggestion for Ancestry type Database: MongoDB, Redis, etc.?

I m 书写一个垃圾,显示储存祖传类型的数据。 I.e. 家庭树。

其余申请使用MongoDB进行储存,因为MongoDB拥有等级结构,但祖传数据却与这一模式相当不相适应,尽管从某种意义上来说,它具有等级。 我很奇怪,如果有人建议我是否应在更适当的数据库层进行冲淡,以处理这些问题?

页: 1 A与B(间接)配对,C和D.B有父母E和F.A和B有子女,G、H、I.G与H等同。

因此,由于一名女婴有2个母子,这并不令人休止。 因此,在Mongo,植树就没有意义。 亚洲开发银行,因为父母双方将用同一树相复制。 它更接近于社会图表(仅有两种关系)。 我的思维套会很好地发挥作用,但在我开始使多功能的顽固不化之前,我希望我能够从可能设计类似结构的其他人那里得到一些反馈。 我与Redis共同关心的另一项关切是,储存所有这些树木可能不是一个大的想法,尽管如果我只是把红斯与孟买开发银行文件中的物体数据储存起来,那很可能是ok。

最佳回答

Maybe you should try out a graph database as it sounds much closer to the domain. And there are quite a few out there you could try out http://nosql.mypopescu.com/post/498705278/quick-review-of-existing-graph-databases

问题回答

暂无回答




相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签