Create entry

MongoDB vs. MySQL vs. SQLite

MongoDB MySQL SQLite
Category
Preference 28% votes 30% votes 42% votes
Website www.​mongodb.​com www.​mysql.​com sqlite.​org
License
Design
Database model
Data storage
Embeddable Yes Yes Yes
Features
Query language
Data types ?
Conditional entry updates Yes Yes Yes
Map and reduce Yes No No
Unicode Yes Yes Yes
TTL for entries Yes No ?
Compression No Yes Yes
Integrity
Integrity model
Atomicity Conditional Yes Yes
Consistency Yes Yes Yes
Isolation Yes Yes Yes
Durability (data storage) Yes Yes Yes
Transactions No Yes Yes
Referential integrity No Yes Yes
Revision control No Yes ?
Locking model ?
Indexing
Secondary Indexes Yes Yes Yes
Composite keys Yes Yes Yes
Full text search Yes Yes Yes
Geospatial Indexes Yes Yes Yes
Graph support No No ?
Distribution
Horizontal scalable Yes Yes No
Replication Yes Yes No
Replication mode ?
Sharding Yes Yes No
Shared nothing architecture Yes Yes ?
Restrictions
Value size max. 16 MB 10 B 140 TB
System requirements
Operating system
Native driver ?
Memory minimum ? 11 MB 100 kB
Architecture
Programming language
More
Description Document Oriented Database Relational database system disk/memory storable
Brand
Multi-user system Yes Yes No
Extension/Plug-in Yes Yes ?
Database ?
Price rating ★★★★☆ ★★★★★ ★★★★★
Standard compliance No Yes ?
Software distribution ?
Release Date March 2009 ? ?
Documentation level ★★★★☆ ★★★★☆ ★★★★★
RESTful No ? ?
Lines of code 617 k 1 100 k ?
Free to use Yes Yes Yes
Active Yes Yes Yes
Database Connection Pooling Yes Yes Yes
Real time analytics Yes Conditional ?
Community Driven Basic Good ?
Web interface Yes Yes ?
Cloud platform support ?
Online backup Yes Yes Yes
Function Based Index No No ?
Key length max 255 765 ?
Log Yes Yes ?
Implementation flexibility 38% votes 13% votes (0% global votes)
Download mongodb.​org/​downloads dev.​mysql.​com/​downloads/​ sqlite.​org/​download.​html
Backup functionality Good Good Good
Query Cache Yes Yes Yes
Ease of use ★★★★☆ ★★★★★ ★★★★★
In-Place Update Yes Yes ?
Free for commercial use Yes Yes Yes
Sorts Yes Yes ?
Capped Collections Yes ? ?
Tuneable write concerns Yes Yes ?
Read preferences Yes ? ?
Open Source Yes Yes Yes
Triggers No Yes ?
Perfomance ★★★★☆ ★★★★☆ ★★★★★
Pause Test Yes ? ?
Cross Domain Testing No ? ?
Pipeline Aggregation Yes Yes ?
Spring Data Support Yes Yes ?
Geospatial Yes Yes Yes
Server Side Java Script Yes No ?
JSON Yes Yes ?
Flexible Table(Schema) Yes No ?
Geo-distributed Yes ? ?
Max rows in query result 1 000 ? ?
Re-Reduce No ? ?
Clustering over WAN Yes ? ?
Stored Procedure Yes Yes ?
Yes ? ?
Multilingual content ? Yes ?
WYSIWYG-Editor ? No ?
Object-Relational Mapping (ORM) ? Yes ?
Partial Index ? No ?
Multivariate Testing ? No ?
Text Analytics ? Yes Yes
ACID ? ? Yes
Framework ? ?
Master-Master Replication ? ? No
+ Add row +++
MongoDB MySQL SQLite
  • vsChart is like a wiki

    Just click a data cell to edit it.
    Take part and share your knowledge with the world.

  • blue
    = good
    darker
    = better
    Legend
  • Embed it on your site
  • Copy & Share
  • Creative Commons License License
  • EnglishGerman (Deutsch)

Write a review or comment

Please login (with Facebook, Twitter or OpenID) to use this form.

Type
Review
Comment