SlideShare a Scribd company logo
Interesting changes in Mongo 2.6
MongoDB Meetup April 2014
David Murphy - DBA Lead
Masen Marshall - CDE Lead
ObjectRocket
Overview
•Custom Roles With An Example
!
• Index And Optimizer Improvements
!
• Operational Improvements
!
!
Custom Roles
Allow to provide access to specific functions and
resources.
Resources - Cluster, DBs, and Collection being types
Privilege Actions - query, insert,update,remove,
createIndex, createUser, ServerStatus and more
Custom Roles - Resource Docs
!
Cluster Type:
{ resource: { cluster : true }, actions: [ "collMod" ] }
DB Type:
{ resource: {db: “foo”, collection:”” }, actions: [ "collMod" ] }
Collection Type:
{ resource: {db: “”, collection:”bar” }, actions: [ "collMod" ] }
!
Custom Roles - Privilege Actions
Many types , far to many to cover today
http://docs.mongodb.org/manual/reference/privilege-actions/
!
Example user role might need:
!
* readWrite ( include query,update,remove,insert…)
* collMod
* planCacheRead
Custom Roles - Example Role
db.createRole(
{
role: "expanded_readWrite_appDB",
privileges:
[{
resource: { db: "appDB",collection:"" },
actions: [ "planCacheRead","collMod" ]}],
roles:[{ role: "readWrite", db: "appDB" }],
writeConcern: { w: "majority" , wtimeout: 5000 }
});
Custom Roles - Add Role to User
use appDB;
db.createUser(
{ "user" : "appuser",
"pwd": "Password123456",
"roles" : [ {
role: "expanded_readWrite_appDB",
db: “appDB"
}]
},
{ w: "majority" , wtimeout: 5000 }
);
Index & Optimizer
Many new things in both
Major items:
• Query Plan Caching
• Index Filtering
• Index Intersections and their limits
!
Index & Optimizer - Query Plans
!
Allows clearing per query.
!
Regularly re-calculated per specific rules
!
New grants required for non-admin users
!
Index & Optimizer - Index Filtering
Based on Query shapes
!
Shapes are a combination of query, sort, and
projection specifications
!
Hint + Filter = Awesome!
!
Index & Optimizer - Index Intersection
Allow using 2 indexes currently, but no more
!
Compound indexes are still faster
!
Main use case is “self-intersection” where you
want to query based on multiple vectors in the
same array.
!
All fields in union must be present in query for
sort to use intersection.
Index & Optimizer - Index Intersection
Intersection Limits:
• Less likely to use on in memory documents
!
• Predicates are constant entry point not ranges
!
• Neither index may be highly selective
!
• If estimated inspection size is larger it will not be
used
Operation Improvements
Secondary Index Build — HUGE WIN!
Orphan Cleanup Command
New Write Operation Protocol
Enforce Index max key limits
PowerOf2Sizes by default
!
Contact
@dmurphy_data
@objectrocket
david@objectrocket.com
masen@objectrocket.com
!
https://www.objectrocket.com
!
WE ARE HIRING! (DBA,DEVOPS, CDEs, and more)
https://www.objectrocket.com/careers

More Related Content

What's hot

Azure document DB
Azure document DBAzure document DB
Azure document DB
Sasha-Leigh Garret
 
MongoDB
MongoDBMongoDB
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to ChangesBenefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Alex Nguyen
 
Intro To Mongo Db
Intro To Mongo DbIntro To Mongo Db
Intro To Mongo Db
chriskite
 
MongoDB by Emroz sardar.
MongoDB by Emroz sardar.MongoDB by Emroz sardar.
MongoDB by Emroz sardar.
Emroz Sardar
 
10gen MongoDB Video Presentation at WebGeek DevCup
10gen MongoDB Video Presentation at WebGeek DevCup10gen MongoDB Video Presentation at WebGeek DevCup
10gen MongoDB Video Presentation at WebGeek DevCup
WebGeek Philippines
 
NoSQL Tel Aviv Meetup#1: NoSQL Data Modeling
NoSQL Tel Aviv Meetup#1: NoSQL Data ModelingNoSQL Tel Aviv Meetup#1: NoSQL Data Modeling
NoSQL Tel Aviv Meetup#1: NoSQL Data Modeling
NoSQL TLV
 
Mongo DB
Mongo DB Mongo DB
MongoDB Roadmap
MongoDB RoadmapMongoDB Roadmap
MongoDB Roadmap
MongoDB
 
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
Sonja Madsen
 
SDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modellingSDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modelling
Korea Sdec
 
Introduction to Elasticsearch
Introduction to ElasticsearchIntroduction to Elasticsearch
Introduction to Elasticsearch
Shravanthi Denthumdas
 
MongoDB
MongoDBMongoDB
MongoDB
Rony Gregory
 
5min Lightning talk at Paris.rb
5min Lightning talk at Paris.rb5min Lightning talk at Paris.rb
5min Lightning talk at Paris.rb
Sylvain Utard
 
Azure Media Services & Azure Search
Azure Media Services & Azure SearchAzure Media Services & Azure Search
Azure Media Services & Azure Search
Emanuele Bartolesi
 
Introduction to Azure Search
Introduction to Azure SearchIntroduction to Azure Search
Introduction to Azure Search
Radoslav Gatev
 
Intro to RavenDB
Intro to RavenDBIntro to RavenDB
Intro to RavenDB
Alonso Robles
 
Modeling JSON data for NoSQL document databases
Modeling JSON data for NoSQL document databasesModeling JSON data for NoSQL document databases
Modeling JSON data for NoSQL document databases
Ryan CrawCour
 
Azure document db
Azure document dbAzure document db
Azure document db
Ian Chen
 
Elastic search intro-@lamper
Elastic search intro-@lamperElastic search intro-@lamper
Elastic search intro-@lamper
medcl
 

What's hot (20)

Azure document DB
Azure document DBAzure document DB
Azure document DB
 
MongoDB
MongoDBMongoDB
MongoDB
 
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to ChangesBenefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
 
Intro To Mongo Db
Intro To Mongo DbIntro To Mongo Db
Intro To Mongo Db
 
MongoDB by Emroz sardar.
MongoDB by Emroz sardar.MongoDB by Emroz sardar.
MongoDB by Emroz sardar.
 
10gen MongoDB Video Presentation at WebGeek DevCup
10gen MongoDB Video Presentation at WebGeek DevCup10gen MongoDB Video Presentation at WebGeek DevCup
10gen MongoDB Video Presentation at WebGeek DevCup
 
NoSQL Tel Aviv Meetup#1: NoSQL Data Modeling
NoSQL Tel Aviv Meetup#1: NoSQL Data ModelingNoSQL Tel Aviv Meetup#1: NoSQL Data Modeling
NoSQL Tel Aviv Meetup#1: NoSQL Data Modeling
 
Mongo DB
Mongo DB Mongo DB
Mongo DB
 
MongoDB Roadmap
MongoDB RoadmapMongoDB Roadmap
MongoDB Roadmap
 
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
SharePoint Framework, React, and Office UI Fabric spc adriatics 2016
 
SDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modellingSDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modelling
 
Introduction to Elasticsearch
Introduction to ElasticsearchIntroduction to Elasticsearch
Introduction to Elasticsearch
 
MongoDB
MongoDBMongoDB
MongoDB
 
5min Lightning talk at Paris.rb
5min Lightning talk at Paris.rb5min Lightning talk at Paris.rb
5min Lightning talk at Paris.rb
 
Azure Media Services & Azure Search
Azure Media Services & Azure SearchAzure Media Services & Azure Search
Azure Media Services & Azure Search
 
Introduction to Azure Search
Introduction to Azure SearchIntroduction to Azure Search
Introduction to Azure Search
 
Intro to RavenDB
Intro to RavenDBIntro to RavenDB
Intro to RavenDB
 
Modeling JSON data for NoSQL document databases
Modeling JSON data for NoSQL document databasesModeling JSON data for NoSQL document databases
Modeling JSON data for NoSQL document databases
 
Azure document db
Azure document dbAzure document db
Azure document db
 
Elastic search intro-@lamper
Elastic search intro-@lamperElastic search intro-@lamper
Elastic search intro-@lamper
 

Viewers also liked

Digital is a Philosophy by Augustine Fou
Digital is a Philosophy by Augustine FouDigital is a Philosophy by Augustine Fou
Digital is a Philosophy by Augustine Fou
Dr. Augustine Fou - Independent Ad Fraud Researcher
 
Case Study: Gestión de Medios Sociales Fiat Group 2013
Case Study: Gestión de Medios Sociales Fiat Group 2013Case Study: Gestión de Medios Sociales Fiat Group 2013
Case Study: Gestión de Medios Sociales Fiat Group 2013
Jordi Sabat
 
"Школа дошколят" МБОУ «ЦО №23»
"Школа дошколят" МБОУ «ЦО №23»"Школа дошколят" МБОУ «ЦО №23»
"Школа дошколят" МБОУ «ЦО №23»
shlyop
 
