SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

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
 

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

Semelhante a 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
 

Semelhante a 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
 

Último

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Último (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

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

Notas do Editor

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