PostgreSQL vs. MongoDB vs. Cassandra

Get help choosing one of these Get news updates about these tools


Favorites

405

Favorites

427

Favorites

59

Hacker News, Reddit, Stack Overflow Stats

  • 8.36K
  • 8.07K
  • 92.2K
  • 623
  • 650
  • 106K
  • -
  • 30
  • 15.3K

GitHub Stats

Description

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.

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

Ask a Question

Pros

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?

    Cons

    What are the cons of using PostgreSQL?
    No Cons submitted yet for PostgreSQL
    Downsides of PostgreSQL?

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

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

    Pricing

    How much does PostgreSQL cost?
    How much does MongoDB cost?
    MongoDB Pricing
    How much does Cassandra cost?

    Companies

    What companies use PostgreSQL?
    2248 companies on StackShare use PostgreSQL
    What companies use MongoDB?
    1869 companies on StackShare use MongoDB
    What companies use Cassandra?
    295 companies on StackShare use Cassandra

    Integrations

    What tools integrate with PostgreSQL?
    88 tools on StackShare integrate with PostgreSQL
    What tools integrate with MongoDB?
    41 tools on StackShare integrate with MongoDB
    What tools integrate with Cassandra?
    17 tools on StackShare integrate with Cassandra

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

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

    See all alternatives to PostgreSQL

    Latest News

    PostgreSQL rocks, except when it blocks: Understandi...
    9.5.11
    9.6.7
    Sharded replica sets - MySQL and MongoDB
    This Week in Data with Colin Charles 28: Percona Liv...
    Performing a Live Migration from a MongoDB Cluster t...
    Cassandra Load Testing with Groovy
    Using Instaclustr and Cassandra with Kong
    Cassandra Query Language


    Interest Over Time


    Get help choosing one of these