MongoDB Schema Design - Many small documents or fewer large documents?
问题 Background I'm prototyping a conversion from our RDBMS database to MongoDB. While denormalizing, it seems as if I have two choices, one which leads to many (millions) of smaller documents or one which leads to fewer (hundreds of thousands) large documents. If I could distill it down to a simple analog, it would be the difference between a collection with fewer Customer documents like this (in Java): class Customer { private String name; private Address address; // each CreditCard has hundreds