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

DBMS > CockroachDB vs. FoundationDB vs. Lovefield vs. SQLite vs. SWC-DB

System Properties Comparison CockroachDB vs. FoundationDB vs. Lovefield vs. SQLite vs. SWC-DB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFoundationDB  Xexclude from comparisonLovefield  Xexclude from comparisonSQLite  Xexclude from comparisonSWC-DB infoSuper Wide Column Database  Xexclude from comparison
Created as commercial project in 2013, FoundationDB has been acquired by Apple in March 2015 and was withdrawn from the market. As a consequence, the product was removed from the DB-Engines ranking. In April 2018, Apple open-sourced FoundationDB and it therefore reappears in the 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.Ordered key-value store. Core features are complimented by layers.Embeddable relational database for web apps written in pure JavaScriptWidely used embeddable, in-process RDBMSA high performance, scalable Wide Column DBMS
Primary database modelRelational DBMSDocument store infosupported via specific layer
Key-value store
Relational DBMS infosupported via specific SQL-layer
Relational DBMSRelational DBMSWide column store
Secondary database modelsTime Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score1.03
Rank#190  Overall
#31  Document stores
#28  Key-value stores
#89  Relational DBMS
Score0.29
Rank#293  Overall
#133  Relational DBMS
Score114.32
Rank#10  Overall
#7  Relational DBMS
Score0.01
Rank#376  Overall
#13  Wide column stores
Websitewww.cockroachlabs.comgithub.com/­apple/­foundationdbgoogle.github.io/­lovefieldwww.sqlite.orggithub.com/­kashirin-alex/­swc-db
www.swcdb.org
Technical documentationwww.cockroachlabs.com/­docsapple.github.io/­foundationdbgithub.com/­google/­lovefield/­blob/­master/­docs/­spec_index.mdwww.sqlite.org/­docs.html
DeveloperCockroach LabsFoundationDBGoogleDwayne Richard HippAlex Kashirin
Initial release20152013201420002020
Current release23.1.1, May 20236.2.28, November 20202.1.12, February 20173.45.3  (15 April 2024), April 20240.5, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infoApache 2.0Open Source infoPublic DomainOpen Source infoGPL V3
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++JavaScriptCC++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js) infotested with Chrome, Firefox, IE, Safariserver-lessLinux
Data schemedynamic schemaschema-free infosome layers support schemasyesyes infodynamic column typesschema-free
Typing infopredefined data types such as float or dateyesno infosome layers support typingyesyes infonot rigid because of 'dynamic typing' concept.
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.nononono
Secondary indexesyesnoyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLsupported in specific SQL layer onlySQL-like query language infovia JavaScript builder patternyes infoSQL-92 is not fully supportedSQL-like query language
APIs and other access methodsJDBCADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
Proprietary protocol
Thrift
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
Go
Java
JavaScript infoNode.js
PHP
Python
Ruby
Swift
JavaScriptActionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
C++
Server-side scripts infoStored proceduresnoin SQL-layer onlynonono
TriggersnonoUsing read-only observersyesno
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 RAFTShardingnonenoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesnonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyLinearizable consistencyImmediate Consistency
Foreign keys infoReferential integrityyesin SQL-layer onlyyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes infovia file-system locksyes
Durability infoSupport for making data persistentyesyesyes, by using IndexedDB or the cloud service Firebase Realtime Databaseyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infousing MemoryDByesno
User concepts infoAccess controlRole-based access controlnonono

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 partiesNavicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
CockroachDBFoundationDBLovefieldSQLiteSWC-DB infoSuper Wide Column Database
DB-Engines blog posts

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

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

FoundationDB team's new venture, Antithesis, raises $47M to enhance software testing
13 February 2024, SiliconANGLE News

Stonebraker Seeks to Invert the Computing Paradigm with DBOS
12 March 2024, Datanami

Antithesis raises $47M to launch an automated testing platform for software
13 February 2024, TechCrunch

Deno adds scaleable messaging with new Queues feature, sparks debate about proprietary services • DEVCLASS
28 September 2023, DevClass

FoundationDB, a very interesting NoSQL database owned by Apple, is now an open-source project
19 April 2018, GeekWire

provided by Google News

How to work with Dapper and SQLite in ASP.NET Core
10 May 2024, InfoWorld

Limbo Is An SQLite-Compatible OLTP DBMS Leveraging IO_uring & Rust
9 May 2024, Phoronix

SQLite's new support for binary JSON is similar but different from a PostgreSQL feature • DEVCLASS
16 January 2024, DevClass

Universal API Access from Postgres and SQLite
27 February 2024, oreilly.com

Stanchion Turns SQLite Into A Column Store
15 February 2024, iProgrammer

provided by Google News

2022 All O-Zone Football Team
17 December 2022, Ozarks Sports Zone

provided by Google News



Share this page

Featured Products

SingleStore logo

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

Neo4j logo

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

RaimaDB logo

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

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

Present your product here