cockroach VS InfluxDB

Compare cockroach vs InfluxDB and see what are their differences.


CockroachDB - the open source, cloud-native distributed SQL database. (by cockroachdb)


Scalable datastore for metrics, events, and real-time analytics (by influxdata)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
cockroach InfluxDB
29 11
23,138 22,740
2.6% 1.2%
10.0 9.6
3 days ago 3 days ago
Go Go
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of cockroach. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-28.
  • CockroachDB & GKE: AUTH=implicit Backups
    1 project | | 19 Jan 2022
    Let’s look at taking backups on a CockroachDB cluster running on Google Kubernetes Engine. For this discussion we are assuming that you have a functioning GKE environment and have installed CockroachDB using a statefulset template similar to the one found here.
  • What is for you the project who represents the best the power of Golang ?
    10 projects | | 28 Dec 2021
    Cockroach DB is a great example, it’s a PostgreSQL compatible database made to be distributed:
  • Best "database" to deal with a large amount of simple data - Exact searches
    2 projects | | 18 Dec 2021
    But if you're looking for a highly scalable relational db then you can check YugaByteDB/CockroachDB (=both based upon PostGreSql) would also do the job well.
  • Looking to make a clone of a server in real time so if one fails the other takes over
    3 projects | | 15 Dec 2021
    No matter how you cut it, my guess is that the most difficult aspect will be syncing up your data. You could into whether something like CockroachDB works with Wireguard. That'd help you simplify a good bit.
  • Leaving MySQL
    7 projects | | 5 Dec 2021
    Uff... Let's go give a look at the licenses:

    So many licenses, including the Business Source License which is non-free license.

    Also there's this CockroachDB Community License (CCL), which I guess is a made-up license that's going to include some whatever terms.

    I might still accept this mix of licenses however I can't find the definition of "foundational features" -- what do I "lose" by using the OSS version instead of one of their managed offerings?

    From a quick overview, it's soft-no from me (in the sense that it probably wouldn't be my first choice).

    7 projects | | 5 Dec 2021
  • Composing generic data structures in go
    3 projects | | 30 Nov 2021
    Recently a colleague, Nathan, reflecting on CockroachDB, remarked (paraphrased from memory) that the key data structure is the interval btree. The story of Nathan’s addition of the first interval btree to cockroach and the power of copy-on-write data structures is worthy of its own blog post for another day. It’s Nathan’s hand-specialization of that data structure that provided the basis (and tests) for the generalization I’ll be presenting here. The reason for this specialization was as much for the performance wins of avoiding excessive allocations, pointer chasing, and cost of type assertions when using interface boxing.
  • Stacked changes: how FB and Google engineers stay unblocked and ship faster
    12 projects | | 17 Nov 2021
    I'm surprised Reviewable[0] hasn't come up in this discussion. It does a great job of allowing stacked code reviews and even handles rebases nicely; the reviewer sees the diff between commit #1 and commit #1' (prime = after rebase).

    CockroachDB[1] has been using it since very early in the project.



  • 1 project | | 6 Nov 2021
    And even if you did want to run your database on a bunch of untrusted machines, a blockchain, being a linked list, is not a particularly efficient implementation. Its size increases linearly with the number of operations, which, for any rapid-fire application such as banking, means you have a tremendously inefficient marginal computational and storage cost per operation. You’d be considerably better off running something like Cockroach, or FoundationDB, or more ‘out-there’ offerings like Hypercore.
  • CockroachDB Grants and Schemas explained
    1 project | | 28 Aug 2021
    And here:


Posts with mentions or reviews of InfluxDB. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-11.

What are some alternatives?

When comparing cockroach and InfluxDB you can also consider the following projects:

tidb - TiDB is an open source distributed HTAP database compatible with the MySQL protocol

vitess - Vitess is a database clustering system for horizontal scaling of MySQL.

VictoriaMetrics - VictoriaMetrics: fast, cost-effective monitoring solution and time series database

prometheus - The Prometheus monitoring system and time series database.

KairosDB - Fast scalable time series database

Graphite - A highly scalable real-time graphing system

Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (

Squirrel - Fluent SQL generation for golang

yugabyte-db - The high-performance distributed SQL database for global, internet-scale apps.

BTrDB - Berkeley Tree Database (BTrDB) server

RRDtool - RRDtool 1.x - Round Robin Database

OpenTSDB - A scalable, distributed Time Series Database.