China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...
Qianzhan Intelligence
 
5.3 enseñanza asistida por computadores
5.3 enseñanza asistida por computadores5.3 enseñanza asistida por computadores
5.3 enseñanza asistida por computadores
Adrian Flores Cabrera
 
Primary education
Primary educationPrimary education
Primary education
teachersgloriamareile
 
China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...
Qianzhan Intelligence
 
Ephata 611
Ephata 611Ephata 611
Ephata 611
Vu Mai JMV
 
American Revolution Battle Flyers
American Revolution Battle FlyersAmerican Revolution Battle Flyers
American Revolution Battle Flyers
mbstein
 
mahout-cf
mahout-cfmahout-cf
mahout-cf
sscdotopen
 
fashionresume
fashionresumefashionresume
fashionresume
Ashley Felts
 
China coatings industry production & marketing demand and investment forecast...
China coatings industry production & marketing demand and investment forecast...China coatings industry production & marketing demand and investment forecast...
China coatings industry production & marketing demand and investment forecast...
Qianzhan Intelligence
 
Presentation Youngcast AISL grado7
Presentation Youngcast AISL grado7Presentation Youngcast AISL grado7
Presentation Youngcast AISL grado7
aislyoungcast
 
Presentation23 (2)
Presentation23 (2)Presentation23 (2)
Presentation23 (2)MATC
 
Hagan Lawrence Resume
Hagan Lawrence ResumeHagan Lawrence Resume
Hagan Lawrence Resume
Hagan Lawrence
 
Resume Luis Aranda
Resume Luis ArandaResume Luis Aranda
Resume Luis Aranda
Luis Aranda
 
China automated warehouse industry investment demand and development prospect...
China automated warehouse industry investment demand and development prospect...China automated warehouse industry investment demand and development prospect...
China automated warehouse industry investment demand and development prospect...
Qianzhan Intelligence
 
China touch screen industry market demand forecast and investment strategy re...
China touch screen industry market demand forecast and investment strategy re...China touch screen industry market demand forecast and investment strategy re...
China touch screen industry market demand forecast and investment strategy re...
Qianzhan Intelligence
 
Ust-Kulom, Republic of Komi
Ust-Kulom, Republic of KomiUst-Kulom, Republic of Komi
Ust-Kulom, Republic of KomiMaria Lipina
 
Pencil vs camera by ben heine (v.m.)
Pencil vs camera by ben heine (v.m.)Pencil vs camera by ben heine (v.m.)
Pencil vs camera by ben heine (v.m.)
Valeriu Margescu
 

Viewers also liked (20)

Digital is a Philosophy by Augustine Fou
Digital is a Philosophy by Augustine FouDigital is a Philosophy by Augustine Fou
Digital is a Philosophy by Augustine Fou
 
Case Study: Gestión de Medios Sociales Fiat Group 2013
Case Study: Gestión de Medios Sociales Fiat Group 2013Case Study: Gestión de Medios Sociales Fiat Group 2013
Case Study: Gestión de Medios Sociales Fiat Group 2013
 
"Школа дошколят" МБОУ «ЦО №23»
"Школа дошколят" МБОУ «ЦО №23»"Школа дошколят" МБОУ «ЦО №23»
"Школа дошколят" МБОУ «ЦО №23»
 
China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...
 
5.3 enseñanza asistida por computadores
5.3 enseñanza asistida por computadores5.3 enseñanza asistida por computadores
5.3 enseñanza asistida por computadores
 
Primary education
Primary educationPrimary education
Primary education
 
China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...
 
Ephata 611
Ephata 611Ephata 611
Ephata 611
 
American Revolution Battle Flyers
American Revolution Battle FlyersAmerican Revolution Battle Flyers
American Revolution Battle Flyers
 
mahout-cf
mahout-cfmahout-cf
mahout-cf
 
fashionresume
fashionresumefashionresume
fashionresume
 
China coatings industry production & marketing demand and investment forecast...
China coatings industry production & marketing demand and investment forecast...China coatings industry production & marketing demand and investment forecast...
China coatings industry production & marketing demand and investment forecast...
 
Presentation Youngcast AISL grado7
Presentation Youngcast AISL grado7Presentation Youngcast AISL grado7
Presentation Youngcast AISL grado7
 
Presentation23 (2)
Presentation23 (2)Presentation23 (2)
Presentation23 (2)
 
