Introduction to MongoDB (Version 2)
Upcoming SlideShare
Loading in...5
×
 

Introduction to MongoDB (Version 2)

on

  • 197 views

 

Statistics

Views

Total Views
197
Views on SlideShare
197
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Introduction to MongoDB (Version 2) Introduction to MongoDB (Version 2) Presentation Transcript

  • Developing using MongoDB
  • Why NoSQL? ● Scalability ● Performance ● Availability
  • Choices we have?
  • Database Objects ● ● ● ● Database Collection Document Index
  • Map it! MongoDB SQL Server Database Database Collections Tables Document Row
  • What is the document here? { { _id : 1, _id : 1, name : “Sam Walton”, name : “Sam Walton”, age : 74, age : 74, company : company : { [ name : ”walmart” “Walmart”,”Walton Five” } ] } } In MongoDB we use JSON to represent our data. Document is more like a record in Relational Databases.
  • Data Type ObjectID - 12bytes Number String Boolean Date/Time null
  • Designing Denormalizing is ok? Foreign keys? NO Then How? Is it same for all NoSQL databases?
  • DEMO
  • Indexing Can I create Secondary indexes? Lots of indexes ? NO? Full text search ?
  • Security ● Schema Injection ● Authentication ● SSL? ● Encryption?
  • What else? Write Concern SlaveOk journaling Sharding
  • Q&A