DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > 4D vs. CockroachDB vs. PouchDB vs. ToroDB vs. XTDB

System Properties Comparison 4D vs. CockroachDB vs. PouchDB vs. ToroDB vs. XTDB

Editorial information provided by DB-Engines
Name4D infoformer name: 4th Dimension  Xexclude from comparisonCockroachDB  Xexclude from comparisonPouchDB  Xexclude from comparisonToroDB  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
ToroDB seems to be discontinued. Therefore it is excluded from the DB-Engines Ranking.
DescriptionApplication development environment with integrated database management systemCockroachDB 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.JavaScript DBMS with an API inspired by CouchDBA MongoDB-compatible JSON document store, built on top of PostgreSQLA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelRelational DBMSRelational DBMSDocument storeDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.58
Rank#108  Overall
#54  Relational DBMS
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score2.28
Rank#115  Overall
#21  Document stores
Score0.11
Rank#343  Overall
#46  Document stores
Websitewww.4d.comwww.cockroachlabs.compouchdb.comgithub.com/­torodb/­servergithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationdeveloper.4d.comwww.cockroachlabs.com/­docspouchdb.com/­guideswww.xtdb.com/­docs
Developer4D, IncCockroach LabsApache Software Foundation8KdataJuxt Ltd.
Initial release19842015201220162019
Current releasev20, April 202323.1.1, May 20237.1.1, June 20191.19, September 2021
License infoCommercial or Open SourcecommercialOpen Source infoApache 2.0, commercial license availableOpen SourceOpen Source infoAGPL-V3Open Source infoMIT License
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.
Implementation languageGoJavaScriptJavaClojure
Server operating systemsOS X
Windows
Linux
macOS
Windows
server-less, requires a JavaScript environment (browser, Node.js)All OS with a Java 7 VMAll OS with a Java 8 (and higher) VM
Linux
Data schemeyesdynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnoyes infostring, integer, double, boolean, date, object_idyes, extensible-data-notation format
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.yesnononono
Secondary indexesyesyesyes infovia viewsyes
SQL infoSupport of SQLyes infoclose to SQL 92yes, wire compatible with PostgreSQLnolimited SQL, making use of Apache Calcite
APIs and other access methodsODBC
RESTful HTTP API infoby using 4D Mobile
SOAP webservices
JDBCHTTP REST infoonly for PouchDB Server
JavaScript API
HTTP REST
JDBC
Supported programming languages4D proprietary IDE
PHP
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaScriptClojure
Java
Server-side scripts infoStored proceduresyesnoView functions in JavaScriptno
Triggersyesnoyesnono
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal 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 infowith a proxy-based framework, named couchdb-loungeShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationMulti-source replication using RAFTMulti-source replication infoalso with CouchDB databases
Source-replica replication infoalso with CouchDB databases
Source-replica replicationyes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual ConsistencyEventual Consistency
Immediate Consistency
Foreign keys infoReferential integrityyesyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnonoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes infoby using IndexedDB, WebSQL or LevelDB as backendyesyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlUsers and groupsRole-based access controlnoAccess rights for users and roles

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

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

More resources
4D infoformer name: 4th DimensionCockroachDBPouchDBToroDBXTDB infoformerly named Crux
DB-Engines blog posts

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

New kids on the block: database management systems implemented in JavaScript
1 December 2014, 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

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

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

provided by Google News

Building an Offline First App with PouchDB — SitePoint
10 March 2014, SitePoint

Getting Started with PouchDB Client-Side JavaScript Database — SitePoint
7 September 2016, SitePoint

3 Reasons To Think Offline First
22 March 2017, ibm.com

Create Offline Web Apps Using Service Workers & PouchDB — SitePoint
7 March 2017, SitePoint

Offline-first web and mobile apps: Top frameworks and components
22 January 2019, TechBeacon

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

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

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.

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Present your product here