CouchDB best practices - all entities in a single db vs a new db for each entity?
I am starting with CouchDB. What is the accepted best practice to utilize databases? A single database per applicatio开发者_开发技巧n storing all kinds of entities with smth like "_type" property to discriminate one from another or a separate database for each kind of entity?
One database with lots of different types of document, so you can take advantage of View Collation. Note that top-level names prefixed with an underscore, e.g. _type, are reserved for CouchDB.
精彩评论