Download - MongoDB 2.6 is great but what about 2.8?
![Page 1: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/1.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/2.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/3.jpg)
Query System Improvements
![Page 4: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/4.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/5.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/6.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/7.jpg)
New Update Operators
• $mul
• $min
• $max
• $currentDate
• New modifiers for $push
![Page 8: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/8.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/9.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/10.jpg)
Integrated Search
![Page 11: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/11.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/12.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/13.jpg)
Security
![Page 14: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/14.jpg)
![Page 15: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/15.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/16.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/17.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/18.jpg)
Operational Improvements
![Page 19: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/19.jpg)
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?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/20.jpg)
Operational Improvements
• Background Secondary Indexing
• Mixed SSL Connections
• Expanded SNMP Support
![Page 21: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/21.jpg)
So … what’s coming?!
![Page 22: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/22.jpg)
Document Level Locking!!!
![Page 23: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/23.jpg)
Pluggable Storage Engine API
![Page 24: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/24.jpg)
MMS Monitoring API
![Page 25: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/25.jpg)
MMS Backup API
![Page 26: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/26.jpg)
MMS Automation GA
![Page 27: MongoDB 2.6 is great but what about 2.8?](https://reader034.vdocument.in/reader034/viewer/2022051313/547e440fb379594e2b8b5440/html5/thumbnails/27.jpg)
Obrigado!
Norberto Leite
#lxmug