couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirkjan Ochtman <dirk...@ochtman.nl>
Subject Re: multiple database or many doc types in one database?
Date Thu, 17 Mar 2011 07:22:33 GMT
On Thu, Mar 17, 2011 at 05:51, Dominic Tarr <dominic.tarr@gmail.com> wrote:
> is it a good idea to
>
>  1. separate documents for different types of thing into different
> databases?
>
> or is it better to
>
>  2. just have a type='whatever' and check for that in your views?

I always just use 2, having separate types in the same db,
distinguishing them by the value of the "type" field.

> I'm starting to think that 2 is enough seperation, and 2 is silly.
>
> are there any reason to use 2, except maybe to stop keys colliding? (which
> is easy enough to do in other ways...)

These sentences seem a little confused...

Cheers,

Dirkjan

Mime
View raw message