incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Schwering <marcschwer...@me.com>
Subject Re: Re: Cross/Joined Database Access?
Date Wed, 23 Mar 2011 07:47:27 GMT
So there is no way to span queries along multiple connections right? I thought there might
be a solution using the replication / sharding features of couch?

Am 22.03.2011 um 12:26 schrieb dominic.tarr@gmail.com:
> 
> you would have to do multiple http requests, i think.
> 
> would it be possible to combine all of the dbs into one database and just
> have a field = user1,user2 etc?
> 
> somethings like this seem weird, coming from relational databases, but thats
> couchdb.
> 
> On Tue, Mar 22, 2011 at 9:02 PM, Marc Schwering <mschwering@weluse.de>wrote:
> 
>> Hi there.
>> 
>> Is it possible // How do i Search on multiple Databases?
>> 
>> Given one Layout/Schema of Entities:
>> Postings => id; title; content; timestamp
>> 
>> This Schema exists due multiple instances of one Application (for different
>> Users) on n Databases. Like: db1,db2,db3
>> 
>> I want to do two fetches:
>> 
>> a) all Posts since time X until Y sorted by timestamp. from db1 & db3.
>> b) all Posts since time X until Y sorted by timestamp. from db2 & db3.
>> 
>> Is that possible? If so, how?
>> 
>> Thanks in advance
>> 
>> Marc
>> 
>> --
>> M.Schwering
>> 
>> 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message