SlideShare a Scribd company logo
The Trusted Technology Partner in
   Business Innovation




  August 2010                       August 2010                     July 2010                         June 2010
  Ranked as one of the top          Ranked as one of the top        Named Microsoft Partner of        CRN Magazine's list of the
  technology solution providers     technology solution providers   the Year Finalist in 2 separate   largest solution providers in
  in America by CRN Magazine        in America by CRN Magazine      categories                        North America
  for the past 4 years.             for the past 4 years.




  2009 2010     2007 2008



The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
NoSQL With MongoDB



             Select fun, profit from real_world where
             relational=false


                             Nagaraja S
                             Senior Consultant I
                             Nagaraja.s@neudesic.com
                             twitter.com/nagarajshanbhog




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Agenda

    •     NoSQL!!!! …… ?
    •     Why NoSQL?
    •     NoSQL Use Cases
    •     NoSQL Databases
    •     Overview on MongoDB
    •     Set up MongoDB
    •     DEMO
    •     MongoDB driver for .net
    •     DEMO

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
NoSQL!!!!....?

    •     NoSQL != NO SQL
    •     NOSQL == Not Only SQL
    •     Subjective term (like Web 2.0)
    •     Usually do not require a fixed table schema nor do they use the concept of
          joins




                                                        (Cont…)

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
NoSQL!!!....?

    • Coined in 1998 by “Carlos Strozzi” to describe a database that did not
      expose a SQL interface
    • In 2008, Eric Evans Reintroduced the term to describe the growing non-
      RDBMS movement
    • Broadly refers to a set of data stores that do not use SQL or a relational
      model to store data
    • Popularized by large web sites such as Google, Facebook, Twitter and Digg
      etc...



The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Why NoSQL..?

    •     Modern relational databases simply do not scale to internet proportions
    •     Sites like Digg,Facebook and Ebay have datasets 10s and 100s of TB large
    •     ACID support isn’t required for blogs, status updates, product listings etc
    •     Reduce Object relational impedance




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Why NoSQL..?

    • GOOD                                              BAD

    •     Flexible (Schema-less)                        Immature
    •     Very scalable                                 No common standards
    •     Simple to use and operate                     Poor transaction support
    •     Eventually consistent                         Poor query support
    •     Cheap                                         New Mindset required
    •     Suited to web applications


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
NoSQL Use Cases

    • Good Example
             – Logging data                             Shopping carts
             – Favorites                                Session Data
    • Stick with RDBMS
             – Transactions (Orders etc.)               LOB applications
             – Anything involves $$$                    Business-critical data
             – Reporting




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
NoSQL Databases

    •     XML (myXMLDB, Tamino, Senda)
    •     Wide Column ( Cassandra, Hbase, Big Table)
    •     Key/Value (Redis, MemCached with BerkelyDB)
    •     Graph (neo4j, InfoGrid)
    •     Document store ( CouchDB, MongoDB)




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Overview On MongoDB

    • Open source, Document oriented database
    • 10gen corporate entity behind development
    • Basics
             –     Document in a MongoDB database are stored in schema-less collections
             –     Documents are stored in BSON (Binary JSON)
             –     JavaScript used to Query and Manipulate collections
             –     Each item in a collection has a unique (primary) key called an “ObjectID”




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
SQL to Mongo Mapping Chart

    SQL term                                            Mongo term
    Database                                            Databse
    Table                                               Collection
    Index                                               Index
    Row                                                 BSON Document
    Column                                              BSON Field
    Join                                                Embedding and linking
    Primary key                                         _id field


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Installing MongoDB on Windows

    •     Download the binaries from “mongodb.org”
    •     Create a directory “C:datadb”
    •     Run “Mongod.exe” from the command line
    •     Run “Mongo.exe” to execute commands




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
SQL statement                                          Mongo statement
 Create table users ( a Number, b Number)               Implicit; can also by done by explicit
                                                        db.createCollection(”user”)
 Insert into users values (4,5)                         db.users.insert ( { a:3, b:5 } )
 Select * from users                                    db.users.find()
 SELECT * FROM users WHERE age=33                       db.users.find({age:33}).sort({name:1})
 ORDER BY name
 SELECT a,b FROM users WHERE age=33                     db.users.find({age:33}, {a:1,b:1})
 SELECT * FROM users WHERE name LIKE                    db.users.find({name:/Joe/})
 "%Joe%"
 SELECT * FROM users WHERE name LIKE                    db.users.find({name:/^Joe/})
 "Joe%"
 SELECT * FROM users WHERE age>33 AND                   db.users.find({'age':{$gt:33,$lte:40}})
 age<=40
