MongoDB is most popular database now days in software and web development. MongoDB (from “humongous”) is a scalable, high-performance, open source NoSQL database. This is Written in C++ languages.In this tutorial we will discuss features of mongoDB comparison between MongoDB vs CouchDB and MySQL.
Checkout other Recommended Tutorials,
CouchDB | MongoDB | MySQL | |
---|---|---|---|
Data Model | Document-Oriented ( JSON) | Document-Oriented BSON) | Relational |
Data Types | string,number,boolean,array,object | string, int, double, boolean, date, bytearray, object, array, others | link |
Large Objects (Files) | Yes (attachments) | Yes (GridFS) | Blobs |
Horizontal partitioning scheme | CouchDB Lounge | Auto-sharding | Partitioning |
Replication | Master-master (with developer supplied conflict resolution) | Master-slave and replica sets | Master-slave, multi-master, and circular replication |
Object(row) Storage | One large repository | Collection-based | Table-based |
Query Method | Map/reduce of javascript functions to lazily build an index per query | Dynamic; object-based query language | Dynamic; SQL |
Secondary Indexes | Yes | Yes | Yes |
Atomicity | Single document | Single document | Yes – advanced |
Interface | REST | Native drivers; REST add-on | Native drivers |
Server-side batch data manipulation | ? | Map/Reduce, server-side javascript | Yes (SQL) |
Written in | Erlang | C++ | C++ |
Concurrency Control | MVCC | Update in Place | |
Geospatial Indexes | GeoCouch | Yes | Spatial extensions |
Distributed Consistency Model | Eventually consistent (master-master replication with versioning and version reconciliation) | Strong consistency. Eventually consistent reads from secondaries are available. | Strong consistency. Eventually consistent reads from secondaries are available. |
This tutorial helps integrate a PHP SDK with Laravel. We'll install aws-php-sdk into laravel application and access all aws services… Read More
in this quick PHP tutorial, We'll discuss php_eol with examples. PHP_EOL is a predefined constant in PHP and represents an… Read More
This Laravel tutorial helps to understand table Relationships using Elequonte ORM. We'll explore laravel table Relationships usage and best practices… Read More
We'll explore different join methods of Laravel eloquent with examples. The join helps to fetch the data from multiple database… Read More
in this Laravel tutorial, We'll explore valet, which is a development environment for macOS minimalists. It's a lightweight Laravel development… Read More
I'll go through how to use soft delete in Laravel 10 in this post. The soft deletes are a method… Read More
View Comments
thanks, nice share.