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

DBMS > CockroachDB vs. Oracle Berkeley DB vs. Spark SQL vs. SQL.JS vs. TimesTen

System Properties Comparison CockroachDB vs. Oracle Berkeley DB vs. Spark SQL vs. SQL.JS vs. TimesTen

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonOracle Berkeley DB  Xexclude from comparisonSpark SQL  Xexclude from comparisonSQL.JS  Xexclude from comparisonTimesTen  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.Widely used in-process key-value storeSpark SQL is a component on top of 'Spark Core' for structured data processingPort of SQLite to JavaScriptIn-Memory RDBMS compatible to Oracle
Primary database modelRelational DBMSKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
Relational DBMSRelational DBMSRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score2.21
Rank#117  Overall
#20  Key-value stores
#3  Native XML DBMS
Score18.96
Rank#33  Overall
#20  Relational DBMS
Score0.53
Rank#252  Overall
#116  Relational DBMS
Score1.31
Rank#163  Overall
#74  Relational DBMS
Websitewww.cockroachlabs.comwww.oracle.com/­database/­technologies/­related/­berkeleydb.htmlspark.apache.org/­sqlsql.js.orgwww.oracle.com/­database/­technologies/­related/­timesten.html
Technical documentationwww.cockroachlabs.com/­docsdocs.oracle.com/­cd/­E17076_05/­html/­index.htmlspark.apache.org/­docs/­latest/­sql-programming-guide.htmlsql.js.org/­documentation/­index.htmldocs.oracle.com/­database/­timesten-18.1
DeveloperCockroach LabsOracle infooriginally developed by Sleepycat, which was acquired by OracleApache Software FoundationAlon Zakai infoenhancements implemented by othersOracle, TimesTen Performance Software, HP infooriginally founded in HP Labs it was acquired by Oracle in 2005
Initial release20151994201420121998
Current release23.1.1, May 202318.1.40, May 20203.5.0 ( 2.13), September 202311 Release 2 (11.2.2.8.0)
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infocommercial license availableOpen Source infoApache 2.0Open Sourcecommercial
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 languageGoC, Java, C++ (depending on the Berkeley DB edition)ScalaJavaScript
Server operating systemsLinux
macOS
Windows
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)AIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
Data schemedynamic schemaschema-freeyesyesyes
Typing infopredefined data types such as float or dateyesnoyesyesyes
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 infoonly with the Berkeley DB XML editionnonono
Secondary indexesyesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infoSQL interfaced based on SQLite is availableSQL-like DML and DDL statementsyes infoSQL-92 is not fully supportedyes
APIs and other access methodsJDBCJDBC
ODBC
JavaScript APIJDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
Python
Tcl
Java
Python
R
Scala
JavaScriptC
C++
Java
PL/SQL
Server-side scripts infoStored proceduresnonononoPL/SQL
Triggersnoyes infoonly for the SQL APInonono
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 RAFTnoneyes, utilizing Spark Corenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSource-replica replicationnonenoneMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate Consistency or Eventual Consistency depending on configuration
Foreign keys infoReferential integrityyesnonoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyesno infoexcept by serializing a db to a fileyes infoby means of logfiles and checkpoints
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesnoyesyes
User concepts infoAccess controlRole-based access controlnononofine 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

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

More resources
CockroachDBOracle Berkeley DBSpark SQLSQL.JSTimesTen
DB-Engines blog posts

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 to the cloud
29 January 2024, The Register

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

provided by Google News

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

EC will investigate the Oracle/Sun takeover due to concerns about MySQL
3 September 2009, The Guardian

Database Trends Report: SQL Beats NoSQL, MySQL Most Popular -- ADTmag
5 March 2019, ADT Magazine

Motorola A780 Linux based smartphone to have mobile database
14 September 2004, Geekzone

The stable version of AlmaLinux 9.0 has already been released
26 May 2022, Linux Adictos

provided by Google News

Feature Engineering for Time-Series Using PySpark on Databricks
15 May 2024, Towards Data Science

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024 — SitePoint
22 March 2023, SitePoint

Execute millions of SQL statements in milliseconds in the browser with WebAssembly and Web Workers.
14 January 2017, hackernoon.com

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

Running PostgreSQL Inside Your Browser
8 September 2022, iProgrammer

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

Oracle starts peddling Exalytics in-memory appliance
12 March 2012, The Register

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

RaimaDB logo

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here