I'm not sure if a document-oriented database like CouchDB is such a good fit for your data model. Have you looked at graph databases like neo4j [0]?
Nils. [0] http://neo4j.org/ ________________________________________ Van: Ido Ran [[email protected]] Verzonden: zondag 19 december 2010 16:17 Aan: CouchDB MailingList Onderwerp: Document model of network Hi, I have application which the primary data model is a network (graph). Currently I use RDBMS in which I have table of Node and table of Link. The Link table has FromNode, ToNode and LinkType fields. What is a good document model to put this type of data in CouchDB? Should I provide information about my application that I didn't provide here? Since there are no transaction I fail to see how can I ensure that my data will not be corrupted? Also since there is no constraints, only validation function, which are not exactly the same because replication do not pass by them for clear reasons, is that mean I have always asume the data is not valid? Thank you, Ido ------------------------------------------------------------------------ VPRO www.vpro.nl ------------------------------------------------------------------------
