DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Couchbase vs. Dgraph vs. PostgreSQL vs. Trafodion

System Properties Comparison CockroachDB vs. Couchbase vs. Dgraph vs. PostgreSQL vs. Trafodion

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonCouchbase infoOriginally called Membase  Xexclude from comparisonDgraph  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTrafodion  Xexclude from comparison
Apache Trafodion has been retired in 2021. Therefore it is excluded from the DB-Engines Ranking.
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.A distributed document store with integrated cache, a powerful search engine, in-built operational and analytical capabilities, and an embedded mobile databaseDistributed and scalable native Graph DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTransactional SQL-on-Hadoop DBMS
Primary database modelRelational DBMSDocument storeGraph 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 modelsKey-value store infooriginating from the former Membase product and supporting the Memcached protocol
Spatial DBMS infousing the Geocouch extension
Search engine
Time Series DBMS
Vector DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score16.59
Rank#36  Overall
#5  Document stores
Score1.53
Rank#152  Overall
#15  Graph DBMS
Score636.25
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comwww.couchbase.comdgraph.iowww.postgresql.orgtrafodion.apache.org
Technical documentationwww.cockroachlabs.com/­docsdocs.couchbase.comdgraph.io/­docswww.postgresql.org/­docstrafodion.apache.org/­documentation.html
DeveloperCockroach LabsCouchbase, Inc.Dgraph Labs, Inc.PostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software Foundation, originally developed by HP
Initial release2015201120161989 info1989: Postgres, 1996: PostgreSQL2014
Current release24.1.0, May 2024Server: 7.2, June 2023; Mobile: 3.1, March 2022; Couchbase Capella (DBaaS), June 202316.3, May 20242.3.0, February 2019
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBusiness Source License (BSL 1.1); Commercial licenses also availableOpen Source infoApache 2.0Open Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
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.
  • PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
Implementation languageGoC, C++, Go and ErlangGoCC++, Java
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
Linux
OS X
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemedynamic schemaschema-freeschema-freeyesyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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 indexesyesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesnoyes infostandard with numerous extensionsyes
APIs and other access methodsJDBCCLI Client
HTTP REST
Kafka Connector
Native language bindings for CRUD, Query, Search and Analytics APIs
Spark Connector
Spring Data
GraphQL query language
gRPC (using protocol buffers) API
HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
ADO.NET
JDBC
ODBC
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
Go
Java
JavaScript infoNode.js
Kotlin
PHP
Python
Ruby
Scala
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
All languages supporting JDBC/ODBC/ADO.Net
Server-side scripts infoStored proceduresnoFunctions and timers in JavaScript and UDFs in Java, Python, SQL++nouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Java Stored Procedures
Triggersnoyes infovia the TAP protocolnoyesno
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 RAFTAutomatic Shardingyespartitioning by range, list and (since PostgreSQL 11) by hashSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication infoincluding cross data center replication
Source-replica replication
Synchronous replication via RaftSource-replica replication infoother methods possible by using 3rd party extensionsyes, via HBase
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnonoyes infovia user defined functions and HBase
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infoselectable on a per-operation basis
Immediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoEphemeral bucketsnono
User concepts infoAccess controlRole-based access controlUser and Administrator separation with password-based and LDAP integrated Authentication. Role-base access control.no infoPlanned for future releasesfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

More information provided by the system vendor

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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

CYBERTEC 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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» 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

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

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

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

More resources
CockroachDBCouchbase infoOriginally called MembaseDgraphPostgreSQLTrafodion
DB-Engines blog posts

Couchbase climbs up the DB-Engines Ranking, increasing its popularity by 10% every month
2 June 2014, Matthias Gelbmann

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

Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

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

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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

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

provided by Google News

Database company Couchbase cruises to another solid earnings and revenue beat
5 June 2024, SiliconANGLE News

Couchbase (NASDAQ:BASE) Posts Better-Than-Expected Sales In Q1, Next Quarter's Growth Looks Optimistic
5 June 2024, Yahoo Finance

Couchbase, Inc. (NASDAQ:BASE) Shares Slammed 29% But Getting In Cheap Might Be Difficult Regardless
7 June 2024, Simply Wall St

Couchbase, Inc. (BASE) Q1 2025 Earnings Call Transcript
6 June 2024, Seeking Alpha

Couchbase, Inc. (BASE) Tops Q1 EPS by 5c; offers outlook
5 June 2024, StreetInsider.com

provided by Google News

Dgraph on AWS: Setting up a horizontally scalable graph database | Amazon Web Services
1 September 2020, AWS Blog

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
10 September 2020, TechCrunch

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, businesswire.com

provided by Google News

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, Microsoft

How To Schedule PostgreSQL Backups With GitHub Actions
6 June 2024, The New Stack

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

Enterprise DB begins rolling AI features into PostgreSQL
23 May 2024, SiliconANGLE News

provided by Google News

Evaluating HTAP Databases for Machine Learning Applications
2 November 2016, KDnuggets

Low-latency, distributed database architectures are critical for emerging fog applications
7 April 2022, Embedded Computing Design

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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