SlideShare a Scribd company logo
MongoDB Connector
for Business Intelligence
Bryan Reinero, Product Manager
Performance
Availability
Scalability
Data Model
Getting to Insights Faster with the MongoDB Connector for BI
Flexible schema
MQL
Structured Data
SQL
BI
Connector
SQL
Flexible schema
MQL
MongoSQLD
Proxy Daemon
MongoDRDL
Schema Generator
{
"_id" : ObjectId("59af77b70e32931865249705"),
"address" : {
"building" : "1007",
"coord" : [-73.856077,40.848447 ],
"street" : "Morris Park Ave",
"zipcode" : "10462"
},
"borough" : "Bronx",
"cuisine" : "Bakery",
"grades" : [
{ "date" ISODate("2014-03-03T00:00:00Z"),
"grade" : "A",
"score" : 2
},
{ "date" : ISODate("2013-09-11T00:00:00Z"),
"grade" : "A",
"score" : 6
},...
],
"name" : "Morris Park Bake Shop",
"restaurant_id" : "30075445"
}
Document / Relational Definition Language
./mongodrdl
schema:
- db: test
tables:
- table: restaurants
collection: restaurants
pipeline: []
columns:
- Name: _id
MongoType: bson.ObjectId
SqlName: _id
SqlType: varchar
- Name: address.building
MongoType: string
SqlName: address.building
SqlType: varchar
schema:
- db: test
tables:
- table: restaurants
collection: restaurants
pipeline: []
columns:
- Name: _id
MongoType: bson.ObjectId
SqlName: _id
SqlType: varchar
- Name: address.building
MongoType: string
SqlName: address.building
SqlType: varchar
{
"_id" : ObjectId("59af77b70e32931865249705"),
"address" : {
"building" : "1007",
"coord" : [-73.856077,40.848447 ],
"street" : "Morris Park Ave",
"zipcode" : "10462"
},
"borough" : "Bronx",
"cuisine" : "Bakery",
"grades" : [
{ "date" ISODate("2014-03-03T00:00:00Z"),
"grade" : "A",
"score" : 2
},
{ "date" : ISODate("2013-09-11T00:00:00Z"),
"grade" : "A",
"score" : 6
},...
],
"name" : "Morris Park Bake Shop",
"restaurant_id" : "30075445"
}
mysql> show tables;
+---------------------------+
| Tables_in_test |
+---------------------------+
| restaurants |
| restaurants_address_coord |
| restaurants_grades |
+---------------------------+
3 rows in set (0.01 sec)
mysql> describe restaurants_grades;
+--------------+----------------+------+------+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------------+----------------+------+------+---------+-------+
| _id | varchar(65535) | YES | | NULL | |
| grades.date | datetime | YES | | NULL | |
| grades.grade | varchar(65535) | YES | | NULL | |
| grades.score | bigint(20) | YES | | NULL | |
| grades_idx | bigint(20) | YES | | NULL | |
+--------------+----------------+------+------+---------+-------+
5 rows in set (0.02 sec)
MongoSQLD
DRDL
Performance
MongoSQLD
PushDown
Do’s
Model for use
Index efficiently
Index effectively
Avoid (until 3.6)
cross-collection
● non-equijoins
● subqueries
casts
Do’s
Model for use
Index efficiently
Index effectively
Security
MongoSQLD
User: Jen,
Pass: ******
User: Jen,
Role: “read”
Passthrough Authentication
Getting to Insights Faster with the MongoDB Connector for BI
biUser?mechanism=MONGODB-CR,source=authDB
User: biUser
Authentication Mechanism: MONGODB-CR
Authentication Database: authDB
MongoSQLD
User: Jen,
Pass: ******
User: Jen,
Role: “read”
Passthrough Authentication
MongoSQLD
User: Jen,
Pass: ******
User: Jen,
Role: “read”
LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN
MongoSQLD
User: Jen,
Pass: ******
User: Jen,
Role: “read”
SSL
LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN
Setting the Cleartext Plugin
● By Environment Variable
● By ODBC configuration
● By client configuration
MongoSQLD
User: Jen,
Pass: ******
User: Jen,
Role: “read”
SSL
Client Side Authentication Plugins
● Java - for use with MySQL’s
connector-j driver
● C - for use with ODBC driver
and MySQL Shell
MongoSQLD
Authentication Plugins
Install Authentication Plugins
● Linux / OS X
○ <mysql-home>/lib/plugin/
● Windows
○ .msi installer
Getting to Insights Faster with the MongoDB Connector for BI
Single Server
BI Connector
vs.
BI Connector
Separate Servers
Give it a try!
Dowload
https://www.mongodb.com/products/bi-connector
Docs
http://docs.mongodb.com/bi-connector/
Data
https://docs.mongodb.com/getting-started/shell/import-data/

More Related Content