Hagan Lawrence Resume
Hagan Lawrence ResumeHagan Lawrence Resume
Hagan Lawrence Resume
 
Resume Luis Aranda
Resume Luis ArandaResume Luis Aranda
Resume Luis Aranda
 
China automated warehouse industry investment demand and development prospect...
China automated warehouse industry investment demand and development prospect...China automated warehouse industry investment demand and development prospect...
China automated warehouse industry investment demand and development prospect...
 
China touch screen industry market demand forecast and investment strategy re...
China touch screen industry market demand forecast and investment strategy re...China touch screen industry market demand forecast and investment strategy re...
China touch screen industry market demand forecast and investment strategy re...
 
Ust-Kulom, Republic of Komi
Ust-Kulom, Republic of KomiUst-Kulom, Republic of Komi
Ust-Kulom, Republic of Komi
 
Pencil vs camera by ben heine (v.m.)
Pencil vs camera by ben heine (v.m.)Pencil vs camera by ben heine (v.m.)
Pencil vs camera by ben heine (v.m.)
 

Similar to Intresting changes in mongo 2.6

MediaGlu and Mongo DB
MediaGlu and Mongo DBMediaGlu and Mongo DB
MediaGlu and Mongo DB
Sundar Nathikudi
 
MongoDB using Grails plugin by puneet behl
MongoDB using Grails plugin by puneet behlMongoDB using Grails plugin by puneet behl
MongoDB using Grails plugin by puneet behl
TO THE NEW | Technology
 
MongoDB & NoSQL 101
 MongoDB & NoSQL 101 MongoDB & NoSQL 101
MongoDB & NoSQL 101
Jollen Chen
 
Mongo db tutorials
Mongo db tutorialsMongo db tutorials
Mongo db tutorials
Anuj Jain
 
Mongo db 3.4 Overview
Mongo db 3.4 OverviewMongo db 3.4 Overview
Mongo db 3.4 Overview
Norberto Leite
 
OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES
OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES
OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES
IQ Online Training
 
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
The Fine Art of Schema Design in MongoDB: Dos and Don'tsThe Fine Art of Schema Design in MongoDB: Dos and Don'ts
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
Matias Cascallares
 
Fast querying indexing for performance (4)
Fast querying   indexing for performance (4)Fast querying   indexing for performance (4)
Fast querying indexing for performance (4)
MongoDB
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your Website
Acquia
 
Solving your Backup Needs - Ben Cefalo mdbe18
Solving your Backup Needs - Ben Cefalo mdbe18Solving your Backup Needs - Ben Cefalo mdbe18
Solving your Backup Needs - Ben Cefalo mdbe18
MongoDB
 
Grails patterns and practices
Grails patterns and practicesGrails patterns and practices
Grails patterns and practices
paulbowler
 
Spring data presentation
Spring data presentationSpring data presentation
Spring data presentation
Oleksii Usyk
 
MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...
MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...
MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...
MongoDB
 
MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...
MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...
MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...
MongoDB
 
Elasticsearch Introduction at BigData meetup
Elasticsearch Introduction at BigData meetupElasticsearch Introduction at BigData meetup
Elasticsearch Introduction at BigData meetup
Eric Rodriguez (Hiring in Lex)
 
MongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_Wilkins
MongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_WilkinsMongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_Wilkins
MongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_Wilkins
kiwilkins
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Ravi Teja
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDB
MongoDB
 
Finding Love with MongoDB
Finding Love with MongoDBFinding Love with MongoDB
Finding Love with MongoDB
MongoDB
 
Solving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and Atlas
Solving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and AtlasSolving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and Atlas
Solving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and Atlas
MongoDB
 

Similar to Intresting changes in mongo 2.6 (20)

MediaGlu and Mongo DB
MediaGlu and Mongo DBMediaGlu and Mongo DB
MediaGlu and Mongo DB
 
MongoDB using Grails plugin by puneet behl
MongoDB using Grails plugin by puneet behlMongoDB using Grails plugin by puneet behl
MongoDB using Grails plugin by puneet behl
 
MongoDB & NoSQL 101
 MongoDB & NoSQL 101 MongoDB & NoSQL 101
MongoDB & NoSQL 101
 
Mongo db tutorials
Mongo db tutorialsMongo db tutorials
Mongo db tutorials
 
Mongo db 3.4 Overview
Mongo db 3.4 OverviewMongo db 3.4 Overview
Mongo db 3.4 Overview
 
OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES
OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES
OVERVIEW OF MONGODB | CREATING USER IN MONGODB & ASSIGNING ROLES
 
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
The Fine Art of Schema Design in MongoDB: Dos and Don'tsThe Fine Art of Schema Design in MongoDB: Dos and Don'ts
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
 
Fast querying indexing for performance (4)
Fast querying   indexing for performance (4)Fast querying   indexing for performance (4)
Fast querying indexing for performance (4)
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your Website
 
Solving your Backup Needs - Ben Cefalo mdbe18
Solving your Backup Needs - Ben Cefalo mdbe18Solving your Backup Needs - Ben Cefalo mdbe18
Solving your Backup Needs - Ben Cefalo mdbe18
 
Grails patterns and practices
Grails patterns and practicesGrails patterns and practices
Grails patterns and practices
 
Spring data presentation
Spring data presentationSpring data presentation
Spring data presentation
 
MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...
MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...
MongoDB.local DC 2018: Solving Your Backup Needs Using MongoDB Ops Manager, C...
 
MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...
MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...
MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manage...
 
Elasticsearch Introduction at BigData meetup
Elasticsearch Introduction at BigData meetupElasticsearch Introduction at BigData meetup
Elasticsearch Introduction at BigData meetup
 
MongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_Wilkins
MongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_WilkinsMongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_Wilkins
MongoDB Revised Sharding Guidelines MongoDB 3.x_Kimberly_Wilkins
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDB
 
Finding Love with MongoDB
Finding Love with MongoDBFinding Love with MongoDB
Finding Love with MongoDB
 
Solving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and Atlas
Solving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and AtlasSolving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and Atlas
Solving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager and Atlas
 

Recently uploaded

ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
wyddcwye1
 

Recently uploaded (20)

ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
 

Intresting changes in mongo 2.6

  • 1. Interesting changes in Mongo 2.6 MongoDB Meetup April 2014 David Murphy - DBA Lead Masen Marshall - CDE Lead ObjectRocket
  • 2. Overview •Custom Roles With An Example ! • Index And Optimizer Improvements ! • Operational Improvements ! !
  • 3. Custom Roles Allow to provide access to specific functions and resources. Resources - Cluster, DBs, and Collection being types Privilege Actions - query, insert,update,remove, createIndex, createUser, ServerStatus and more
  • 4. Custom Roles - Resource Docs ! Cluster Type: { resource: { cluster : true }, actions: [ "collMod" ] } DB Type: { resource: {db: “foo”, collection:”” }, actions: [ "collMod" ] } Collection Type: { resource: {db: “”, collection:”bar” }, actions: [ "collMod" ] } !
  • 5. Custom Roles - Privilege Actions Many types , far to many to cover today http://docs.mongodb.org/manual/reference/privilege-actions/ ! Example user role might need: ! * readWrite ( include query,update,remove,insert…) * collMod * planCacheRead
  • 6. Custom Roles - Example Role db.createRole( { role: "expanded_readWrite_appDB", privileges: [{ resource: { db: "appDB",collection:"" }, actions: [ "planCacheRead","collMod" ]}], roles:[{ role: "readWrite", db: "appDB" }], writeConcern: { w: "majority" , wtimeout: 5000 } });
  • 7. Custom Roles - Add Role to User use appDB; db.createUser( { "user" : "appuser", "pwd": "Password123456", "roles" : [ { role: "expanded_readWrite_appDB", db: “appDB" }] }, { w: "majority" , wtimeout: 5000 } );
  • 8. Index & Optimizer Many new things in both Major items: • Query Plan Caching • Index Filtering • Index Intersections and their limits !
  • 9. Index & Optimizer - Query Plans ! Allows clearing per query. ! Regularly re-calculated per specific rules ! New grants required for non-admin users !
  • 10. Index & Optimizer - Index Filtering Based on Query shapes ! Shapes are a combination of query, sort, and projection specifications ! Hint + Filter = Awesome! !
  • 11. Index & Optimizer - Index Intersection Allow using 2 indexes currently, but no more ! Compound indexes are still faster ! Main use case is “self-intersection” where you want to query based on multiple vectors in the same array. ! All fields in union must be present in query for sort to use intersection.
  • 12. Index & Optimizer - Index Intersection Intersection Limits: • Less likely to use on in memory documents ! • Predicates are constant entry point not ranges ! • Neither index may be highly selective ! • If estimated inspection size is larger it will not be used
  • 13. Operation Improvements Secondary Index Build — HUGE WIN! Orphan Cleanup Command New Write Operation Protocol Enforce Index max key limits PowerOf2Sizes by default !