In the age of digital transformation and disruption, your ability to thrive depends on how you adapt to the constantly changing environment. MongoDB 3.4 is the latest release of the leading database for modern applications, a culmination of native database features and enhancements that will allow you to easily evolve your solutions to address emerging challenges and use cases.
In this webinar, we introduce you to what’s new, including:
- Multimodel Done Right. Native graph computation, faceted navigation, rich real-time analytics, and powerful connectors for BI and Apache Spark bring additional multimodel database support right into MongoDB.
- Mission-Critical Applications. Geo-distributed MongoDB zones, elastic clustering, tunable consistency, and enhanced security controls bring state-of-the-art database technology to your most mission-critical applications.
- Modernized Tooling. Enhanced DBA and DevOps tooling for schema management, fine-grained monitoring, and cloud-native integration allow engineering teams to ship applications faster, with less overhead and higher quality.
3. Evolution of MongoDB
Hash-Based Sharding
Roles
Kerberos
On-Prem Monitoring
2.4 2.6 3.0 3.2
$out
Index Intersection
Text Search
Field-Level
Redaction
LDAP & x509
Auditing
Document Validation
$lookup
Fast Failover
Simpler Scalability
Aggregation ++
Encryption At Rest
In-Memory Storage
Engine
BI Connector
MongoDB Compass
APM Integration
Profiler Visualization
Auto Index Builds
Backups to File System
Doc-Level
Concurrency
Compression
Storage Engine API
≤50 replicas
Auditing ++
Ops Manager
Intra-cluster compression
Views
Log Redaction
Linearizable Reads
Graph Processing
Decimal
Collations
Faceted Navigation
Spark Connector ++
Zones ++
Aggregation ++
Auto-balancing ++
ARM, Power, zSeries support
BI Connector ++
Compass ++
Hardware Monitoring
Server Pool
LDAP Authorization
Encrypted Backups
Cloud Foundry Integration
3.4
4. Multi-model done right. Other vendors sell you multiple products. MongoDB gives
you multiple models in one database: document, graph, key value, and search with
faceted navigation.
Mission-critical apps. Stronger security, broader platform support, and Zones
make MongoDB ready for the most demanding mission-critical deployments.
Modernized tooling. A sophisticated range of tools and integrations provide
powerful capabilities for Data Analysts, DBAs, and Operations teams.
MongoDB 3.4 Themes
6. • Enables processing of graph data natively within
MongoDB with $graphLookup operator
• Uncover indirect or transitive relationships in
operational data
• Recommendation engines, MDM, fraud models, social
networks, etc.
Graph Processing
11. • Grouping data into related categories for intuitive
exploration & discovery
• Used in search and analytics applications
• New aggregation pipeline stages for faceting,
bucketing & sorted counts across multiple
dimensions
• Eliminates requirement for external search engine
https://github.com/am-MongoDB/TVnav
Faceted Navigation
15. • Data set, query and results:
• https://github.com/am-MongoDB/TVnav
Faceted Navigation
16. • Powerful data processing pipeline for
analytics & transformations
• 25+ enhancements simplify app code
• Performance improvements with query
optimizer moving $match stage earlier to
use indexes
New Stages
Array
Operators
String & Date
Operators
$graphLookup
$facet
$bucket
$bucketAuto
$sortbyCount
$addFields
$replaceRoot
$in
$indexOfArray
$range
$reverseArray
$reduce
$zip
$indexOfBytes
$indexOfCP
$split
$strLenBytes
$strLenCP
$substrBytes
$substrCP
$isoDayOfWeek
$isoWeek
$isoWeekYear
Advanced Analytics
Aggregation Framework Enhancements
17. • Create powerful visualizations & analytics from
SQL-based BI tooling
• Auto-schema sampling
• Eliminates ETL
• Higher performance with rewritten SQL layer
• More processing pushed down to the database
• Simplified installation and authentication
Advanced Analytics
MongoDB Connector for BI
18. “We reduced 100+ lines of integration code to just a single line after moving to the MongoDB Spark connector.”
- Early Access Tester, Multi-National Banking Group Group
Analytics Application
Scala, Java, Python, R APIs
SQL
Machine
Learning
Libraries
Streaming Graph
Spark
Worker
Spark
Worker
Spark
Worker
Spark
Worker
MongoDB Connector for Spark
Advanced Analytics
MongoDB Connector for Apache Spark
• Native Scala connector, certified by Databricks
• Exposes all Spark APIs & libraries
• Efficient data filtering with predicate pushdown,
secondary indexes, & in-database
aggregations
• Locality awareness to reduce data movement
• Updated with Spark 2.0 support
19. • Text comparisons and sorting using language-
specific rules
• 100+ different languages & locales
• Over 2x as many as offered by most RDBMs
• Case sensitivity, treatments of numbers
• Collection | View | Index | Operation
Collations
21. • Support for the IEEE 754-2008 decimal128 type in
server and drivers
• Database stores exact values to eliminate
rounding errors for high-precision calculations,
complex financial & scientific apps
Decimal128
Decimal Data Type
23. Partition data across distributed clusters based on
data locality policies
• Support distributed local writes
• Easily adhere to data sovereignty requirements
• Enable deployment patterns such as tiered
storage
MongoDB Zones can now be configured visually from Ops Manager
Zones
24. Seamless and elastic scalability in response to
dynamic application demands
• Improved balancing of data across nodes with
parallel data migrations
• Faster replica set synchronization with optimized
initial sync process
Elastic Clusters
25. With snappy compression algorithm, network traffic
can be compressed by up to 70%
• Performance benefits in bandwidth-constrained
environments
• Significantly reduce network costs
Intra-Cluster Compression
26. maxStalenessMS Read Preference
• Choose how and when to route queries to secondary replicas
• Only read from replicas that are within a defined consistency
window
• Improved data quality while scaling reads across secondaries
linearizable Read Concern for the strongest
consistency guarantees of any database
• Ensure that a node is the primary at the time of read
• Ensure that data returned will not be rolled back if another
node is subsequently elected as primary
Improved Tunable Consistency
27. LDAP authentication & authorization reduces
administrative overhead & TCO
• Users stored in LDAP server can be mapped to
MongoDB roles
• Native platform libraries to integrate with LDAP;
no need for external dependencies and
configuration
LDAP Authorization
28. Define dynamically generated non-materialized views
to expose selected data from underlying collection(s)
• Reduces risk of sensitive data exposure
• Separately specified permissions levels
• Allows organizations to more easily meet compliance
standards in regulated industries
• Can generate additional fields
Read-Only Views
31. Support the growing demand to run the database on
a more diverse range of platforms
• ARM v8-64 bit support allows customers to take advantage of
power-efficient servers being deployed into ultra dense data
center racks
• IBM Power8 and zSeries support provides seamless migration
for enterprises modernizing legacy workloads. Available for
MongoDB Enterprise Server.
Expanded Platform Support
33. • MongoDB 3.2
• Visualize Indexes
• Query Performance
• MongoDB 3.4
• MongoDB Compass enhancements
• Modify documents
• Create document validation rules
• Optimize query performance with visual explain
plans, index usage, and real-time statistics
• Create and remove indexes
• All controlled from a single intuitive and
sophisticated GUI
MongoDB Compass 3.4
34. Real Time Performance Stats
• View key
MongoDB metrics
that are
happening in real-
time
• Operation
statistics (inserts,
deletes, queries,
etc)
• Read/Write Load,
Network load,
Memory usage
35. Insert, Delete, Modify Documents
● Clone, modify existing documents, insert new documents, and delete
existing documents
● For now, applicable to one document at time
36. Document Validation Rule Builder
● MongoDB Compass allows users to view, add, and modify document
validation rules through its GUI
● Different teams can enforce schema consistency, reducing risk and
increasing productivity between teams
37. Visualize Explain Plans
● View key
information about
the execution of a
query
● Identify slow
running queries
and optimize
query
performance
38. View Index Utilization
● Visualization of
index utilization
● View type of
index, size of
index, usage of
index, and
properties of
index
39. Create and Remove Indexes
● Create and
Remove indexes
in GUI
● Enhances ability
for users to
identify and fix
issues from the
GUI
40. MongoDB Ops Manager 3.4
Ops Manager allows you leverage and automate the best
practices we’ve learned from thousands of deployments in
a comprehensive application that helps you run MongoDB
safely and reliably.
Benefits include:
10x-20x more efficient operations
Complete performance visibility
Protection from data loss
Assisted performance optimization
Meet SLAs, Cut management overhead
Scale easily, Follow best practices
43. • Ops Manager agent installed to pool via
configuration management tools
• Server pools exposed to internal teams, ready
for provisioning into local groups
• Allow administrators to create true, on demand
database resources for private cloud
environments
Ops Manager
Server Pools to Automate Provisioning of MongoDB
44. • MongoDB and Pivotal co-engineered
Cloud Foundry integration
• BOSH installs the Ops Manager agent
• Calls the Ops Manager API to provision,
configure, monitor & backup the cluster
• Enables users to integrate MongoDB as
an on-demand DBaaS resource within
Cloud Foundry platforms
Ops Manager
Cloud Foundry Integration
45. • Finer grained telemetry data: collected
every 10 seconds vs every 60 seconds
• Configurable retention policies
• Simplified & extended management
• Single agent to collect both database
and hardware telemetry
• Hardware metrics now collected for
Windows & OSX hosts
Ops Manager
Higher Resolution Monitoring
46. • Atlas and Cloud Manager have their own
encrypted backup solution that is
dependent on encrypted hardware
• Ops Manager 3.4
• Native backup encryption solution for
PII information (HIPAA, PCI, FERPA,
etc)
• Encrypt backup snapshots;
encryption keys stored on KMIP
server
Ops Manager
Encrypted Backups
KMIP Appliance
Master Key
47. Multi-model done right. Other vendors sell you multiple products. MongoDB gives
you multiple models in one database: document, graph, key value, and search with
faceted navigation.
Mission-critical apps. Stronger security, broader platform support, and Zones
make MongoDB ready for the most demanding mission-critical deployments.
Modernized tooling. A sophisticated range of tools and integrations provide
powerful capabilities for Data Analysts, DBAs, and Operations teams.
MongoDB 3.4 Themes
48. • Take the M034: New Features and Tools in MongoDB
3.4 training
• https://university.mongodb.com/courses/M034/about
• Read the What’s New in MongoDB 3.4 Whitepaper
• https://www.mongodb.com/collateral/mongodb-3-4-whats-new
3.4
Next Steps