On Mon, May 14, 2012 at 01:42:00PM -0700, Jens Alfke wrote: > > On May 14, 2012, at 1:08 PM, James Marca wrote: > > For example, I have detector data with one record per 30 seconds. If > I combine data into daily docs and save, after compaction the > resulting database is much smaller than if I keep one document per > observation. > > Isn’t that just because there are a lot fewer nodes in the b-tree? > > The disadvantage of large documents is that they’re expensive to > update, and they don’t play well with sync (if there are multiple > writers) as they become very prone to conflicts.
yes, and if they get too big they get slow to open up with JSON parsers (which generally aren't streaming parsers). There are always trade-offs James
pgp5eiJGb9kmo.pgp
Description: PGP signature