Reputation: 9479
I'm going to be tracking usage data (clicks, emails...etc) for users of my product. I'm using MongoDB and I'm wondering if I even need a separate collection for the usage data. Why not just keep added the data to the user documents using embedded documents?
Upvotes: 1
Views: 70
Reputation: 46301
Why not just keep added the data to the user documents using embedded documents?
In a nutshell: you can do it for small systems with low nonfunctional requirements, but I don't recommend it for anything serious.
Upvotes: 1