DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Google Cloud Spanner vs. H2 vs. OrientDB vs. Trino

System Properties Comparison Google Cloud Spanner vs. H2 vs. OrientDB vs. Trino

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonH2  Xexclude from comparisonOrientDB  Xexclude from comparisonTrino  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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Multi-model DBMS (Document, Graph, Key/Value)Fast distributed SQL query engine for big data analytics. Forked from Presto and originally named PrestoSQL
Primary database modelRelational DBMSRelational DBMSDocument store
Graph DBMS
Key-value store
Relational DBMS
Secondary database modelsSpatial DBMSDocument store
Key-value store
Spatial DBMS
Search engine
Time Series DBMS
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score7.57
Rank#47  Overall
#30  Relational DBMS
Score3.02
Rank#88  Overall
#16  Document stores
#6  Graph DBMS
#12  Key-value stores
Score5.28
Rank#61  Overall
#35  Relational DBMS
Websitecloud.google.com/­spannerwww.h2database.comorientdb.orgtrino.io
Technical documentationcloud.google.com/­spanner/­docswww.h2database.com/­html/­main.htmlwww.orientdb.com/­docs/­last/­index.htmltrino.io/­broadcast
trino.io/­docs/­current
DeveloperGoogleThomas MuellerOrientDB LTD; CallidusCloud; SAPTrino Software Foundation
Initial release2017200520102012 info2020 rebranded from PrestoSQL
Current release2.2.220, July 20233.2.29, March 2024
License infoCommercial or Open SourcecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoApache version 2Open Source infoApache Version 2.0
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.
Implementation languageJavaJavaJava
Server operating systemshostedAll OS with a Java VMAll OS with a Java JDK (>= JDK 6)Linux
macOS infofor devlopment
Data schemeyesyesschema-free infoSchema can be enforced for whole record ("schema-full") or for some fields only ("schema-hybrid")yes
Typing infopredefined data types such as float or dateyesyesyesyes
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 indexesyesyesyesdepending on connected data-source
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesSQL-like query language, no joinsyes
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
JDBC
ODBC
Tinkerpop technology stack with Blueprints, Gremlin, Pipes
Java API
RESTful HTTP/JSON API
JDBC
RESTful HTTP API
Trino CLI
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
Java.Net
C
C#
C++
Clojure
Java
JavaScript
JavaScript (Node.js)
PHP
Python
Ruby
Scala
Go
Java
JavaScript (Node.js)
Python
R
Ruby
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsJava, Javascriptyes, depending on connected data-source
TriggersnoyesHooksno
Partitioning methods infoMethods for storing different data on different nodesShardingnoneShardingdepending on connected data-source
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.With clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-source replicationdepending on connected data-source
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownono infocould be achieved with distributed queriesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistencydepending on connected data-source
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesyes inforelationship in graphsno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACIDdepending on connected data-source
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesyesdepending on connected data-source
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
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-standardAccess rights for users and roles; record level security configurableSQL standard access control
More information provided by the system vendor
Google Cloud SpannerH2OrientDBTrino
News

23 is a go, keeping pace with Java
17 September 2024

65: Performance boosts
12 September 2024

64: Control with Open Policy Agent OPA
22 August 2024

63: Querying with JS
1 August 2024

62: A lakehouse that simply works at Prezi
11 July 2024

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
Google Cloud SpannerH2OrientDBTrino
DB-Engines blog posts

Graph DBMS increased their popularity by 500% within the last 2 years
3 March 2015, Paul Andlinger

Graph DBMSs are gaining in popularity faster than any other database category
21 January 2014, 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

Top 8 Best NoSQL Databases in 2024
9 September 2024, AIM

Comparing Graph Databases II. Part 2: ArangoDB, OrientDB, and… | by Sam Bell
20 September 2019, Towards Data Science

OrientDB: A Flexible and Scalable Multi-Model NoSQL DBMS
21 January 2022, Open Source For You

The 12 Best Graph Databases to Consider for 2024
22 October 2023, Solutions Review

K2View updates DataOps platform with data fabric automation
11 May 2021, TechTarget

provided by Google News

The Perfect AI Storage: Trino From Facebook And Iceberg From Netflix?
30 April 2024, The Next Platform

A look at Presto, Trino SQL query engines
9 August 2022, TechTarget

Trino: The Open-source Data Query Engine That Split from Facebook
30 March 2022, hackernoon.com

Query big data with resilience using Trino in Amazon EMR with Amazon EC2 Spot Instances for less cost
4 October 2023, AWS Blog

Starburst accelerates Trino to ‘Warp Speed’ to accelerate data querying
8 February 2023, VentureBeat

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.

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

Milvus logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here