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 > H2 vs. MySQL vs. SurrealDB vs. XTDB

System Properties Comparison H2 vs. MySQL vs. SurrealDB vs. XTDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMySQL  Xexclude from comparisonSurrealDB  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Widely used open source RDBMSA fully ACID transactional, developer-friendly, multi-model DBMSA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelRelational DBMSRelational DBMS infoKey/Value like access via memcached APIDocument store
Graph DBMS
Document store
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score1087.72
Rank#2  Overall
#2  Relational DBMS
Score0.91
Rank#204  Overall
#33  Document stores
#18  Graph DBMS
Score0.09
Rank#351  Overall
#47  Document stores
Websitewww.h2database.comwww.mysql.comsurrealdb.comgithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationwww.h2database.com/­html/­main.htmldev.mysql.com/­docsurrealdb.com/­docswww.xtdb.com/­docs
DeveloperThomas MuellerOracle infosince 2010, originally MySQL AB, then SunSurrealDB LtdJuxt Ltd.
Initial release2005199520222019
Current release2.2.220, July 20238.3.0, January 2024v1.1.1, January 20241.19, September 2021
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen SourceOpen Source infoMIT License
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageJavaC and C++RustClojure
Server operating systemsAll OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
Linux
macOS
Windows
All OS with a Java 8 (and higher) VM
Linux
Data schemeyesyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyesyes, extensible-data-notation format
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.noyesno
Secondary indexesyesyesyes
SQL infoSupport of SQLyesyes infowith proprietary extensionsSQL-like query languagelimited SQL, making use of Apache Calcite
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
ODBC
Proprietary native API
GraphQL
RESTful HTTP API
WebSocket
HTTP REST
JDBC
Supported programming languagesJavaAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Deno
Go
JavaScript (Node.js)
Rust
Clojure
Java
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined Functionsyes infoproprietary syntaxno
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricnone
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-source replication
Source-replica replication
yes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engineno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyesyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or rolesyes, 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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

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

More resources
H2MySQLSurrealDBXTDB infoformerly named Crux
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

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

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

Recent citations in the news

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, blogs.oracle.com

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

PostgreSQL or MySQL: What Should I Choose for My Full-Stack Project?
10 April 2024, hackernoon.com

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

Google advances with vector search in MySQL, leapfrogging Oracle in LLM support
4 March 2024, The Register

provided by Google News

Meet Tobie Morgan Hitchcock, CEO & Co-Founder Of SurrealDB
25 April 2024, TechRound

Cloud, privacy and AI: Trends defining the future of data and databases
27 September 2023, Sifted

Top 70+ startups in Database as a Service (DBaaS)
5 April 2024, Tracxn

SurrealDB raises $6M for its database-as-a-service offering
4 January 2023, TechCrunch

10 fast growing UK startups to watch in 2024 and beyond!
6 March 2024, EU-Startups

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.

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

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