Business intelligence tools connect to a data source and, given a fixed tabular schema, allow users to visually explore their data. MongoDB uses a flexible schema, so some business intelligence tools cannot use MongoDB as a native data source.
To use MongoDB with a relational business intelligence tool such as Tableau, you must define a relational mapping for your MongoDB data. MongoDB Connector for BI provides several methods for creating and managing a relational schema.
For complete documentation on BI Connector's schema management options,
mongosqld reference documentation.
MongoDB views allow you to control the display of information from a collection by restricting access to certain fields, renaming fields, sorting data, and other techniques. BI Connector can read data from a view just as it does from a standard collection.
If the data in your MongoDB instance changes shape significantly
with new fields or collections, you may wish to regenerate the
schema BI Connector uses. You can regenerate the schema either by
mongosqld or by issuing the "FLUSH
SAMPLE" command from within the MySQL shell.
BI Connector handles collections which contain a
geospatial index such
that longitude and latitude data are represented within a single
table along with other collection data.
Relational databases don't allow dynamically typed columns. When the BI Connector samples data from MongoDB to generate a schema, type conversion conflicts may occur. To learn more about how the BI Connector resolves these conflicts and displays data when conflicts are present, see the following sections.