DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. InfluxDB vs. PostgreSQL vs. TiDB

System Properties Comparison CockroachDB vs. InfluxDB vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonInfluxDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.DBMS for storing time series, events and metricsWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelRelational DBMSTime Series DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsSpatial DBMS infowith GEO packageDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score26.56
Rank#28  Overall
#1  Time Series DBMS
Score645.05
Rank#4  Overall
#4  Relational DBMS
Score4.94
Rank#72  Overall
#40  Relational DBMS
Websitewww.cockroachlabs.comwww.influxdata.com/­products/­influxdb-overviewwww.postgresql.orgpingcap.com
Technical documentationwww.cockroachlabs.com/­docsdocs.influxdata.com/­influxdbwww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release201520131989 info1989: Postgres, 1996: PostgreSQL2016
Current release23.1.1, May 20232.7.6, April 202416.2, February 20248.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoMIT-License; commercial enterprise version availableOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoGoCGo, Rust
Server operating systemsLinux
macOS
Windows
Linux
OS X infothrough Homebrew
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemedynamic schemaschema-freeyesyes
Typing infopredefined data types such as float or dateyesNumeric data and Stringsyesyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nonoyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesnoyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageyes infostandard with numerous extensionsyes
APIs and other access methodsJDBCHTTP API
JSON over UDP
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Clojure
Erlang
Go
Haskell
Java
JavaScript
JavaScript (Node.js)
Lisp
Perl
PHP
Python
R
Ruby
Rust
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnonouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnonoyesno
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTSharding infoin enterprise version onlypartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTselectable replication factor infoin enterprise version onlySource-replica replication infoother methods possible by using 3rd party extensionsUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoDepending on used storage enginenono
User concepts infoAccess controlRole-based access controlsimple rights management via user accountsfine grained access rights according to SQL-standardFine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBInfluxDBPostgreSQLTiDB
Specific characteristicsInfluxData is the creator of InfluxDB , the open source time series database. It...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesTime to Value InfluxDB is available in all the popular languages and frameworks,...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosIoT & Sensor Monitoring Developers are witnessing the instrumentation of every available...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersInfluxData has more than 1,900 paying customers, including customers include MuleSoft,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsFastest-growing database to drive 27,500 GitHub stars Over 750,000 daily active instances
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsOpen source core with closed source clustering available either on-premise or on...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
News

The Final Frontier: Using InfluxDB on the International Space Station
30 April 2024

Getting the Current Time in C#: A Guide
26 April 2024

Sync Data from InfluxDB v2 to v3 With the Quix Template
8 April 2024

Infrastructure Monitoring Basics: Getting Started with Telegraf, InfluxDB, and Grafana
5 April 2024

Comparing Dates in Java: A Tutorial
3 April 2024

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesCYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
CockroachDBInfluxDBPostgreSQLTiDB
DB-Engines blog posts

Why Build a Time Series Data Platform?
20 July 2017, Paul Dix (guest author)

Time Series DBMS are the database category with the fastest increase in popularity
4 July 2016, Matthias Gelbmann

Time Series DBMS as a new trend?
1 June 2015, Paul Andlinger

show all

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

Conferences, events and webinars

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

Cockroach Entices High-End Legacy Workloads with v23.2
18 January 2024, Datanami

provided by Google News

Run and manage open source InfluxDB databases with Amazon Timestream | Amazon Web Services
14 March 2024, AWS Blog

Amazon Timestream: Managed InfluxDB for Time Series Data
14 March 2024, The New Stack

InfluxData Collaborating with AWS to Bring InfluxDB and Time Series Analytics to Developers Around the World
14 March 2024, Business Wire

How the FDAP Stack Gives InfluxDB 3.0 Real-Time Speed, Efficiency
15 March 2024, Datanami

AWS and InfluxData partner to offer managed time series database Timestream for InfluxDB
5 April 2024, VentureBeat

provided by Google News

Crunchy Data Introduces Postgres Query Engine for Data Lakes, Crunchy Bridge for Analytics
30 April 2024, StreetInsider.com

Why PostgreSQL Is the Bedrock for the Future of Data
26 April 2024, hackernoon.com

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, Oracle

Your MySQL 5.7 and PostgreSQL 11 databases will be automatically enrolled into Amazon RDS Extended Support ...
21 December 2023, AWS Blog

YugabyteDB 2.21 Introduces Industry's First Native Disaster Recovery Orchestration Solution for a Distributed SQL ...
30 April 2024, Business Wire

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

provided by Google News



Share this page

Featured Products

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Present your product here