27
MongoDB 2.6 is great but what about 2.8? SA | Eng, MongoDB Norberto #lxmug

MongoDB 2.6 is great but what about 2.8?

Embed Size (px)

DESCRIPTION

Review of MongoDB 2.6 features and what to expect of upcoming 2.8

Citation preview

Page 1: MongoDB 2.6 is great but what about 2.8?

MongoDB 2.6 is great but what about 2.8?

SA | Eng, MongoDB

Norberto

#lxmug

Page 2: MongoDB 2.6 is great but what about 2.8?

What’s New

•  Query System Improvements

•  Integrated Text Search

•  Enterprise-Grade Security

•  Non-Stop Operations

Page 3: MongoDB 2.6 is great but what about 2.8?

Query System Improvements

Page 4: MongoDB 2.6 is great but what about 2.8?

Query System Improvments

•  Index Intersection

•  Pipelined Data Transformations

•  New Update Operators

•  New Set Operators

Page 5: MongoDB 2.6 is great but what about 2.8?

Index Intersection

•  Simpler ad-hoc queries

•  Existing Indexes can be combined to optimize a query –  Less Index Maintenance –  Smaller Working Set –  Lower Write Overhead –  More Adaptive

Page 6: MongoDB 2.6 is great but what about 2.8?

Pipelined Data Transformations

•  $out for Aggregation

•  Write results sets to a named collection

•  No limit on output size

•  Cursors back for results

Page 7: MongoDB 2.6 is great but what about 2.8?

New Update Operators

•  $mul

•  $min

•  $max

•  $currentDate

•  New modifiers for $push

Page 8: MongoDB 2.6 is great but what about 2.8?

New Set Operators

•  $project operator in the aggregation pipeline now supports an expanded set of expressions –  $setIsSubset –  $setEquals –  $setDifference –  $setIntersection –  $setUnion –  $allElementsTrue –  $anyElementTrue

Page 9: MongoDB 2.6 is great but what about 2.8?

Redaction

•  Field-level Security

•  Access policies can be set in Query Language

•  Two criteria to set Permissions –  Document Content –  User Privilege

Page 10: MongoDB 2.6 is great but what about 2.8?

Integrated Search

Page 11: MongoDB 2.6 is great but what about 2.8?

Text Search

•  Now production-ready

•  Integrated with MongoDB’s Query Engine

•  Multi-language document support

•  Text-search expressions can be used in the Aggregation Framework (not true in 2.5.4)

Page 12: MongoDB 2.6 is great but what about 2.8?

Possibilities with Text Search

•  Relevance ranking

•  Boolean operators

•  Language-specific tokenization and stemming

•  Fielded search

•  Field-weighted scoring

•  Stop words

•  Type-aware indexes

Page 13: MongoDB 2.6 is great but what about 2.8?

Security

Page 14: MongoDB 2.6 is great but what about 2.8?
Page 15: MongoDB 2.6 is great but what about 2.8?

Business Needs Replica Set Benefits

Authentication

In Database

LDAP*

Kerberos*

x.509 Certificates*

Authorization Built-in Roles

User-Defined Roles

Field Level Security

Auditing Admin Operations*

Queries (via Partner Solutions)

Encryption Network: SSL (with FIPS 140-2)*

Disk: Partner Solutions

MongoDB Enterprise-Grade Security

*Requires MongoDB Enterprise

Page 16: MongoDB 2.6 is great but what about 2.8?

Security

•  Authentication with LDAP (Enterprise only)

•  x.509 Certificates

•  User defined roles

•  Auditing (Enterprise only)

•  Windows Kerberos Support (And Windows Enterprise)

Page 17: MongoDB 2.6 is great but what about 2.8?

State of Security in MongoDB

•  Authentication –  Who are you? –  X.509 authentication and Kerberos

•  Authorization –  What can you do? –  User Defined Roles, Collection-level Access Control

•  Auditing –  What have you done? –  DDL, User Manipulation, Authorization failure

Page 18: MongoDB 2.6 is great but what about 2.8?

Operational Improvements

Page 19: MongoDB 2.6 is great but what about 2.8?

Improving Performance and Scalability

•  Query Router Connection Pooling

•  Bulk Write Operations

•  Resource Overload Protection with $maxTimeMS

Page 20: MongoDB 2.6 is great but what about 2.8?

Operational Improvements

•  Background Secondary Indexing

•  Mixed SSL Connections

•  Expanded SNMP Support

Page 21: MongoDB 2.6 is great but what about 2.8?

So … what’s coming?!

Page 22: MongoDB 2.6 is great but what about 2.8?

Document Level Locking!!!

Page 23: MongoDB 2.6 is great but what about 2.8?

Pluggable Storage Engine API

Page 24: MongoDB 2.6 is great but what about 2.8?

MMS Monitoring API

Page 25: MongoDB 2.6 is great but what about 2.8?

MMS Backup API

Page 26: MongoDB 2.6 is great but what about 2.8?

MMS Automation GA

Page 27: MongoDB 2.6 is great but what about 2.8?

Obrigado!

Norberto Leite

#lxmug