PostgreSQL vs. MongoDB vs. Cassandra

  • 8.36K
  • 8.58K
  • 98.9K
  • 623
  • 719
  • 113K
  • -
  • 32
  • 15.9K

What is PostgreSQL?

PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.

What is MongoDB?

MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.

What is Cassandra?

Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.
Why do developers choose PostgreSQL?
Why do you like PostgreSQL?

Why do developers choose MongoDB?
Why do you like MongoDB?

Why do developers choose Cassandra?
Why do you like Cassandra?

What are the cons of using PostgreSQL?
Downsides of PostgreSQL?

What are the cons of using MongoDB?
Downsides of MongoDB?

What are the cons of using Cassandra?
Downsides of Cassandra?

Want advice about which of these to choose?Ask the StackShare community!

How much does PostgreSQL cost?
How much does MongoDB cost?
MongoDB Pricing
How much does Cassandra cost?
What companies use PostgreSQL?
3365 companies on StackShare use PostgreSQL
What companies use MongoDB?
2755 companies on StackShare use MongoDB
What companies use Cassandra?
398 companies on StackShare use Cassandra
What tools integrate with PostgreSQL?
94 tools on StackShare integrate with PostgreSQL
What tools integrate with MongoDB?
45 tools on StackShare integrate with MongoDB
What tools integrate with Cassandra?
23 tools on StackShare integrate with Cassandra

What are some alternatives to PostgreSQL, MongoDB, and Cassandra?

  • MySQL - The world's most popular open source database
  • MariaDB - An enhanced, drop-in replacement for MySQL
  • Microsoft SQL Server - A relational database management system developed by Microsoft
  • SQLite - A software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine

See all alternatives to PostgreSQL

MongoDB’s Official Brew Tap Now Open And Flowing
MongoDB and Realm make it easy to work with data, t...
T-8: The First Look At The MongoDB World 2019 Talks
Cassandra Load Testing with Groovy
Using Instaclustr and Cassandra with Kong
Cassandra Query Language

Interest Over Time