4. Types of NoSql
Document databases Similar to Key/Value but with a
major difference that value is a document. Inspired by Lotus
Notes. Example Couch DB, Mongo DB
Graph stores are used to store information about networks,
such as social connections. Graph stores include Neo4J and
HyperGraphDB.
Key-value stores are the simplest NoSQL databases. Every
single item in the database is stored as an attribute name (or
"key"), together with its value. Examples are Riak and
Voldemort.
Wide-column stores such as Cassandra and HBase are
optimized for queries over large datasets, and store columns
of data together, instead of rows. Example Hadoop/ Hbase,
Cassnadra, Level DB (from Google), BigTable
5. Why #nosql
Dynamic Schema
Large columns of structured, semi structured data
and unstructured data
Efficient scale out architecture (Sharding)
Helps in Agile development
6. SQL Databases No SQL Database
Example Oracle , mysql Mondo DB,
CouchDB, Neo4J
Storage
Model
Rows and tables Key-value. Data
stored as single
document in JSON,
XML
Schemas Static Dynamic
Scaling Vertical &
Horizontal
Horizontal
Transactions Yes Certain levels
Data
Manipulation
Select, Insert ,
Update
Through Object
Oriented API’s
Differences
7. MongoDB
It is type of Document database
Written in C++
Development started in 2007
Commercial supported and developed by 10Gen
Supports multiple types of indexing
In built Sharding
8. What is Sharding
Sharding is the process of storing data records across
multiple machines a.k.a Horizontal Scaling