[15:26:31] <Zta77> I'm a mongodb virgin and I'm trying to build my first repository in Java backed by Mongodb. I understand there are databases and collections. But how much data goes into one database? If I'm making a Zoo, should I only have one db with collections for animals, foods, staff, etc? Or one db for each of these?
[18:38:43] <GothAlice> Zta77: At this point old, but https://www.javaworld.com/article/2088406/how-to-screw-up-your-mongodb-schema-design.html introduces the "concerns".
[18:39:04] <GothAlice> The question is fundamentally "premature optimization" until you have some data you are trying to model.
[18:39:39] <GothAlice> I could put a goodly chunk of the library of congress into a single record. Is this a good idea? Probably not.