A large part of the data is handled by a relational database management system (RDBMS). The 1970 E.f.codd's paper "A Relational model of data for large shared data banks", which makes data modeling and application programming easier. The application proves that the relational model is well suited to client server programming, far exceeding the expected benefits, and today it is the leading technology for structured data storage in network and business applications. NoSQL is a new revolutionary movement in the database, and early on, there was a growing trend in the 2009. NoSQL advocates are advocating the use of non-relational data storage , which is undoubtedly a new kind of thinking injection, relative to the overwhelming use of relational databases.
Distributed Systems (Distributed System) consist of multiple computers and software components that communicate through a computer network connection (local network or WAN). Distributed system is a software system built on the network. Because of the nature of the software , distributed systems are highly cohesive and transparent.
What is MongoDB?
MongoDB is written by the C + + language and is an open source database system based on Distributed file storage. MongoDB stores data as a document and data structures consist of key-value (key=>value) pairs. A MongoDB document is similar to a JSON object. Field values can contain other documents, arrays, and array of documents.
Key Features
- MongoDB is a document-oriented database that is simple and easy to operate.
- You can set the index of any property in the MongoDB record (for example: Firstname= "Sameer", address= "8 Gandhi Road") for faster sorting.
- You can create data mirroring either locally or on the network, which makes MongoDB more extensible.
- If the load increases (requiring more storage space and greater processing power), it can be distributed across other nodes in the computer network which is called a shard.
- The MONGO supports rich query expressions . Query directives use a JSON-style tag to easily query objects and arrays embedded in the document.
- MongoDb uses the update () command to implement a replacement of the completed document (data) or some specified data fields.
- The map/reduce in MongoDB is primarily used for batch processing and aggregation of data.
- Map and reduce. The map function calls emit (Key,value) to traverse all records in the collection, passing key and value to the reduce function for processing.
- The map function and the reduce function are written in JavaScript and can be executed with the Db.runcommand or MapReduce command.
- Gridfs is a built-in feature in MongoDB that can be used to store a large number of small files.
- MongoDB allows you to execute scripts on the server, write a function in JavaScript, execute directly on the server, or store the definition of the function on the server, next time you call it directly.
- MongoDB supports a variety of programming languages: ruby,python,java,c++,php,c# and many more languages.
- MongoDB Easy to install
Nosql--not Onlysql is more than just SQL