re: MongoDB has no use case VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Set up sharding and you'll have to delete your foreign keys anyway. End up with a table with a few billion rows and changing the structure is going...
 

If you want to do microservices where each service has it's own DB, you'll have no foreign keys anyway. You'll only have a REST API and have to join things together. Or you can materialize views based on the distributed databases for reading and invalidate caches (LOL that'll be fun) when you write things.

code of conduct - report abuse