PPTX
MongoDB BI Connector & Tableau
PPTX
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema
PPTX
[MongoDB.local Bengaluru 2018] Keynote
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
PPTX
[MongoDB.local Bengaluru 2018] Introduction to MongoDB Stitch
PPTX
Migrating from SQL to MongoDB
PDF
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
PDF
MongoDB .local Toronto 2019: MongoDB Atlas Search Deep Dive
MongoDB BI Connector & Tableau
[MongoDB.local Bengaluru 2018] Just in Time Validation with JSON Schema
[MongoDB.local Bengaluru 2018] Keynote
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
[MongoDB.local Bengaluru 2018] Introduction to MongoDB Stitch
Migrating from SQL to MongoDB
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
MongoDB .local Toronto 2019: MongoDB Atlas Search Deep Dive

What's hot (20)

PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
PDF
MongoDB .local Chicago 2019: From SQL to NoSQL -- Changing Your Mindset
PDF
MongoDB .local Munich 2019: Managing a Heterogeneous Stack with MongoDB & SQL
PPTX
Tutorial: Building Your First App with MongoDB Stitch
PPTX
Python and MongoDB as a Market Data Platform by James Blackburn
PPT
MongoDB Tick Data Presentation
PPTX
Jumpstart: Introduction to Schema Design
PDF
Faites évoluer votre accès aux données avec MongoDB Stitch
PPTX
Data Analytics: Understanding Your MongoDB Data
PDF
MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...
PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
PPTX
MongoDB Stich Overview
PDF
Workshop 20140522 BigQuery Implementation
PDF
MongoDB .local Toronto 2019: Using Change Streams to Keep Up with Your Data
PPTX
A Free New World: Atlas Free Tier and How It Was Born
PPTX
Addressing Your Backup Needs Using Ops Manager and Atlas
PPTX
MongoDB Stitch Introduction
PPTX
Jumpstart: Introduction to MongoDB
PPTX
Eagle6 Enterprise Situational Awareness
PPTX
MongoDB Schema Design: Practical Applications and Implications
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB .local Chicago 2019: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local Munich 2019: Managing a Heterogeneous Stack with MongoDB & SQL
Tutorial: Building Your First App with MongoDB Stitch
Python and MongoDB as a Market Data Platform by James Blackburn
MongoDB Tick Data Presentation
Jumpstart: Introduction to Schema Design
Faites évoluer votre accès aux données avec MongoDB Stitch
Data Analytics: Understanding Your MongoDB Data
MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB Stich Overview
Workshop 20140522 BigQuery Implementation
MongoDB .local Toronto 2019: Using Change Streams to Keep Up with Your Data
A Free New World: Atlas Free Tier and How It Was Born
Addressing Your Backup Needs Using Ops Manager and Atlas
MongoDB Stitch Introduction
Jumpstart: Introduction to MongoDB
Eagle6 Enterprise Situational Awareness
MongoDB Schema Design: Practical Applications and Implications
Ad

Similar to Getting to Insights Faster with the MongoDB Connector for BI (20)

PDF
MongoDB .local London 2019: Managing Diverse User Needs with MongoDB and SQL
PPTX
Beyond the Basics 3: Introduction to the MongoDB BI Connector
PPTX
MongoDB Knowledge share
PDF
MySQL without the SQL -- Cascadia PHP
PDF
Mdb dn 2017_17_bi_connector2
PDF
MySQL Without The SQL -- Oh My! PHP Detroit July 2018
PPTX
PPTX
lecture_34e.pptx
PPT
Mongo db basics
PPTX
introtomongodb
PPTX
UNIT-1 MongoDB.pptx
PPTX
MongoDb and NoSQL
PDF
Which Questions We Should Have
ODP
MongoDB - Javascript for your Data
ODP
MongoDB - javascript for your data
ODP
MongoDB & PHP
PPTX
mongodb introduction11111111111111111111
PPTX
MongoDB 3.4 webinar
PDF
PPTX
Introduction to mongoose and mongodband others
MongoDB .local London 2019: Managing Diverse User Needs with MongoDB and SQL
Beyond the Basics 3: Introduction to the MongoDB BI Connector
MongoDB Knowledge share
MySQL without the SQL -- Cascadia PHP
Mdb dn 2017_17_bi_connector2
MySQL Without The SQL -- Oh My! PHP Detroit July 2018
lecture_34e.pptx
Mongo db basics
introtomongodb
UNIT-1 MongoDB.pptx
MongoDb and NoSQL
Which Questions We Should Have
MongoDB - Javascript for your Data
MongoDB - javascript for your data
MongoDB & PHP
mongodb introduction11111111111111111111
MongoDB 3.4 webinar
Introduction to mongoose and mongodband others
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
PDF
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...
PDF
MongoDB .local Paris 2020: Adéo @MongoDB : MongoDB Atlas & Leroy Merlin : et ...
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...
MongoDB .local Paris 2020: Adéo @MongoDB : MongoDB Atlas & Leroy Merlin : et ...

Getting to Insights Faster with the MongoDB Connector for BI