addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Notes on mongoDB, nosql 08292012 meetup

notes on mongodb nosql 0829_2012

Hi guys, I have taken notes on the mongodb,some times the speaker talks really fast, and I cannot take all of them... but I hope it will help those who could not make it to grab some concepts..smile


//Capacity related cloud

MongoDbSchema Design
Justin Dearing jdearing@rms

Power shell/ t-sql/mongoDB

Risk of turnado/Risk Management Solutions
Deploy mongoDB on cloud

About MOngoDB
-runs on LinxWindows,oSx, bsd,etc
-documented based on nosql db.
-shell is javascript
-internal storage format is bson// binary json
-drivers for languages(C#,Node.js,php, python)

mongodb on node.js

Storage terms
-each server has one or more db.
-each db has one or more collections.//collections->table
-each collections has one or more documents

1. key :strings
2.value:scalar....
{
_id:ObjectId(''),//primary key
Name:"",
...
}

Schema Design:
-schema non-design, or importing raw data and using its natural schema.
-slightly modifying the schema.
-using indexes to enforce schema where appropriate.//relational db. mongodb can do table scan.
-e.g of migrating mysql to mongo DB.

//check dataversity

no joins in mongo.

Using our raw data's natural schema
eg.every earth quake past 7 days.


Slightly modifyingthe natural schema
db.CollectionName.findone();


Porting a schema from mysql

There is new schema for mongo.
sparse index.


Other schema design considerations
- capped collections, its a schema thing to
- TTL collections-also a schema
- Denormalizing
- sharding

Tool:
mongoview within windows

Node.js;
Platform, openshift;

Table of Contents

Page title Most recent update Last edited by
Notes on mongoDB, nosql 08292012 meetup August 31, 2012 6:24 PM Linghua J.
About us June 23, 2010 12:48 AM Kenneth N.
About Silicon Valley Web Builder September 4, 2010 4:42 PM Bess H.

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy