0
Bigdata MongoDB NoSQL Odata Rest API

MongoDB Getting Started

Introduction

MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling. A record in MongoDB is a document, which is a data structure composed of field and value pairs. MongoDB documents are similar to JSON objects. The values of fields may include other documents, arrays, and arrays of documents.

Why MongoDB Over RDBMS?
MongoDB holds Document-oriented storage where Data is processed in the package of JSON styled documents.

Moreover, the index could be allocated on any attribute. It ensures instant availability and could make enormous replicas. It could be auto-shared and have rich queries.

Above all, the user could get professional support from MongoDB.
High Performance
MongoDB provides high performance data persistence. In particular
Support for embedded data models reduces I/O activity on database system.

Indexes support faster queries and can include keys from embedded documents and arrays.

With same hardware specification, MongoDB can operate faster than RDBMS database. Response time reduce very significant event I’m using ORM base frameworks.

Rich Query Language

I’m done a lot of queries for MongoDB database from programming language. It’s all depend on algorithm in programming language itself and customizable. It’s a little different than using Stored Procedure or Function on RDMS that will eat a lot of hardware resources.

MongoDB supports a rich query language to support read and write operations as well as:

Data aggregation, Text search and Geospatial Queries

High Availability
Automatic failover
Data redundancy

A replica set is a group of MongoDB servers that maintain the same data set, providing redundancy and increasing data availability.

Horizontal Scalability

MongoDB provides horizontal scalability as part of its core functionality:
Sharding distributes data across a cluster of machines.
Sharding allows for directing data to specific shards, such as to take into consideration geographic distribution of the shards.
Support for Multiple Storage Engine

MongoDB supports multiple storage engines:

Install MongoDB:

  1. Download from here

 

mongodb-win32-x86_64-2008plus-ssl-4.0.5-signed.msi(for me I have downloaded)

Run the code

Its there

Run MongoDB

On connection screen we can edit the settings and port

 

2. Connect

 

3. Here we have db set

 

 

 

On any particular record we can Add update delete the record using context t menu as below

4.

 

Built-in functionality .

In the command pane use db.(dot) list of built in functions would be available for use

5.

 

 

References: MongoDB

You Might Also Like...

No Comments

    Leave a Reply