SlideShare a Scribd company logo
What’s New in MongoDB 2.6
Solutions Architect, MongoDB Inc.
Matias Cascallares
#MongoDBDays
@mcascallares
Recent Release History
2.4
Mar‘13
2.6
Apr ’14
2.2
Aug ‘12
Aggregation
Framework
Multi-Data Center
Deployments
Improved
Performance and
Concurrency
Hash-based
sharding
Text Search
V8 JavaScript
engine
Faster counts
Biggest
Release
Ever!
Main Improvement Areas
• Operations
• Integrated Search
• Query System
• Security
• Performance & Stability
Operations
New Wire Protocol
Client Server
write()
getLastError(w, j)
result
Version
2.4
Version
2.6
write(w, j)
result
Bulk Writes
• You need to import big set of documents
• … and you want error control
• … and you are concerned about performance
Bulk Writes - Ordered
Bulk Writes - Unordered
Maximum Time Per Query
Background Indexing and
Replication
Secondar
y
Secondar
y
Primary
background
Version
2.4
Version
2.6
Storage Allocation
• In databases with great delete ratios we can face
some fragmentation
• Similar effect with those updates that increase
document size
• Defragment a database can be an expensive
operation
• Our goal? Reduce database fragmentation
Storage Allocation
• usePowerOf2Sizes will be the default allocation
method for new collections
56 bytes
64 bytes
102
bytes
128
bytes
Integrated Search
Text Search
• Now production-ready
• Integrated with query engine
• Integrated with aggregation framework
• Multi-language document support
Features
• Language-specific tokenization and stemming
• Stop words
• Relevance ranking
• Field boosting
Supported Languages
da – Danish en – English
nl – Dutch fi – Finish
fr – French de – German
hu – Hungarian it – Italian
no – Norwegian pt – Portuguese
ro – Romanian ru – Russian
es – Spanish sv – Swedish
tr - Turkish
Integrated within find()
Integrated within aggregate()
More Text Examples
Relevance
Forcing a Language
Query System Improvements
Query System Improvements
• Index Intersection
• Aggregation Framework
• New Update Operators
Index Intersection
• Simpler ad-hoc queries
• Existing indexes can be combined to optimize a
query
– Less Index Maintenance
– Smaller Working Set
– Lower Write Overhead
– MoreAdaptive
– Able to control potential intersections using QueryShape
Index Intersection
Aggregation Framework - Output
Aggregation Framework - Explain
Aggregation Framework - Explain
Aggregation Framework - Set
Operators
• $project operator in the aggregation pipeline now
supports an expanded set of expressions
– $setIsSubset
– $setEquals
– $setDifference
– $setIntersection
– $setUnion
– $allElementsTrue
– $anyElementTrue
New Update Operators
• $mul
• $min/$max
• $bit
• $currentDate
• New modifiers for $push
Security
Security
• Authentication with LDAP (Enterprise only)
• x.509 Certificates
• User defined roles
• Collection level security
• Auditing (Enterprise only)
• Windows Kerberos Support
State of Security in MongoDB 2.6
• Authentication
– Who are you?
– X.509 authentication and Kerberos
• Authorization
– What can you do?
– User Defined Roles, Collection-levelAccess Control
• Auditing
– What have you done?
– DDL, User Manipulation,Authorization failure
Roles and Collection-level Security
Auditing
• Schema actions
• Replica Set actions
• Authentication &Authorization actions
• Other actions
Auditing – Dropping a collection
Auditing – Shutting down the server
Performance & Stability
Improving Performance and
Scalability
• Query router connection pooling
• Mixed SSL connections
• Expanded SNMP support
• Oplog processing is MUCH faster
• New commands for sharded environments
Thanks
Solutions Architect, MongoDB Inc.
Matias Cascallares
#MongoDBDays
@mcascallares

More Related Content

PDF
Mongo db eveningschemadesign
PPTX
MMS - Monitoring, backup and management at a single click
PDF
NoSQL benchmarking
PDF
MongoDB Introduction talk at Dr Dobbs Conference, MongoDB Evenings at Bangalo...
PDF
Rpsonmongodb
PDF
Cignex mongodb-sharding-mongodbdays
PPTX
An afternoon with mongo db new delhi
PDF
What's new in MongoDB 2.6 at India event by company
Mongo db eveningschemadesign
MMS - Monitoring, backup and management at a single click
NoSQL benchmarking
MongoDB Introduction talk at Dr Dobbs Conference, MongoDB Evenings at Bangalo...
Rpsonmongodb
Cignex mongodb-sharding-mongodbdays
An afternoon with mongo db new delhi
What's new in MongoDB 2.6 at India event by company

What's hot (20)

