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. Derby vs. Memcached

System Properties Comparison CockroachDB vs. Couchbase vs. Derby vs. Memcached

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonCouchbase infoOriginally called Membase  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonMemcached  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.A distributed document store with integrated cache, a powerful search engine, in-built operational and analytical capabilities, and an embedded mobile databaseFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory key-value store, originally intended for caching
Primary database modelRelational DBMSDocument storeRelational DBMSKey-value store
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
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
Score4.60
Rank#70  Overall
#38  Relational DBMS
Score18.08
Rank#32  Overall
#4  Key-value stores
Websitewww.cockroachlabs.comwww.couchbase.comdb.apache.org/­derbywww.memcached.org
Technical documentationwww.cockroachlabs.com/­docsdocs.couchbase.comdb.apache.org/­derby/­manuals/­index.htmlgithub.com/­memcached/­memcached/­wiki
DeveloperCockroach LabsCouchbase, Inc.Apache Software FoundationDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournal
Initial release2015201119972003
Current release24.1.0, May 2024Server: 7.2, June 2023; Mobile: 3.1, March 2022; Couchbase Capella (DBaaS), June 202310.17.1.0, November 20231.6.27, May 2024
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 version 2Open Source infoBSD license
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.
Implementation languageGoC, C++, Go and ErlangJavaC
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
Data schemedynamic schemaschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesyesno
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.noyes
Secondary indexesyesyesyesno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesyesno
APIs and other access methodsJDBCCLI Client
HTTP REST
Kafka Connector
Native language bindings for CRUD, Query, Search and Analytics APIs
Spark Connector
Spring Data
JDBCProprietary protocol
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
Java.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
Server-side scripts infoStored proceduresnoFunctions and timers in JavaScript and UDFs in Java, Python, SQL++Java Stored Proceduresno
Triggersnoyes infovia the TAP protocolyesno
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 Shardingnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication infoincluding cross data center replication
Source-replica replication
Source-replica replicationnone infoRepcached, a Memcached patch, provides this functionallity
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infoselectable on a per-operation basis
Immediate Consistency
Foreign keys infoReferential integrityyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesno
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoEphemeral bucketsyes
User concepts infoAccess controlRole-based access controlUser and Administrator separation with password-based and LDAP integrated Authentication. Role-base access control.fine grained access rights according to SQL-standardyes infousing SASL (Simple Authentication and Security Layer) protocol

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

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

More resources
CockroachDBCouchbase infoOriginally called MembaseDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBMemcached
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

Redis extends the lead in the DB-Engines key-value store ranking
3 February 2014, Matthias Gelbmann

New DB-Engines Ranking shows the popularity of database management systems
3 October 2012, Matthias Gelbmann, Paul Andlinger

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 Q1 Earnings: Strong Growth With A Step Towards Profitability (NASDAQ:BASE)
6 June 2024, Seeking Alpha

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

DA Davidson cuts Couchbase shares target, cites macro challenges By Investing.com
6 June 2024, Investing.com

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

provided by Google News

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Arrival of Java 20
21 March 2023, Oracle

No, Citrix did not kill CloudStack
15 September 2014, InfoWorld

The ApacheĀ® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

provided by Google News

Memcached Adoption Spurs Solutions
30 May 2024, Data Center Knowledge

Why DDoS Threat Actors Are Shifting Their Tactics
15 March 2024, Infosecurity Magazine

Intel Continues To Demonstrate The Importance Of Software Optimizations: Clear Linux + Xeon Max Benchmarks
23 October 2023, Phoronix

Why Redis beats Memcached for caching
14 September 2017, InfoWorld

Introducing mcrouter: A memcached protocol router for scaling memcached deployments
15 September 2014, Facebook Engineering

provided by Google News



Share this page

Featured Products

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

Neo4j logo

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

Milvus logo

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

Present your product here