DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. IBM Db2 vs. Lovefield vs. SQLite vs. SWC-DB

System Properties Comparison CockroachDB vs. IBM Db2 vs. Lovefield vs. SQLite vs. SWC-DB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonLovefield  Xexclude from comparisonSQLite  Xexclude from comparisonSWC-DB infoSuper Wide Column Database  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxEmbeddable relational database for web apps written in pure JavaScriptWidely used embeddable, in-process RDBMSA high performance, scalable Wide Column DBMS
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMSRelational DBMSWide column store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Time Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.39
Rank#60  Overall
#34  Relational DBMS
Score127.75
Rank#8  Overall
#5  Relational DBMS
Score0.35
Rank#286  Overall
#131  Relational DBMS
Score118.16
Rank#10  Overall
#7  Relational DBMS
Score0.06
Rank#376  Overall
#13  Wide column stores
Websitewww.cockroachlabs.comwww.ibm.com/­products/­db2google.github.io/­lovefieldwww.sqlite.orggithub.com/­kashirin-alex/­swc-db
www.swcdb.org
Technical documentationwww.cockroachlabs.com/­docswww.ibm.com/­docs/­en/­db2github.com/­google/­lovefield/­blob/­master/­docs/­spec_index.mdwww.sqlite.org/­docs.html
DeveloperCockroach LabsIBMGoogleDwayne Richard HippAlex Kashirin
Initial release20151983 infohost version201420002020
Current release23.1.1, May 202312.1, October 20162.1.12, February 20173.45.2  (12 March 2024), March 20240.5, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infofree version is availableOpen 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.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.
Implementation languageGoC and C++JavaScriptCC++
Server operating systemsLinux
macOS
Windows
AIX
HP-UX
Linux
Solaris
Windows
z/OS
server-less, requires a JavaScript environment (browser, Node.js) infotested with Chrome, Firefox, IE, Safariserver-lessLinux
Data schemedynamic schemayesyesyes infodynamic column typesschema-free
Typing infopredefined data types such as float or dateyesyesyesyes 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 indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesSQL-like query language infovia JavaScript builder patternyes infoSQL-92 is not fully supportedSQL-like query language
APIs and other access methodsJDBCADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.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
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
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 proceduresnoyesnonono
TriggersnoyesUsing 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 RAFTSharding infoonly with Windows/Unix/Linux VersionnonenoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infowith separate tools (MQ, InfoSphere)nonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyesyes
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 controlfine grained access rights according to SQL-standardnono
More information provided by the system vendor
CockroachDBIBM Db2 infoformerly named DB2 or IBM Database 2LovefieldSQLiteSWC-DB infoSuper Wide Column Database
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosPayment processing, user account management, metadata management, identity access...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, Netflix, LUSH, Bose, Shipt,...
» more
Market metrics12K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more

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
CockroachDBIBM Db2 infoformerly named DB2 or IBM Database 2LovefieldSQLiteSWC-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 DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

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

provided by Google News

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Getting started with new Amazon RDS for Db2 | Amazon Web Services
27 November 2023, AWS Blog

Celebrating 40 years of Db2: Running the world's mission critical workloads
11 September 2023, ibm.com

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, PR Newswire

provided by Google News

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

Universal API Access from Postgres and SQLite
27 February 2024, O'Reilly Media

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

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

A Closer Look at the Top 3 Embedded Databases: SQLite, RocksDB, and DuckDB
29 August 2023, hackernoon.com

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

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

AllegroGraph logo

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

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

Present your product here