Showing posts with label MongodB. Show all posts
Showing posts with label MongodB. Show all posts

Wednesday, 2 September 2015

Four Categories of NoSQL DataBases

In this post, we will discuss high-level categories of NoSQL Data Stores.

NoSQL means Not Only SQL Data Stores.

There are mainly four categories of No SQL DataBases or Data Stores:


  1. Key-Value NoSQL Data Stores
  2. Document-based NoSQL Data Stores
  3. Column Family NoSQL Data Stores
  4. Graph NoSQL Data Stores
Key-Value NoSQL Data Stores:

These NoSQL Data Bases store data as Key-Value pair like Map or Hashtable concept.

There are very simple and easy to use NoSQL Data Stores.

Examples:-
Redis, Amazon SimpleDB are Key-Value NoSQL Data Stores.

Document-based NoSQL Data Stores:

These NoSQL Data Bases store data in documents in the form of JSON.
These are very efficient in Querying Data.

Example:-
MongoDB, CouchDB

Column Family NoSQL Data Stores:

These NoSQL Data Bases store data in the form of Columns. These Data Stores are mainly used to store and process very large amounts of data.

These Data Stores support Distributed/ Clustered Storage.

Example:-
Apache Cassandra, HBase

Graph NoSQL Data Stores:

These NoSQL Data Bases store data in the form of graphs. These are very useful to store more connected Data.

Example:-
Neo4J

That's it all about NoSQL Data Stores categories.


Thursday, 26 February 2015

MongoDB 3.0 Features

MongoDB 3.0

MongoDB Version 3.0 is about to release in March 2015. They have added lot of new features to MongoDB database.

MongoDB 3.0 New Features:
  1. Pluggable Storage Engine API
  2. Supports WiredTiger Storage Engine
  3. Increased Number of Replica Sets
  4. Replica Set Step Down Behavior Changes
  5. Enhancements in Sharded Clusters
  6. New Query Introspection System
  7. Enhanced Logging
  8. Query Enhancements
  9. Indexes Enhancements

Pluggable Storage Engine API

MongoDB 3.0 introduces a pluggable storage engine API that allows third parties to develop storage engines for MongoDB.

Increased Number of Replica Sets

MongoDB 3.0 supports upto 50 Replica Set Members.

New Query Introspection System

This new Query Introspection System is used to  provide an improved output format and a finer-grained introspection into both query plan and query execution.

Friday, 30 January 2015

MongoDB Mongoose JS

Mongoose JS

Mongoose is a framework to provide an elegant way to model MongoDB Object for Node JS Platform.

That means we use MongooseJS in MEAN Stack.
MEAN Stands for MongoDB, Express JS, Angular JS and Node JS.

Mongoose official website is http://mongoosejs.com

Mongoose provides a straight-forward, schema-based solution to modeling our application data and includes built-in type casting, validation, query building, business logic hooks and more, out of the box.