PPTX
An Introduction to MongoDB Compass
PPTX
How Thermo Fisher is Reducing Data Analysis Times from Days to Minutes with M...
PPTX
Webinar: What's New in MongoDB 3.2
PDF
MongoDB Administration 101
PDF
MongoDB .local Bengaluru 2019: Using MongoDB Services in Kubernetes: Any Plat...
POTX
MongoDB Days Silicon Valley: A Technical Introduction to WiredTiger
PDF
MongoDB on Azure
PDF
https://docs.google.com/presentation/d/1DcL4zK6i3HZRDD4xTGX1VpSOwyu2xBeWLT6a_...
PPTX
Maximizing MongoDB Performance on AWS
PPTX
Running MongoDB 3.0 on AWS
PPTX
Beyond the Basics 1: Storage Engines
PPTX
Securing Your MongoDB Deployment
PDF
Shift: Real World Migration from MongoDB to Cassandra
PPTX
Conceptos Avanzados 1: Motores de Almacenamiento
PDF
MongoDB .local Bengaluru 2019: Lift & Shift MongoDB to Atlas
PPTX
MongoDB San Francisco 2013: Storing eBay's Media Metadata on MongoDB present...
PDF
MongoDB .local Bengaluru 2019: New Encryption Capabilities in MongoDB 4.2: A ...
PPTX
Securing Your Enterprise Web Apps with MongoDB Enterprise
PPTX
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
PPTX
MongoDB in the Middle of a Hybrid Cloud and Polyglot Persistence Architecture
An Introduction to MongoDB Compass
How Thermo Fisher is Reducing Data Analysis Times from Days to Minutes with M...
Webinar: What's New in MongoDB 3.2
MongoDB Administration 101
MongoDB .local Bengaluru 2019: Using MongoDB Services in Kubernetes: Any Plat...
MongoDB Days Silicon Valley: A Technical Introduction to WiredTiger
MongoDB on Azure
https://docs.google.com/presentation/d/1DcL4zK6i3HZRDD4xTGX1VpSOwyu2xBeWLT6a_...
Maximizing MongoDB Performance on AWS
Running MongoDB 3.0 on AWS
Beyond the Basics 1: Storage Engines
Securing Your MongoDB Deployment
Shift: Real World Migration from MongoDB to Cassandra
Conceptos Avanzados 1: Motores de Almacenamiento
MongoDB .local Bengaluru 2019: Lift & Shift MongoDB to Atlas
MongoDB San Francisco 2013: Storing eBay's Media Metadata on MongoDB present...
MongoDB .local Bengaluru 2019: New Encryption Capabilities in MongoDB 4.2: A ...
Securing Your Enterprise Web Apps with MongoDB Enterprise
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
MongoDB in the Middle of a Hybrid Cloud and Polyglot Persistence Architecture
Ad

Similar to What's new in MongoDB 2.6 (20)

PDF
Introducing MongoDB 2.6
PDF
Whats new in mongoDB 2.4 at Copenhagen user group 2013-06-19
PDF
Webinar: Was ist neu in MongoDB 2.4
PDF
MongoDB 2.6 is great but what about 2.8?
PPTX
Whats new in MongoDB 24
PPTX
Webminar - Novedades de MongoDB 3.2
PPTX
Webinar : Nouveautés de MongoDB 3.2
PDF
Budapest Spring MUG 2016 - MongoDB User Group
PPTX
MongoDB Roadmap
PDF
Intresting changes in mongo 2.6
PPTX
MongoDB Roadmap
PPTX
What's new in MongoDB 3.6?
PPTX
MongoDB Roadmap
PPT
MongoDB Roadmap
PDF
New in MongoDB 2.6
PDF
2016 feb-23 pyugre-py_mongo
PDF
Using MongoDB and Python
PDF
2012 mongo db_bangalore_roadmap_new
PPTX
What's New In MongoDB 3.6
PPTX
What's New in MongoDB 2.6
Introducing MongoDB 2.6
Whats new in mongoDB 2.4 at Copenhagen user group 2013-06-19
Webinar: Was ist neu in MongoDB 2.4
MongoDB 2.6 is great but what about 2.8?
Whats new in MongoDB 24
Webminar - Novedades de MongoDB 3.2
Webinar : Nouveautés de MongoDB 3.2
Budapest Spring MUG 2016 - MongoDB User Group
MongoDB Roadmap
Intresting changes in mongo 2.6
MongoDB Roadmap
What's new in MongoDB 3.6?
MongoDB Roadmap
MongoDB Roadmap
New in MongoDB 2.6
2016 feb-23 pyugre-py_mongo
Using MongoDB and Python
2012 mongo db_bangalore_roadmap_new
What's New In MongoDB 3.6
What's New in MongoDB 2.6
Ad

More from Matias Cascallares (6)

PDF
Elastic{ON} 2017 Recap
PPTX
Elasticsearch 5.0
PDF
MongoDB and Schema Design
PDF
The What and Why of NoSql
PDF
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
PPTX
Schema Design - Real world use case
Elastic{ON} 2017 Recap
Elasticsearch 5.0
MongoDB and Schema Design
The What and Why of NoSql
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
Schema Design - Real world use case

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
MYSQL Presentation for SQL database connectivity
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
A Presentation on Artificial Intelligence
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
MYSQL Presentation for SQL database connectivity
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Advanced methodologies resolving dimensionality complications for autism neur...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Network Security Unit 5.pdf for BCA BBA.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A Presentation on Artificial Intelligence
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cuic standard and advanced reporting.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

What's new in MongoDB 2.6

Editor's Notes

  • #15: Highlight the fact no need to add a new techonology
  • #16: Take slides from Text Search tech talk
  • #17: Take slides from Text Search tech talk