CockroachDB vs MySQL vs PostgreSQL

Need advice about which tool to choose?Ask the StackShare community!

CockroachDB

205
328
+ 1
0
MySQL

122.4K
103.4K
+ 1
3.7K
PostgreSQL

95.7K
80.1K
+ 1
3.5K
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CockroachDB
Pros of MySQL
Pros of PostgreSQL
    Be the first to leave a pro
    • 800
      Sql
    • 679
      Free
    • 562
      Easy
    • 528
      Widely used
    • 489
      Open source
    • 180
      High availability
    • 160
      Cross-platform support
    • 104
      Great community
    • 78
      Secure
    • 75
      Full-text indexing and searching
    • 25
      Fast, open, available
    • 16
      SSL support
    • 15
      Reliable
    • 14
      Robust
    • 8
      Enterprise Version
    • 7
      Easy to set up on all platforms
    • 2
      NoSQL access to JSON data type
    • 1
      Relational database
    • 1
      Easy, light, scalable
    • 1
      Sequel Pro (best SQL GUI)
    • 1
      Replica Support
    • 762
      Relational database
    • 510
      High availability
    • 439
      Enterprise class database
    • 383
      Sql
    • 304
      Sql + nosql
    • 173
      Great community
    • 147
      Easy to setup
    • 131
      Heroku
    • 130
      Secure by default
    • 113
      Postgis
    • 50
      Supports Key-Value
    • 48
      Great JSON support
    • 34
      Cross platform
    • 32
      Extensible
    • 28
      Replication
    • 26
      Triggers
    • 23
      Rollback
    • 22
      Multiversion concurrency control
    • 21
      Open source
    • 18
      Heroku Add-on
    • 17
      Stable, Simple and Good Performance
    • 15
      Powerful
    • 13
      Lets be serious, what other SQL DB would you go for?
    • 11
      Good documentation
    • 8
      Intelligent optimizer
    • 8
      Free
    • 8
      Scalable
    • 8
      Reliable
    • 7
      Transactional DDL
    • 7
      Modern
    • 6
      One stop solution for all things sql no matter the os
    • 5
      Relational database with MVCC
    • 5
      Faster Development
    • 4
      Developer friendly
    • 4
      Full-Text Search
    • 3
      Free version
    • 3
      Great DB for Transactional system or Application
    • 3
      Relational datanbase
    • 3
      search
    • 3
      Open-source
    • 3
      Excellent source code
    • 2
      Full-text
    • 2
      Text
    • 0
      Native

    Sign up to add or upvote prosMake informed product decisions

    Cons of CockroachDB
    Cons of MySQL
    Cons of PostgreSQL
      Be the first to leave a con
      • 16
        Owned by a company with their own agenda
      • 3
        Can't roll back schema changes
      • 10
        Table/index bloatings

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is CockroachDB?

      CockroachDB is distributed SQL database that can be deployed in serverless, dedicated, or on-prem. Elastic scale, multi-active availability for resilience, and low latency performance.

      What is MySQL?

      The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.

      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.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use CockroachDB?
      What companies use MySQL?
      What companies use PostgreSQL?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with CockroachDB?
      What tools integrate with MySQL?
      What tools integrate with PostgreSQL?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      Dec 22 2021 at 5:41AM

      Pinterest

      MySQLKafkaDruid+3
      3
      570
      Dec 8 2020 at 5:50PM

      DigitalOcean

      GitHubMySQLPostgreSQL+11
      2
      2356
      MySQLKafkaApache Spark+6
      2
      2004
      Nov 20 2019 at 3:38AM

      OneSignal

      PostgreSQLRedisRuby+8
      9
      4641
      Jul 9 2019 at 7:22PM

      Blue Medora

      DockerPostgreSQLNew Relic+8
      11
      2337
      What are some alternatives to CockroachDB, MySQL, and PostgreSQL?
      Oracle
      Oracle Database is an RDBMS. An RDBMS that implements object-oriented features such as user-defined types, inheritance, and polymorphism is called an object-relational database management system (ORDBMS). Oracle Database has extended the relational model to an object-relational model, making it possible to store complex business models in a relational database.
      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.
      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.
      FoundationDB
      FoundationDB is a NoSQL database with a shared nothing architecture. Designed around a "core" ordered key-value database, additional features and data models are supplied in layers. The key-value database, as well as all layers, supports full, cross-key and cross-server ACID transactions.
      MariaDB
      Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
      See all alternatives