KEMBAR78
Mongo db commands | PPTX
Bhavneet Sapra
Manpreet Khurana
Milan Pandey
Sanchit Malhotra
This Photo by Unknown Author is licensed under CC BY
10gen is the company behind MongoDB.
Set the direction &
contribute code to
MongoDB
Foster community &
ecosystem
Provide MongoDB
management services
Provide commercial
services
Founded in 2007
• Dwight Merriman, Eliot Horowitz
• Doubleclick, Oracle, Marklogic, HP
$81M+ in Funding
• Flybridge, Sequoia, NEA, Union Square
Worldwide Expanding Team
• 100+ employees
• NY, Palo Alto, London, Dublin, Sydney
General
Purpose
MongoDB is :
Easy to
Use
Fast &
Scalable
Sophisticated
query language
Full featured
indexes
Rich data model
Simple to setup
and manage
Native language
drivers in all
popular languages
Easy mapping to
object oriented
code
Dynamically add /
remove capacity
with no downtime
Auto-sharding
built in
Operates at in-
memory speed
wherever possible
• MongoDB does not need any pre-defined data schema
• Every document could have different data!
Schema Free
name: “jeff”,
eyes: “blue”,
loc: [40.7, 73.4],
boss: “ben”}
{name: “brendan”,
aliases: [“el diablo”]}
name: “ben”,
hat: ”yes”}
{name: “matt”,
pizza: “DiGiorno”,
height: 72,
loc: [44.6, 71.3]}
{name: “will”,
eyes: “blue”,
birthplace: “NY”,
aliases: [“bill”, “la
ciacco”],
loc: [32.7, 63.4],
boss: ”ben”}
MongoDB is fast and scalable
Better data locality
Relational MongoDB
In-Memory
Caching
Distributed Architecture
Horizontal Scaling
We just can't get any faster than the way MongoDB handles our data.
Tony Tam
CTO, Wordnik
Replication/HA
Very Basic
Commands
CRUD Operations
Insert ,Update
and Find
Save, Add
(Attribute)
Find, Unset Command
Relational
Operators
Search/Regex
Dealing with Null
Count, Limit, Sort
Arrays
Aggregate Function
MAP
REDUCE
&
FACTORIAL
FUNCTION
THANK YOU

Mongo db commands

  • 1.
    Bhavneet Sapra Manpreet Khurana MilanPandey Sanchit Malhotra This Photo by Unknown Author is licensed under CC BY
  • 2.
    10gen is thecompany behind MongoDB. Set the direction & contribute code to MongoDB Foster community & ecosystem Provide MongoDB management services Provide commercial services Founded in 2007 • Dwight Merriman, Eliot Horowitz • Doubleclick, Oracle, Marklogic, HP $81M+ in Funding • Flybridge, Sequoia, NEA, Union Square Worldwide Expanding Team • 100+ employees • NY, Palo Alto, London, Dublin, Sydney
  • 3.
    General Purpose MongoDB is : Easyto Use Fast & Scalable Sophisticated query language Full featured indexes Rich data model Simple to setup and manage Native language drivers in all popular languages Easy mapping to object oriented code Dynamically add / remove capacity with no downtime Auto-sharding built in Operates at in- memory speed wherever possible
  • 4.
    • MongoDB doesnot need any pre-defined data schema • Every document could have different data! Schema Free name: “jeff”, eyes: “blue”, loc: [40.7, 73.4], boss: “ben”} {name: “brendan”, aliases: [“el diablo”]} name: “ben”, hat: ”yes”} {name: “matt”, pizza: “DiGiorno”, height: 72, loc: [44.6, 71.3]} {name: “will”, eyes: “blue”, birthplace: “NY”, aliases: [“bill”, “la ciacco”], loc: [32.7, 63.4], boss: ”ben”}
  • 5.
    MongoDB is fastand scalable Better data locality Relational MongoDB In-Memory Caching Distributed Architecture Horizontal Scaling We just can't get any faster than the way MongoDB handles our data. Tony Tam CTO, Wordnik Replication/HA
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.

Editor's Notes

  • #5 Applications enforce the data “schema” and integrity, much like MUMPS does in VistA