Thursday, 5 September 2013

CouchDB Join or suggestion for the following situation

CouchDB Join or suggestion for the following situation

I have a DB with a list of documents which are containing info of users,
another database with documents of user logs.
in SQL, it could be simply to use join, but it seems like it is not
possible to do it with just a simple query.
I have done some research that some suggestions shows: 1: to replicate the
needed data to a database and then do the view, as the needing data are
now in the same database.
And alternative suggestion was 2: to pull out the needed data from each
database, and then run the query.
I guess, comparing between 1 and 2, it would be better to choose 1 as less
data over http.
but regardless either 1 or 2, they are still not good enough as data
duplications.
is there any better suggestion someone could recommend?
Thanks

No comments:

Post a Comment