News for hackers. Stuff that matters.
Re:Notes from a production MongoDB deployment by mikebo on Monday March 01, 2010 @12:21PM (#1159180)
I'm actually not advocating for a database per customer. I was more wondering why you have so many collections -- surely they're not all representing different logical data. My guess is that you create some number of collections per customer?

With the new built-in sharding support, couldn't you have a 'customer_id' field and collapse many of those collections into larger collections, then shard by 'customer_id'? I'm just trying to understand tradeoff between these two types of schemas.

There are no comments on this comment yet.