The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
MongoDB




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
For further reference

    •     http://try.mongodb.org/ - Try Commands
    •     http://nosql-database.org/
    •     http://www.mongodb.org/
    •     http://github.com/mongodb/mongo-csharp-driver/downloads.




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Thank You


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services

More Related Content

What's hot (12)

PPTX
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
MongoDB
 
PPT
Making the Conceptual Layer Real via HTTP based Linked Data
Kingsley Uyi Idehen
 
PPTX
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?
MongoDB
 
PPTX
DITA's New Thang: Going Mapless!
dclsocialmedia
 
PPTX
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
dclsocialmedia
 
PDF
Odi ireland rittman
Pavankumartalla
 
PDF
Highlights from SharePoint Conference 2011
C/D/H Technology Consultants
 
PPTX
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And When
David Peyruc
 
PPTX
How to deliver a Single View in Financial Services
MongoDB
 
DOCX
New sap bo 4.0 course content
saritha4training
 
PDF
Great Scott! Dealing with New Datatypes
Embarcadero Technologies
 
PDF
Share point 2010 why should you care to invest
Optimus BT
 
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
MongoDB
 
Making the Conceptual Layer Real via HTTP based Linked Data
Kingsley Uyi Idehen
 
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?
MongoDB
 
DITA's New Thang: Going Mapless!
dclsocialmedia
 
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
dclsocialmedia
 
Odi ireland rittman
Pavankumartalla
 
Highlights from SharePoint Conference 2011
C/D/H Technology Consultants
 
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And When
David Peyruc
 
How to deliver a Single View in Financial Services
MongoDB
 
New sap bo 4.0 course content
saritha4training
 
Great Scott! Dealing with New Datatypes
Embarcadero Technologies
 
Share point 2010 why should you care to invest
Optimus BT
 

Similar to NoSQL with Mongodb (20)

PPTX
An Introduction to Big Data, NoSQL and MongoDB
William LaForest
 
PPTX
Why Organizations are Looking at Alternative Database Technologies – Introduc...
DATAVERSITY
 
PDF
A Brief Introduction: MongoDB
DATAVERSITY
 
PDF
Mongodb Introduction
Jeremy Taylor
 
PPTX
MediaGlu and Mongo DB
Sundar Nathikudi
 
PPTX
mongoDB: Driving a data revolution
MongoDB
 
PPTX
An Evening with MongoDB Detroit 2013
MongoDB
 
PPTX
Einführung in MongoDB
NETUserGroupBern
 
PPT
Welcome and Introduction to A Morning with MongoDB Petah Tikvah
MongoDB
 
PPTX
Welcome to MongoDB Tokyo 2012
MongoDB
 
PPTX
mongodb_DS.pptx
DavoudSalehi1
 
PPTX
Nosql Now 2012: MongoDB Use Cases
MongoDB
 
PPT
A Morning with MongoDB - Helsinki
MongoDB
 
PDF
Webinar: NoSQL as the New Normal
MongoDB
 
PPTX
No sql introduction_v1.1.1
Fan Ang
 
PPTX
Tim Marston.
PatrickCrompton
 
PPTX
Webinar: How to Drive Business Value in Financial Services with MongoDB
MongoDB
 
ODP
Morningwithmongodbisrael 121217184113-phpapp02
Andrei Colta
 
PPTX
Branf final bringing mongodb into your organization - mongo db-boston2012
MongoDB
 
PPTX
Tim marston
PatrickCrompton
 
An Introduction to Big Data, NoSQL and MongoDB
William LaForest
 
Why Organizations are Looking at Alternative Database Technologies – Introduc...
DATAVERSITY
 
A Brief Introduction: MongoDB
DATAVERSITY
 
Mongodb Introduction
Jeremy Taylor
 
MediaGlu and Mongo DB
Sundar Nathikudi
 
mongoDB: Driving a data revolution
MongoDB
 
An Evening with MongoDB Detroit 2013
MongoDB
 
Einführung in MongoDB
NETUserGroupBern
 
Welcome and Introduction to A Morning with MongoDB Petah Tikvah
MongoDB
 
Welcome to MongoDB Tokyo 2012
MongoDB
 
mongodb_DS.pptx
DavoudSalehi1
 
Nosql Now 2012: MongoDB Use Cases
MongoDB
 
A Morning with MongoDB - Helsinki
MongoDB
 
Webinar: NoSQL as the New Normal
MongoDB
 
No sql introduction_v1.1.1
Fan Ang
 
Tim Marston.
PatrickCrompton
 
