Upload
mongodb
View
550
Download
0
Embed Size (px)
DESCRIPTION
Introducing MongoDB 2.6
Citation preview
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
Ops
4
Monitoring
• MongoDB-specific metrics
• Understand system health, alerting, etc.
5
Backup
• Backup is hard
– For large, sharded clusters
• We make it simple
6
• 80% of downtime in all systems due to
people/process errors
• Upgrade: 30+ manual steps 1 click
Automation
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
Security
9
• What Enterprises Expect
– Fine-grained control
– Integration w/enterprise systems
– Compliance
Most Secure NoSQL Database
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
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!
Aggregation & BI
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
14
• Cursors back for results
– No limit on output size
• $out for Aggregation
– Write results sets to a named collection
Pipelined Data Transformations
15
• $project operator in the aggregation pipeline now
supports an expanded set of expressions
$setIsSubset
$setEquals
$setDifference
$setIntersection
$setUnion
$allElementsTrue
$anyElementTrue
New Set Operators
16
BI & ETL ecosystem
17
Client side JavaScript frameworks
Full Text Search
19
• Builtin feature
– No need to copy data to Solr/ElasticSearch
• Aggregation framework supported
• 15 languages supported
– stopwords, stemming
Builtin, easy to use, search
Geo-spatial
21
• New Geometry objects
– MultiPoint
– MultiLineString
– MultiPolygon
– GeometryCollection
Geo-spatial improvements