Im a total newbie to MongoDB and was watching some videos and really liked the replication setup that Mongo offers.
Scenario
I want to know if the following scenario is possible with MongoDB.
lets say I have 3 MongoDB servers
- a server in the Cloud (CloudMongo)
- 2 servers running on 2 terminal machines (T1 and T2)
The CloudMongo has a database called Enterprise with Tables AllSales and Promotions
The Terminal machines both have databases POS with tables Sales and Promotions
Questions
- Can CloudMongo replicate a subset of the Promotions data to T1 and another subset to T2?
- Can Terminals T1 and T2 replicate their sales data to be consolidated to the AllSales table/collection on CloudMongo?