Skip to main content

Posts

Showing posts from July, 2017

Introduction to NoSQL(MONGODB)

Mongo DB is a document oriented database. It is an open source product, developed and supported by a company named 10gen what was the need of MongoDB although there were many databases in action?   Relational Databases have failed in solving some of the complex modern problems like :- Continuosly changing nature of data - structured, semi-structured, unstructured and polymorphic data. Applications now serve millions of users in different geo-locations, in different timezones and have to be up and running all the time, with data integrity maintained Applications are becoming more distributed with many moving towards cloud computing. What is Structured Data? Structured data is usually text files, with defined column titles and data in rows. Such data can easily be visualized in form of charts and can be processed using data mining tools. What is Unstructured Data? Unstructured data can be anything like video file, image file, PDF, Emails etc. What does these fi...

MongoDB - NoSQL Database

  MongoDB - NoSQL Database MongoDB is a NoSQL database written in C++ language. Some of its drivers use the C programming language as the base. MongoDB is a document oriented database where it stores data in collections instead of tables . The best part of MongoDB is that the drivers are available for almost all the popular programming languages What is Document based storage? A Document is nothing but a data structure with name-value pairs like in JSON. Also, excessive JOINS can be avoided by saving data in form of Arrays and Documents(Embedded) inside a Document. For example : Student object has attributes name , rollno and subjects , where subjects is a List. Document for Student in MongoDB will be like : { name : "Ashish Singh", rollno : 7011, subjects : ["C Language", "C++", "Core Java"] }   History of MongoDB MongoDB was developed by Eliot Horowitz and Dwight Merriman in the year 2007 , when they experienced some...