introducing mongodb 2.6

22
MongoDB 2.6

Upload: mongodb

Post on 22-Apr-2015

552 views

Category:

Technology


0 download

DESCRIPTION

Introducing MongoDB 2.6

TRANSCRIPT

Page 1: Introducing MongoDB 2.6

MongoDB 2.6

Page 2: Introducing MongoDB 2.6

2

• Operations

– MMS makes MongoDB as easy to run as it is to build

• Enterprise-ready enhancements

– Security

– BI & Analytics

• Improved queries

– New protocol for write ops

– Query plans

– New operators

– Full Text Search

Our Biggest Release Ever

Page 3: Introducing MongoDB 2.6

Ops

Page 4: Introducing MongoDB 2.6

4

Monitoring

• MongoDB-specific metrics

• Understand system health, alerting, etc.

Page 5: Introducing MongoDB 2.6

5

Backup

• Backup is hard

– For large, sharded clusters

• We make it simple

Page 6: Introducing MongoDB 2.6

6

• 80% of downtime in all systems due to

people/process errors

• Upgrade: 30+ manual steps 1 click

Automation

Page 7: Introducing MongoDB 2.6

7

• Background index build on secondary

• maxTimeMS()

• usePowerOf2Sizes is default

• New client-server protocol for writes

– Bulk() write ops

– Unordered = parallel execution

– BulkWriteResult contains separate error

for each op

• Housekeeping for sharded clusters

– cleanupOrphaned

– mergeChunks

Server Side Ops Improvements

Page 8: Introducing MongoDB 2.6

Security

Page 9: Introducing MongoDB 2.6

9

• What Enterprises Expect

– Fine-grained control

– Integration w/enterprise systems

– Compliance

Most Secure NoSQL Database

Page 10: Introducing MongoDB 2.6

10

Business Needs Security Features

Authentication

In Database

LDAP*

Kerberos*

x.509 Certificates*

Authorization

Built-in Roles

User-Defined Roles

Field Level Redaction (Partner Middleware)

AuditingWrite & Read Operations

Admin Operations*

EncryptionNetwork: SSL (with FIPS 140-2)*

Disk: Partner Solutions

MongoDB Enterprise-Grade Security

*Requires a MongoDB Subscription

Page 11: Introducing MongoDB 2.6

11

• 2.4 stores users in each database

• 2.6 stores all users in admin.system.users

– Users are still scoped to a single db, but not stored in that db

• Be careful when upgrading

– http://docs.mongodb.org/manual/release-notes/2.6-compatibility

Incompatible change!

Page 12: Introducing MongoDB 2.6

Aggregation & BI

Page 13: Introducing MongoDB 2.6

13

• Simpler ad-hoc queries

• Existing Indexes can be combined to optimize a

query

– Less Index Maintenance

– Smaller Working Set

– Lower Write Overhead

– More Adaptive

Index Intersection

Page 14: Introducing MongoDB 2.6

14

• Cursors back for results

– No limit on output size

• $out for Aggregation

– Write results sets to a named collection

Pipelined Data Transformations

Page 15: Introducing MongoDB 2.6

15

• $project operator in the aggregation pipeline now

supports an expanded set of expressions

$setIsSubset

$setEquals

$setDifference

$setIntersection

$setUnion

$allElementsTrue

$anyElementTrue

New Set Operators

Page 16: Introducing MongoDB 2.6

16

BI & ETL ecosystem

Page 17: Introducing MongoDB 2.6

17

Client side JavaScript frameworks

Page 18: Introducing MongoDB 2.6

Full Text Search

Page 19: Introducing MongoDB 2.6

19

• Builtin feature

– No need to copy data to Solr/ElasticSearch

• Aggregation framework supported

• 15 languages supported

– stopwords, stemming

Builtin, easy to use, search

Page 20: Introducing MongoDB 2.6

Geo-spatial

Page 21: Introducing MongoDB 2.6

21

• New Geometry objects

– MultiPoint

– MultiLineString

– MultiPolygon

– GeometryCollection

Geo-spatial improvements

Page 22: Introducing MongoDB 2.6