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 > BaseX vs. CockroachDB vs. Google Cloud Spanner vs. ObjectBox

System Properties Comparison BaseX vs. CockroachDB vs. Google Cloud Spanner vs. ObjectBox

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonCockroachDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonObjectBox  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.CockroachDB 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 horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.Extremely fast embedded database for small devices, IoT and Mobile
Primary database modelNative XML DBMSRelational DBMSRelational DBMSObject oriented DBMS
Secondary database modelsTime Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.90
Rank#136  Overall
#4  Native XML DBMS
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score2.89
Rank#105  Overall
#53  Relational DBMS
Score1.22
Rank#172  Overall
#5  Object oriented DBMS
Websitebasex.orgwww.cockroachlabs.comcloud.google.com/­spannerobjectbox.io
Technical documentationdocs.basex.orgwww.cockroachlabs.com/­docscloud.google.com/­spanner/­docsdocs.objectbox.io
DeveloperBaseX GmbHCockroach LabsGoogleObjectBox Limited
Initial release2007201520172017
Current release10.7, August 202323.1.1, May 2023
License infoCommercial or Open SourceOpen Source infoBSD licenseOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infoApache License 2.0
Cloud-based only infoOnly available as a cloud servicenonoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaGoC and C++
Server operating systemsLinux
OS X
Windows
Linux
macOS
Windows
hostedAndroid
iOS
Linux
macOS
Windows
Data schemeschema-freedynamic schemayesyes
Typing infopredefined data types such as float or dateno infoXQuery supports typesyesyesyes
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.nonono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQLyes infoQuery statements complying to ANSI 2011no
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
JDBCgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
Proprietary native API
Supported programming languagesActionscript
C
C#
Haskell
Java
JavaScript infoNode.js
Lisp
Perl
PHP
Python
Qt
Rebol
Ruby
Scala
Visual Basic
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Go
Java
JavaScript (Node.js)
Python
C
C++
Dart
Go
Java
JavaScript infoplanned (as of Jan 2019)
Kotlin
Python infoplanned (as of Jan 2019)
Swift
Server-side scripts infoStored proceduresyesnonono
Triggersyes infovia eventsnonono
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 RAFTShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTMulti-source replication with 3 replicas for regional instances.online/offline synchronization between client and server
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writerACIDACID infoStrict serializable isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonono
User concepts infoAccess controlUsers with fine-grained authorization concept on 4 levelsRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)yes
More information provided by the system vendor
BaseXCockroachDBGoogle Cloud SpannerObjectBox
News

Edge AI: The era of on-device AI
23 April 2024

In-Memory Database Use Cases
15 February 2024

Data Viewer for Objects – announcing ObjectBox Admin
14 November 2023

Vector Databases for Edge AI
9 August 2023

Vector Database Release for Flutter / Dart + Python
13 June 2023

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
BaseXCockroachDBGoogle Cloud SpannerObjectBox
Recent citations in the news

Flash News: OKX Wallet Web Extension Users Can Now Access BaseX, a Concentrated Liquidity AMM DEX on Base
17 April 2024, Yahoo Finance

XML Injection Attacks: What to Know About XPath, XQuery, XXE & More
18 May 2022, Hashed Out by The SSL Store™

9 Skills You Need to Become a Data Engineer
2 November 2022, KDnuggets

provided by Google 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

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

Industrial IoT (IIoT) edge solution for railway operators – a Kapsch ObjectBox Case Study
21 June 2019, 1E9

A Quick Look at Open Source Databases for Mobile App Development
29 April 2018, Open Source For You

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.

Milvus logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Present your product here