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

DBMS > Google Cloud Spanner vs. MariaDB vs. Memgraph vs. TerarkDB

System Properties Comparison Google Cloud Spanner vs. MariaDB vs. Memgraph vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonMariaDB  Xexclude from comparisonMemgraph  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionA 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.MySQL application compatible open source RDBMS, enhanced with high availability, security, interoperability and performance capabilities. MariaDB ColumnStore provides a column-oriented storage engine and MariaDB Xpand supports distributed SQL.An open source graph database built for real-time streaming and compatible with Neo4jA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSRelational DBMSGraph DBMSKey-value store
Secondary database modelsDocument store
Graph DBMS infowith OQGraph storage engine
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score83.44
Rank#15  Overall
#10  Relational DBMS
Score2.91
Rank#94  Overall
#7  Graph DBMS
Score0.00
Rank#385  Overall
#61  Key-value stores
Websitecloud.google.com/­spannermariadb.com infoSite of MariaDB Corporation
mariadb.org infoSite of MariaDB Foundation
memgraph.comgithub.com/­bytedance/­terarkdb
Technical documentationcloud.google.com/­spanner/­docsmariadb.com/­kb/­en/­librarymemgraph.com/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
Social network pagesLinkedInTwitterFacebookGitHubDiscord
DeveloperGoogleMariaDB Corporation Ab (MariaDB Enterprise),
MariaDB Foundation (community MariaDB Server) infoThe lead developer Monty Widenius is the original author of MySQL
Memgraph LtdByteDance, originally Terark
Initial release20172009 infoFork of MySQL, which was first released in 199520172016
Current release11.5.2, August 2024
License infoCommercial or Open SourcecommercialOpen Source infoGPL version 2, commercial enterprise subscription availableOpen Source infoBSL 1.1; commercial license for enterprise edition availablecommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud serviceyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
STACKIT MariaDB offers MariaDB in a fully managed version in enterprise grade, 100% GDPR-compliant.
Implementation languageC and C++C and C++C++
Server operating systemshostedFreeBSD
Linux
Solaris
Windows infoColumnStore storage engine not available on Windows
Linux
Data schemeyesyes infoDynamic columns are supportedschema-free and schema-optionalschema-free
Typing infopredefined data types such as float or dateyesyesyesno
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.noyesnono
Secondary indexesyesyesno
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yes infowith proprietary extensionsnono
APIs and other access methodsgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
ADO.NET
JDBC
ODBC
Proprietary native API
Bolt protocol
Cypher query language
C++ API
Java API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
Ada
C
C#
C++
D
Eiffel
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
C
C++
Elixir
Go
Haskell
Java
JavaScript
PHP
Python
Ruby
Scala
C++
Java
Server-side scripts infoStored proceduresnoyes infoPL/SQL compatibility added with version 10.3no
Triggersnoyesno
Partitioning methods infoMethods for storing different data on different nodesShardingseveral options for horizontal partitioning and ShardingSharding infodynamic graph partitioningnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Multi-source replication
Source-replica replication
Multi-source replication using RAFTnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes infonot for MyISAM storage engineyes inforelationships in graphsno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID infonot for MyISAM storage engineACID infowith snapshot isolationno
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyes infonot for in-memory storage engineyes infowith periodic snapshot and write-ahead logging (WAL) of changesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infowith MEMORY storage engineyesyes
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)fine grained access rights according to SQL-standardUsers, roles and permissionsno
More information provided by the system vendor
Google Cloud SpannerMariaDBMemgraphTerarkDB
Specific characteristicsMariaDB is the most powerful open source relational database – modern SQL and JSON...
» more
Memgraph directly connects to your streaming infrastructure so you and your team...
» more
Competitive advantagesMariaDB Servers have many features unavailable in other open source relational databases....
» more
Business Source License ensures a future for the Memgraph community MAGE algorithm...
» more
Typical application scenariosWeb, SaaS and Cloud operational applications that require high availability, scalability...
» more
Graph algorithms in bioinformatics Social network analysis Cryptocurrency network...
» more
Key customersDeutsche Bank, DBS Bank, Nasdaq, Red Hat, ServiceNow, Verizon and Walgreens Featured...
» more
Market metricsMariaDB is the default database in the LAMP stack supplied by Red Hat and SUSE Linux,...
» more
Licensing and pricing modelsMariaDB plc subscriptions cover our free, open source database, Community Server,...
» more
You can check out our pricing model and licenses on the company website .
» 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 MariaDB provides a native environment for MariaDB 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
Google Cloud SpannerMariaDBMemgraphTerarkDB
DB-Engines blog posts

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

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

show all

Recent citations in the news

Google Cloud Spanner gets dual-region configuration option
23 July 2024, InfoWorld

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, Techzine Europe

Google Cloud Enhances Spanner with Dual-Region Configuration
1 August 2024, InfoQ.com

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

Google Cloud expands its database portfolio with new AI capabilities
1 August 2024, TechCrunch

provided by Google News

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

MariaDB goes private after acquisition by K1 Investment Management
10 September 2024, SiliconANGLE News

MariaDB goes private with new CEO as K1 closes acquisition
10 September 2024, TechCrunch

ServiceNow moves its backend off MariaDB to homebrew Postgres
10 September 2024, The Register

What’s in the cards for MariaDB?
13 September 2024, InfoWorld

provided by Google News

Enhance Your Network Analysis with the Power of a Graph DB
4 May 2024, Towards Data Science

Graph database company Memgraph raises $9.34M
5 October 2021, VentureBeat

Top Open Source Graph Databases
3 June 2024, MarkTechPost

London-based Memgraph raises over €8 million in seed funding to provide Streaming Graph Algorithms to the masses
5 October 2021, EU-Startups

Graph Database Market to grow at a CAGR of 19.9% from 2022 to 2027|Increased demand for low-latency queries is a major trend _ Technavio
7 August 2023, PR Newswire

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

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

RaimaDB logo

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

Present your product here