SlideShare une entreprise Scribd logo
1  sur  16
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

Contenu connexe

Tendances

Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a TimeWebinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a TimeMongoDB
 
Making the Conceptual Layer Real via HTTP based Linked Data
Making the Conceptual Layer Real via HTTP based Linked DataMaking the Conceptual Layer Real via HTTP based Linked Data
Making the Conceptual Layer Real via HTTP based Linked DataKingsley Uyi Idehen
 
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?MongoDB
 
DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!dclsocialmedia
 
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for KeysManaging Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keysdclsocialmedia
 
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And When
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And WhentranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And When
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And WhenDavid Peyruc
 
How to deliver a Single View in Financial Services
 How to deliver a Single View in Financial Services How to deliver a Single View in Financial Services
How to deliver a Single View in Financial ServicesMongoDB
 
New sap bo 4.0 course content
New sap bo 4.0 course contentNew sap bo 4.0 course content
New sap bo 4.0 course contentsaritha4training
 
Share point 2010 why should you care to invest
Share point 2010   why should you care to investShare point 2010   why should you care to invest
Share point 2010 why should you care to investOptimus BT
 

Tendances (12)

Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a TimeWebinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
 
Making the Conceptual Layer Real via HTTP based Linked Data
Making the Conceptual Layer Real via HTTP based Linked DataMaking the Conceptual Layer Real via HTTP based Linked Data
Making the Conceptual Layer Real via HTTP based Linked Data
 
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?
MongoDB Evenings Minneapolis: MongoDB is Cool But When Should I Use It?
 
DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!
 
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for KeysManaging Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
 
Odi ireland rittman
Odi ireland rittmanOdi ireland rittman
Odi ireland rittman
 
Highlights from SharePoint Conference 2011
Highlights from SharePoint Conference 2011Highlights from SharePoint Conference 2011
Highlights from SharePoint Conference 2011
 
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And When
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And WhentranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And When
tranSMART Community Meeting 5-7 Nov 13 - Session 2: MongoDB: What, Why And When
 
How to deliver a Single View in Financial Services
 How to deliver a Single View in Financial Services How to deliver a Single View in Financial Services
How to deliver a Single View in Financial Services
 
New sap bo 4.0 course content
New sap bo 4.0 course contentNew sap bo 4.0 course content
New sap bo 4.0 course content
 
Great Scott! Dealing with New Datatypes
Great Scott! Dealing with New DatatypesGreat Scott! Dealing with New Datatypes
Great Scott! Dealing with New Datatypes
 
Share point 2010 why should you care to invest
Share point 2010   why should you care to investShare point 2010   why should you care to invest
Share point 2010 why should you care to invest
 

Similaire à NoSQL with Mongodb

Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDB
 Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDB Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDB
Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDBMongoDB
 
Migrating from RDBMS to MongoDB
Migrating from RDBMS to MongoDBMigrating from RDBMS to MongoDB
Migrating from RDBMS to MongoDBMongoDB
 
Webinar: When to Use MongoDB
Webinar: When to Use MongoDBWebinar: When to Use MongoDB
Webinar: When to Use MongoDBMongoDB
 
Why Organizations are Looking at Alternative Database Technologies – Introduc...
Why Organizations are Looking at Alternative Database Technologies – Introduc...Why Organizations are Looking at Alternative Database Technologies – Introduc...
Why Organizations are Looking at Alternative Database Technologies – Introduc...DATAVERSITY
 
Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications Tugdual Grall
 
GraphTalks Rome - Selecting the right Technology
GraphTalks Rome - Selecting the right TechnologyGraphTalks Rome - Selecting the right Technology
GraphTalks Rome - Selecting the right TechnologyNeo4j
 
Welcome to MongoDB Tokyo 2012
Welcome to MongoDB Tokyo 2012Welcome to MongoDB Tokyo 2012
Welcome to MongoDB Tokyo 2012MongoDB
 
How to Survive as a Data Architect in a Polyglot Database World
How to Survive as a Data Architect in a Polyglot Database WorldHow to Survive as a Data Architect in a Polyglot Database World
How to Survive as a Data Architect in a Polyglot Database WorldKaren Lopez
 
L’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazioneL’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazioneMongoDB
 
Mongodb open source_high_performance_database
Mongodb open source_high_performance_databaseMongodb open source_high_performance_database
Mongodb open source_high_performance_databaseMurat Çakal
 
Mongodb open data day 2014
Mongodb open data day 2014Mongodb open data day 2014
Mongodb open data day 2014David Green
 
