Abstract

The most famous NoSQL document-oriented databases namely CouchDB and MongoDB have been discussed in this paper. CAP theorem is being discussed for MongoDB and CouchDB. Map-Reduce is a parallel and distributive programming paradigm for processing bulk amount of heterogeneous and unstructured data on clusters of computers. Map-Reduce operation has been implemented in MongoDB and CouchDB. MongoDB uses map-reduce to perform aggregation. CouchDB uses map-reduce for querying and implementing views. The paper also presents major differences and use cases of both the databases. It is found that MongoDB is better-suited document-oriented database for today's web applications than CouchDB.

Highlights

  • NoSQL is the term used to express data stores that do not follow the relational model and do not use SQL (Structured Query Language) as the data query language

  • The CAP theorem states that little bit inconsistencies are tolerable by distributed databases where partitions are allowed [2]

  • The main databases that fall in the category of document oriented databases are CouchDB and MongoDB

Read more

Summary

INTRODUCTION

NoSQL is the term used to express data stores that do not follow the relational model and do not use SQL (Structured Query Language) as the data query language. Custom Java Script functions are used by MongoDB "mapReduce" command to perform the map, reduce and finalize operations. These functions provide immense flexibility but they are very complex. A JavaScript function that “reduces” to a single object all the values associated with a particular key Finalize It follows the reduce method and modifies the output. We can either output to a collection or return the result inline It specifies the selection criteria using query operators for determining the documents input to the map function. The above example shows the use of map-reduce functions in MongoDB to get aggregated results

MAP-REDUCE IN COUCHDB
Query Method Replication
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.