Create entry

PostgreSQL vs. MongoDB

PostgreSQL MongoDB + Add column
Category
Preference 58% votes 42% votes
Website postgresql.​org www.​mongodb.​org
License
Design
Database model
Data storage
Embeddable No No
Features
Query language
Data types
Conditional entry updates Yes Yes
Map and reduce No Yes
Unicode Yes Yes
TTL for entries Yes Yes
Compression Yes Yes
Integrity
Integrity model
Atomicity Yes Conditional
Consistency Yes Yes
Isolation Yes Yes
Durability (data storage) Yes Yes
Transactions Yes No
Referential integrity Yes No
Revision control Yes Yes
Locking model
Indexing
Secondary Indexes Yes Yes
Composite keys Yes Yes
Full text search Yes Yes
Geospatial Indexes Yes Yes
Graph support Conditional No
Distribution
Horizontal scalable Yes Yes
Replication Yes Yes
Replication mode
Sharding Yes Yes
Shared nothing architecture ? Yes
Restrictions
Value size max. 1 GB 16 MB
System requirements
Operating system
Native driver
Memory minimum 32 MB ?
Architecture
Programming language
More
Description Object-Relational Database Management System Document Oriented Database
Brand ?
Multi-user system Yes Yes
Extension/Plug-in Yes Yes
Database
Multilingual content Yes Yes
Price rating ★★★★★ ★★★★★
WYSIWYG-Editor Yes Yes
Multiple projects Yes ?
Standard compliance Yes No
Software distribution
Object-Relational Mapping (ORM) Yes Yes
Release Date May 1995 March 2009
Documentation level ★★★★★ ★★★★★
RESTful Yes Conditional
Lines of code 839 k 617 k
Free to use Yes Yes
Active Yes Yes
Database Connection Pooling Yes Yes
Real time analytics Yes Yes
Community Driven Good Good
Web interface Yes Yes
Data encryption Yes Yes
API Good Basic
XML Aware Good ?
Color ?
Cloud platform support
Online backup Yes Yes
Partial Index Yes Yes
Function Based Index Yes No
Log Yes Yes
Implementation flexibility 75% votes 25% votes
Download www.​postgresql.​org/​download/​ mongodb.​org/​downloads
Level of access authorization ?
Backup functionality Good Good
Query Cache Yes Yes
Ease of use ★★★★★ ★★★★★
In-Place Update Yes Yes
Free for commercial use Yes Yes
Sorts Yes Yes
Tuneable write concerns Yes Yes
Read preferences Yes Yes
Open Source Yes Yes
Op/s 1 000 005 ?
XQuery Support Yes ?
Triggers Yes No
Server side custom code Yes ?
Perfomance ★★★★★ ★★★★☆
Cloud-enabled Yes Yes
Minimal memory footprint 32 MB ?
Multivariate Testing Yes ?
Materialized Views Yes No
Pipeline Aggregation Yes Yes
Spring Data Support Yes Yes
Geospatial Yes Yes
Text Analytics Yes ?
Server Side Java Script Yes Yes
HTML5 Charts No ?
JSON Yes Yes
Flexible Table(Schema) Yes ?
Geo-distributed Yes Yes
Batch Loading Yes ?
ORM Join Support Yes No
Fully Distributed Yes Yes
Stored Procedure Yes No
Concurrency Yes ?
Auto-Sharding No Yes
Contributors 21 ?
24/7 support Yes No
Free edition Yes Yes
SQL Queries Yes ?
User and Group role based security model Yes ?
3D Support No ?
Monitoring UI Yes Yes
Recursive queries Yes ?
Network datatype Yes No
Windowed aggregate Yes ?
Online backup (no locking) Yes ?
CLI` Yes Yes
:( No ?
; drop table users; No ?
Point In Time Recovery Yes No
Can help Modi to make New India ? Yes ?
Admin Generator ? Yes
Key length max ? 1 024
Capped Collections ? Yes
Pause Test ? Yes
Cross Domain Testing ? No
Max rows in query result ? 1 000
Re-Reduce ? Yes
Clustering over WAN ? No
Multi-statement Transactions ? No
memcached protocol ? No
Does your mom understand it ? No
+ Add row ++
PostgreSQL MongoDB
  • 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