Introducción a NoSQL
Introducción a NoSQLIntroducción a NoSQL
Introducción a NoSQLMongoDB
 
MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017MongoDB
 
DAS Slides: Data Architect vs. Data Engineer vs. Data Modeler
DAS Slides: Data Architect vs. Data Engineer vs. Data ModelerDAS Slides: Data Architect vs. Data Engineer vs. Data Modeler
DAS Slides: Data Architect vs. Data Engineer vs. Data ModelerDATAVERSITY
 
Framing the Argument: How to Scale Faster with NoSQL
Framing the Argument: How to Scale Faster with NoSQLFraming the Argument: How to Scale Faster with NoSQL
Framing the Argument: How to Scale Faster with NoSQLInside Analysis
 
MongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB
 
Introduction to MongoDB Basics from SQL to NoSQL
Introduction to MongoDB Basics from SQL to NoSQLIntroduction to MongoDB Basics from SQL to NoSQL
Introduction to MongoDB Basics from SQL to NoSQLMayur Patil
 

Similaire à NoSQL with Mongodb (20)

Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDB
 Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDB Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDB
Webinar: “ditch Oracle NOW”: Best Practices for Migrating to MongoDB
 
Migrating from RDBMS to MongoDB
Migrating from RDBMS to MongoDBMigrating from RDBMS to MongoDB
Migrating from RDBMS to MongoDB
 
Webinar: When to Use MongoDB
Webinar: When to Use MongoDBWebinar: When to Use MongoDB
Webinar: When to Use MongoDB
 
Mongo DB
Mongo DB Mongo DB
Mongo DB
 
Why Organizations are Looking at Alternative Database Technologies – Introduc...
Why Organizations are Looking at Alternative Database Technologies – Introduc...Why Organizations are Looking at Alternative Database Technologies – Introduc...
Why Organizations are Looking at Alternative Database Technologies – Introduc...
 
Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications Enabling Telco to Build and Run Modern Applications
Enabling Telco to Build and Run Modern Applications
 
GraphTalks Rome - Selecting the right Technology
GraphTalks Rome - Selecting the right TechnologyGraphTalks Rome - Selecting the right Technology
GraphTalks Rome - Selecting the right Technology
 
Welcome to MongoDB Tokyo 2012
Welcome to MongoDB Tokyo 2012Welcome to MongoDB Tokyo 2012
Welcome to MongoDB Tokyo 2012
 
How to Survive as a Data Architect in a Polyglot Database World
How to Survive as a Data Architect in a Polyglot Database WorldHow to Survive as a Data Architect in a Polyglot Database World
How to Survive as a Data Architect in a Polyglot Database World
 
L’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazioneL’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazione
 
Mongodb open source_high_performance_database
Mongodb open source_high_performance_databaseMongodb open source_high_performance_database
Mongodb open source_high_performance_database
 
Mongodb open data day 2014
Mongodb open data day 2014Mongodb open data day 2014
Mongodb open data day 2014
 
Introducción a NoSQL
Introducción a NoSQLIntroducción a NoSQL
Introducción a NoSQL
 
MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017MongoDB Evening Austin, TX 2017
MongoDB Evening Austin, TX 2017
 
DAS Slides: Data Architect vs. Data Engineer vs. Data Modeler
DAS Slides: Data Architect vs. Data Engineer vs. Data ModelerDAS Slides: Data Architect vs. Data Engineer vs. Data Modeler
DAS Slides: Data Architect vs. Data Engineer vs. Data Modeler
 
Framing the Argument: How to Scale Faster with NoSQL
Framing the Argument: How to Scale Faster with NoSQLFraming the Argument: How to Scale Faster with NoSQL
Framing the Argument: How to Scale Faster with NoSQL
 
MongoDB Basics
MongoDB BasicsMongoDB Basics
MongoDB Basics
 
MongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB Tick Data Presentation
MongoDB Tick Data Presentation
 
Online MongoDB Training by Easylearning.guru
Online MongoDB Training by Easylearning.guruOnline MongoDB Training by Easylearning.guru
Online MongoDB Training by Easylearning.guru
 
Introduction to MongoDB Basics from SQL to NoSQL
Introduction to MongoDB Basics from SQL to NoSQLIntroduction to MongoDB Basics from SQL to NoSQL
Introduction to MongoDB Basics from SQL to NoSQL
 

Dernier

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

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 Nagaraja.s@neudesic.com 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

Notes de l'éditeur

  1. Need to keep message tight so….??