Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Data Federation
Created by Guest
Created on Oct 6, 2022

Combine collections from various databases into one database

It would be helpful to be able to combine collections with the same name from various databases into a single "global" database in the Federated Database Storage Configuration. Imagine you have a multi tenant application where you have DatabaseCustomerFoo and DatabaseCustomerBar, and each of them has a collection called "events". It would be great if you could easily combine those (at scale) through the storage configuration, so in this instance you would have a database: DatabaseCustomerGlobal and a collection: events which federated over both DatabaseCustomerBar.events and DatabaseCustomerFoo.events.
  • ADMIN RESPONSE
    Oct 18, 2025
    We've added the capability to dynamically combine name spaces in underlying clusters using the Database Regex in the Storage Configuration for Atlas Data Federation.