Webinar: How to Drive Business Value in Financial Services with MongoDB
MongoDB
 
Morningwithmongodbisrael 121217184113-phpapp02
Andrei Colta
 
Branf final bringing mongodb into your organization - mongo db-boston2012
MongoDB
 
Tim marston
PatrickCrompton
 
Ad

Recently uploaded (20)

PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Ad

NoSQL with Mongodb

  • 1. The Trusted Technology Partner in Business Innovation August 2010 August 2010 July 2010 June 2010 Ranked as one of the top Ranked as one of the top Named Microsoft Partner of CRN Magazine's list of the technology solution providers technology solution providers the Year Finalist in 2 separate largest solution providers in in America by CRN Magazine in America by CRN Magazine categories North America for the past 4 years. for the past 4 years. 2009 2010 2007 2008 The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 2. NoSQL With MongoDB Select fun, profit from real_world where relational=false Nagaraja S Senior Consultant I [email protected] twitter.com/nagarajshanbhog The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 3. Agenda • NoSQL!!!! …… ? • Why NoSQL? • NoSQL Use Cases • NoSQL Databases • Overview on MongoDB • Set up MongoDB • DEMO • MongoDB driver for .net • DEMO The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 4. NoSQL!!!!....? • NoSQL != NO SQL • NOSQL == Not Only SQL • Subjective term (like Web 2.0) • Usually do not require a fixed table schema nor do they use the concept of joins (Cont…) The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 5. NoSQL!!!....? • Coined in 1998 by “Carlos Strozzi” to describe a database that did not expose a SQL interface • In 2008, Eric Evans Reintroduced the term to describe the growing non- RDBMS movement • Broadly refers to a set of data stores that do not use SQL or a relational model to store data • Popularized by large web sites such as Google, Facebook, Twitter and Digg etc... The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 6. Why NoSQL..? • Modern relational databases simply do not scale to internet proportions • Sites like Digg,Facebook and Ebay have datasets 10s and 100s of TB large • ACID support isn’t required for blogs, status updates, product listings etc • Reduce Object relational impedance The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 7. Why NoSQL..? • GOOD BAD • Flexible (Schema-less) Immature • Very scalable No common standards • Simple to use and operate Poor transaction support • Eventually consistent Poor query support • Cheap New Mindset required • Suited to web applications The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 8. NoSQL Use Cases • Good Example – Logging data Shopping carts – Favorites Session Data • Stick with RDBMS – Transactions (Orders etc.) LOB applications – Anything involves $$$ Business-critical data – Reporting The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 9. NoSQL Databases • XML (myXMLDB, Tamino, Senda) • Wide Column ( Cassandra, Hbase, Big Table) • Key/Value (Redis, MemCached with BerkelyDB) • Graph (neo4j, InfoGrid) • Document store ( CouchDB, MongoDB) The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 10. Overview On MongoDB • Open source, Document oriented database • 10gen corporate entity behind development • Basics – Document in a MongoDB database are stored in schema-less collections – Documents are stored in BSON (Binary JSON) – JavaScript used to Query and Manipulate collections – Each item in a collection has a unique (primary) key called an “ObjectID” The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 11. SQL to Mongo Mapping Chart SQL term Mongo term Database Databse Table Collection Index Index Row BSON Document Column BSON Field Join Embedding and linking Primary key _id field The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 12. Installing MongoDB on Windows • Download the binaries from “mongodb.org” • Create a directory “C:datadb” • Run “Mongod.exe” from the command line • Run “Mongo.exe” to execute commands The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 13. SQL statement Mongo statement Create table users ( a Number, b Number) Implicit; can also by done by explicit db.createCollection(”user”) Insert into users values (4,5) db.users.insert ( { a:3, b:5 } ) Select * from users db.users.find() SELECT * FROM users WHERE age=33 db.users.find({age:33}).sort({name:1}) ORDER BY name SELECT a,b FROM users WHERE age=33 db.users.find({age:33}, {a:1,b:1}) SELECT * FROM users WHERE name LIKE db.users.find({name:/Joe/}) "%Joe%" SELECT * FROM users WHERE name LIKE db.users.find({name:/^Joe/}) "Joe%" SELECT * FROM users WHERE age>33 AND db.users.find({'age':{$gt:33,$lte:40}}) age<=40 The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 14. MongoDB The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 15. For further reference • http://try.mongodb.org/ - Try Commands • http://nosql-database.org/ • http://www.mongodb.org/ • http://github.com/mongodb/mongo-csharp-driver/downloads. The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 16. Thank You The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services

Editor's Notes

  • #4: Need to keep message tight so….??