MongoDB Reporting and Analytics
Matthew Dahlman, Technical Manager for Alliances
Jaspersoft Overview
Commercial Open Source Business Intelligence provider Modern - simple, standards-based Flexible - connectivity and deployment options Affordable
Full End-to-End BI Suite
2
Reporting Dashboards Analysis Data Integration
©2012 Jaspersoft Corporation.
More than 40 global partners including:
Quick Jaspersoft Company Data
Recognized by industry analysts and journalists:
50%-60% Growth FY’09 – FY’12Year-over-Year sales growth
Magic Quadrants
3
Jaspersoft Community
©2012 Jaspersoft Corporation. 4
Worldwide Adoption Over 14 million product downloads
Over 14,000 Commercial Customers
Over 1,000 Software Subscribers
170,000 production deployments
250,000 registered community members
Every Minute … 6 product downloads
Every Day … 240 new community members
30,000 users building BI apps
Every Month … 250 New Customers
©2012 Jaspersoft Corporation. 5
Software & Technology
Financial Services
Public Sector
Telecommunications
Travel & Transportation
Manufacturing
Healthcare/Pharmaceutical
240,000 Community. 170,000 Production Deployments. 14,000 Customers.
Jaspersoft Customers
Jaspersoft Business Intelligence Suite
© 2011 Jaspersoft Corporation. Proprietary and Confidential
Reporting Engine
Visual Report Design Environment
Ad Hoc Query, Reporting, And Analysis Server
Powerful OLAP Data Analysis
High PerformanceData Integration
© 2012 Jaspersoft Corporation. Proprietary and Confidential
Production Reporting
End User Ad Hoc Query &
Reporting Dashboards Data Analysis / Exploration
Data Mart Warehouse
ODS
Operational RDBMSor
POJO, EJB, XML, Hibernate, MDX,
Custom
Advanced Reporting
Relational OLAPJava Reporting Engine
Data Integration
ReportDesigner
Content & Metadata
RepositoryJaspersoft OLAP
Jaspersoft ETL
JasperReports Server
7
Jaspersoft Features
©2012 Jaspersoft Corporation. 8
BI Platform
RDBMS
ETL
Indirect Batch Analysis
For Data Analysts and OperationalManagers who want to analyze Historical trends in their content
Reporting/Analysis from MongoDB
©2012 Jaspersoft Corporation. 9
NativeConnector
Direct Batch Reporting
Reporting/Analysis from MongoDB
For Data Analysts and OperationalManagers who want summarizedPeriodic reports of their content
BI Platform
©2012 Jaspersoft Corporation. 10
Interactive Exploration
Reporting/Analysis from MongoDB
For Data Analysts who want to Discover Real-Time Patterns as they emerge
BI Platform
NativeConnector
©2012 Jaspersoft Corporation. 11
Indirect AnalysisDirect ReportingDirect Analysis
Reporting/Analysis from MongoDB
(For everyone)
BI Platform
NativeConnector
RDBMS
ETL
Approach Interactive Exploration Direct Batch Reporting Indirect Batch Analysis
Use Case For data analysts to discover real-time patterns as they emerge from their MongoDB content
For executives and operational managers who want summarized, pre-built periodic reports on MongoDB content
For data analysts and operational managers who want to analyze historical trends based upon pre-defined questions
Latency Low Low or Medium High
Connectivity Native Native ETL
Architecture
JaspersoftBI Platform
Native
JaspersoftBI Platform
Native
JaspersoftBI Platform
Data Mart
ETL
Reports & Dashboards
Analytic Application
Analytic Application
Reporting/Analysis from MongoDB
Big Data Connectors
Cassandra CouchDB EhCache GemFire Hadoop Avro Hadoop HBase Hadoop Hive MarkLogic Membase
MongoDB Neo4j Redis Solr SpringData – Redis VoltDB
©2012 Jaspersoft Corporation. 13
©2012 Jaspersoft Corporation. 14
Trends in Big Data Sources
MongoDB
Mongo DB Connector
Next connector to be productized
©2012 Jaspersoft Corporation. 15
©2012 Jaspersoft Corporation. 16
Download the latest connector from the forge page
Getting Started (Today)
©2012 Jaspersoft Corporation. 17
Install Mongo DB connectors in iReport
Getting Started (Today)
©2012 Jaspersoft Corporation. 18
Install Mongo DB connector in JasperReports Server
Getting Started (Today)
©2012 Jaspersoft Corporation. 19
Getting Started (June 2012)
JasperReports Server Professional 4.7 MongoDB Connector pre-installed
iReport Professional 4.7 MongoDB Connector pre-installed
JasperReports Server Community Edition 4.7 MongoDB Connector pre-installed
iReport Community Edition 4.7 MongoDB Connector pre-installed
Jaspersoft Studio MongoDB Connector pre-installed
©2012 Jaspersoft Corporation. 20
Connecting to Mongo DB
©2012 Jaspersoft Corporation. 21
Creating a Report
©2012 Jaspersoft Corporation. 22
Testing the Report in iReport
©2012 Jaspersoft Corporation. 23
Deploying Report
©2012 Jaspersoft Corporation. 24
Running the Report on the Server
©2012 Jaspersoft Corporation. 25
MongoDB Ad Hoc Reporting
©2012 Jaspersoft Corporation. 26
MongoDB Ad Hoc Reporting
©2012 Jaspersoft Corporation. 27
MongoDB Dashboards
©2012 Jaspersoft Corporation. 28
Simple Query
{ collectionName : 'customers' }
©2012 Jaspersoft Corporation. 29
Advanced Query: Geospatial
{
collectionName : 'customers',
findQuery : {
'addresses.billing_address.location' : {
'$within' : {
'$center' : [[-117.15,32.72],$P{MilesInDegrees}]
}
}
}
}
{
collectionName : 'customers',
findQuery : {
'addresses.billing_address.location' : {
'$near' : [-117.15,32.72]
}
},
limit : 1
}
©2012 Jaspersoft Corporation. 30
Advanced Query: Aggregation
{
runCommand: {
aggregate : "zips",
pipeline : [
{
$group : {
_id : "$state",
population: {
$sum : "$pop"
}
}
},
{
$sort : {
population : -1
}
}
]
}
}
©2012 Jaspersoft Corporation. 31
Demonstration
Questions?
©2012 Jaspersoft Corporation. 32
http://jasperforge.org/bigdatahttp://www.jaspersoft.com/jaspersoft-for-mongodb [email protected]