mongodb jump start

Post on 13-May-2015

702 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

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

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

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

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

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

NoSQL DatabasesLi fe M

ic hae l .c o

mC

ost

Administration

Simple Difficult

Hig

hLo

w NoSQLDatabases

RelationalDatabases

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

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

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

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

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

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

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

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

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

top related