MongoDB Jump Start

14
MongoDB Jump Start Haim Michael December 20 th , 2013 All logos, trade marks and brand names used in this presentation belong to the respective owners. You can watch the video clip at http://youtu.be/22qwKc3PVzg . L i f e M i c h a e l . c o m

description

Explaining the differences between relational databases and no-sql ones. Understanding the advantages in using no-sql databases. Overviewing MongoDB, one of the most popular no-sql databases in the world.

Transcript of MongoDB Jump Start

Page 1: MongoDB Jump Start

MongoDB Jump Start

Haim MichaelDecember 20th, 2013

All logos, trade marks and brand names used in this presentation belong to the respective owners.

You can watch the video clip at http://youtu.be/22qwKc3PVzg.

Li fe M

ic hae l .c o

m

Page 2: MongoDB Jump Start

Table of ContentLi fe M

ic hae l .c o

m● NoSQL Databases● MongoDB Database● Document Oriented● Database Scaling ● MongoDB Performance● Simple Administration ● Platform Independent● Learning Resources● Questions & Answers

Page 3: MongoDB Jump Start

NoSQL Databases● "Next Generation Databases mostly addressing some of

the points: being non-relational, distributed, open-source

and horizontally scalable."

www.nosql-databases.org

Li fe M

ic hae l .c o

m

Page 4: MongoDB Jump Start

NoSQL DatabasesLi fe M

ic hae l .c o

mLe

a rni

n g C

urve

Horizontal Scalability

Simple Difficult

Diff

icul

tS

impl

e NoSQLDatabases

RelationalDatabases

Page 5: MongoDB Jump Start

NoSQL DatabasesLi fe M

ic hae l .c o

mC

ost

Administration

Simple Difficult

Hig

hLo

w NoSQLDatabases

RelationalDatabases

Page 6: MongoDB Jump Start

MongoDB Database● MongoDB is a flexible and a scalable document oriented

database that supports most of the useful features

relational databases have.

www.mongodb.org

Li fe M

ic hae l .c o

m

Page 7: MongoDB Jump Start

Document Oriented● The document concept is more flexible comparing with

the row concept we all know from relational databases.

● The document model allows us to represent hierarchical

relationships using a single record.

{"fitstname":"dave","lastname":"levy","children":

{ {"firstname":"dan","lastname":"levy"},

{"firstname":"tal","lastname":"levy"}} }

Li fe M

ic hae l .c o

m

Page 8: MongoDB Jump Start

Document Oriented● The documents are grouped into collections. Each

collection is kind of a table. Each and every database

includes collections. Each collection include documents.

● The documents each collection holds don't need to

follow a specific schema.

Li fe M

ic hae l .c o

m

Page 9: MongoDB Jump Start

Database Scaling● When the amount of data grows there is a need in

scaling up (getting a stronger hardware) our data store

or scaling out (partition the data across several

computers).

● The MongoDB database allows us to split up the data

across multiple servers. MongoDB handles most of this

process automatically.

Li fe M

ic hae l .c o

m

Page 10: MongoDB Jump Start

MongoDB Performance● Unlike many other databases that use heavy protocols

such as HTTP/REST, the MongoDB database uses a

binary wire protocol as its primary mode of interaction with

the server.

● MongoDB was developed in C++ in order to achieve better

performance.

● In order to improve the performance many of the relational

databases popular capabilities were taken away.

Li fe M

ic hae l .c o

m

Page 11: MongoDB Jump Start

Simple Administration● MongoDB administration was simplified as much as

possible.

● The default configuration fits the common scenario. The

learning curve is very simple.

● In most cases the developer can handle the

administration tasks on his own.

Li fe M

ic hae l .c o

m

Page 12: MongoDB Jump Start

Platform Independent● MongoDB is available for the following operating

systems: Windows, MacOS, Linux and Solaris.

● Drivers for writing code that interacts with MongoDB are

available for nearly every programming language,

including Java, PHP, JavaScript and .NET.

Li fe M

ic hae l .c o

m

Page 13: MongoDB Jump Start

Learning Resources● MongoDB official main website is www.mongodb.org.

The website includes detailed documentation for using

MongoDB.

● You can find a detailed online free course for learning

MongoDB at http://abelski.lifemichael.com.

Li fe M

ic hae l .c o

m

Page 14: MongoDB Jump Start

Questions & Answers● Two courses you might find interesting include

Software Engineering in PHP

more info

Android 4.4 Java Applications Development

more info

HTML5 Cross Platform Mobile Applications

more info

● If you enjoyed my lecture please leave me a comment

at http://speakerpedia.com/speakers/life-michael.

Thanks for your time!

Haim.

Li fe M

ic hae l .c o

m