DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > BaseX vs. Google Cloud Spanner vs. SurrealDB

System Properties Comparison BaseX vs. Google Cloud Spanner vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonSurrealDB  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.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.A fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelNative XML DBMSRelational DBMSDocument store
Graph DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.43
Rank#147  Overall
#4  Native XML DBMS
Score2.56
Rank#97  Overall
#50  Relational DBMS
Score1.08
Rank#176  Overall
#30  Document stores
#16  Graph DBMS
Websitebasex.orgcloud.google.com/­spannersurrealdb.com
Technical documentationdocs.basex.orgcloud.google.com/­spanner/­docssurrealdb.com/­docs
DeveloperBaseX GmbHGoogleSurrealDB Ltd
Initial release200720172022
Current release11.2, August 2024v1.5.0, May 2024
License infoCommercial or Open SourceOpen Source infoBSD licensecommercialOpen Source
Cloud-based only infoOnly available as a cloud servicenoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaRust
Server operating systemsLinux
OS X
Windows
hostedLinux
macOS
Windows
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or dateno infoXQuery supports typesyesyes
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.no
Secondary indexesyesyes
SQL infoSupport of SQLnoyes infoQuery statements complying to ANSI 2011SQL-like query language
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
GraphQL
RESTful HTTP API
WebSocket
Supported programming languagesActionscript
C
C#
Haskell
Java
JavaScript infoNode.js
Lisp
Perl
PHP
Python
Qt
Rebol
Ruby
Scala
Visual Basic
Go
Java
JavaScript (Node.js)
Python
Deno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresyesno
Triggersyes infovia eventsno
Partitioning methods infoMethods for storing different data on different nodesnoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication with 3 replicas for regional instances.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrity
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writerACID infoStrict serializable isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlUsers with fine-grained authorization concept on 4 levelsAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)yes, based on authentication and database rules

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
BaseXGoogle Cloud SpannerSurrealDB
Recent citations in the news

Fig. 7. XQuery with FLWOR expression
23 October 2024, ResearchGate

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

Figure 2: Screenshot of BaseX user interface
14 April 2018, ResearchGate

Figure 2.7: Class diagram: extended architecture for database construction
27 July 2018, ResearchGate

Figure 1: (a) A row in a table of an SQL database (b) NoSQL document in...
16 November 2023, ResearchGate

provided by Google News

Google Cloud Introduces HDD Tier for Spanner Database, Cutting Cold Storage Costs by 80%
22 March 2025, infoq.com

New features make Google's Spanner a database for AI
1 August 2024, TechTarget

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, techzine.eu

Google Cloud adds graph processing to Spanner, SQL support to Bigtable
1 August 2024, InfoWorld

Google’s Plan to Make GCP ‘The Best Cloud for Machine Learning’
5 May 2025, SDx Central

provided by Google News

SurrealDB Launches Surreal Cloud, a Fully Managed Database Service That Tackles the Complexity Issues Faced by Developer Teams
7 December 2024, insideAI News

SurrealDB Empowers Developers to Build Applications with the Launch of SurrealDB University
15 October 2024, Business Wire

SurrealDB's Surreal Cloud debuts on AWS S3 for scalable multimodel database as a service
4 December 2024, SiliconANGLE

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

London-based SurrealDB secures over €18.6 million aiming to disrupt database technology
18 June 2024, EU-Startups

provided by Google News



Share this page

Featured Products

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

SingleStore logo

The data platform to build your intelligent applications.
Try it 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

Present your product here