Document Oriented NoSQL Databases: A comparison of performance in MongoDB and CouchDB using a Python interface
2011 (English)Independent thesis Basic level (degree of Bachelor)
Student thesisAlternative title
Dokumentorienterade NoSQL-databaser : En jämförelse av prestanda i MongoDB och CouchDB vid användning av ett Pythongränssnitt (Swedish)
Abstract [en]
For quite some time relational databases, such as MySQL, Oracle and Microsoft SQL Server, have been used to store data for most applications. While they are indeed ACID compliant (meaning interrupted database transactions won't result in lost data or similar nasty surprises) and good at avoiding redundancy, they are difficult to scale horizontally (across multiple servers) and can be slow for certain tasks. With the Web growing rapidly, spawning enourmous, user-generated content websites such as Facebook and Twitter, fast databases that can handle huge amounts of data are a must. For this purpose new databases management systems collectively called NoSQL are being developed. This thesis explains NoSQL further and compares the write and retrieval speeds, as well as the space efficiency, of two database management systems from the document oriented branch of NoSQL called MongoDB and CouchDB, which both use the JavaScript Object Notation (JSON) to store their data within. The benchmarkings performed show that MongoDB is quite a lot faster than CouchDB, both when inserting and querying, when used with their respective Python libraries and dynamic queries. MongoDB also is more space efficient than CouchDB.
Place, publisher, year, edition, pages
2011. , p. 44
Keywords [en]
MongoDB, CouchDB, Python, pymongo, couchdb-python, NoSQL, Document database, JSON, DBMS, Database
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-5213Local ID: oai:bth.se:arkivex32737DEE280F07DDC12578B200454A24OAI: oai:DiVA.org:bth-5213DiVA, id: diva2:832580
Uppsok
Technology
Supervisors
2015-04-222011-06-172018-01-11Bibliographically approved