SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

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 ChangesAlex Nguyen
 
Intro To Mongo Db
Intro To Mongo DbIntro To Mongo Db
Intro To Mongo Dbchriskite
 
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 DevCupWebGeek 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 ModelingNoSQL TLV
 
MongoDB Roadmap
MongoDB RoadmapMongoDB Roadmap
MongoDB RoadmapMongoDB
 
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 2016Sonja Madsen
 
SDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modellingSDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modellingKorea Sdec
 
5min Lightning talk at Paris.rb
5min Lightning talk at Paris.rb5min Lightning talk at Paris.rb
5min Lightning talk at Paris.rbSylvain Utard
 
Azure Media Services & Azure Search
Azure Media Services & Azure SearchAzure Media Services & Azure Search
Azure Media Services & Azure SearchEmanuele Bartolesi
 
Introduction to Azure Search
Introduction to Azure SearchIntroduction to Azure Search
Introduction to Azure SearchRadoslav Gatev
 
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 databasesRyan CrawCour
 
Azure document db
Azure document dbAzure document db
Azure document dbIan Chen
 
Elastic search intro-@lamper
Elastic search intro-@lamperElastic search intro-@lamper
Elastic search intro-@lampermedcl
 

Mais procurados (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
 

Destaque

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 2013Jordi 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 computadoresAdrian Flores Cabrera
 
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
 
American Revolution Battle Flyers
American Revolution Battle FlyersAmerican Revolution Battle Flyers
American Revolution Battle Flyersmbstein
 
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 grado7aislyoungcast
 
Presentation23 (2)
Presentation23 (2)Presentation23 (2)
Presentation23 (2)MATC
 
Resume Luis Aranda
Resume Luis ArandaResume Luis Aranda
Resume Luis ArandaLuis 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
 

Destaque (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.)
 

Semelhante a Changes in Mongo 2.6: Custom Roles, Indexing & Optimization

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 behlTO THE NEW | Technology
 
MongoDB & NoSQL 101
 MongoDB & NoSQL 101 MongoDB & NoSQL 101
MongoDB & NoSQL 101Jollen Chen
 
Mongo db tutorials
Mongo db tutorialsMongo db tutorials
Mongo db tutorialsAnuj Jain
 
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'tsMatias 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 WebsiteAcquia
 
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 mdbe18MongoDB
 
Grails patterns and practices
Grails patterns and practicesGrails patterns and practices
Grails patterns and practicespaulbowler
 
Spring data presentation
Spring data presentationSpring data presentation
Spring data presentationOleksii Usyk
 
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
 
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 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_Wilkinskiwilkins
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBRavi Teja
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDBMongoDB
 
Finding Love with MongoDB
Finding Love with MongoDBFinding Love with MongoDB
Finding Love with MongoDBMongoDB
 
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 AtlasMongoDB
 

Semelhante a Changes in Mongo 2.6: Custom Roles, Indexing & Optimization (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 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.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...
 
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
 

Último

(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 

Último (20)

(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 

Changes in Mongo 2.6: Custom Roles, Indexing & Optimization

  • 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 !