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 > Google Cloud Spanner vs. H2 vs. IBM Db2 vs. Microsoft SQL Server

System Properties Comparison Google Cloud Spanner vs. H2 vs. IBM Db2 vs. Microsoft SQL Server

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonH2  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMicrosoft SQL Server  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxMicrosofts flagship relational DBMS
Primary database modelRelational DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS
Secondary database modelsSpatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#105  Overall
#53  Relational DBMS
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score127.49
Rank#8  Overall
#5  Relational DBMS
Score829.80
Rank#3  Overall
#3  Relational DBMS
Websitecloud.google.com/­spannerwww.h2database.comwww.ibm.com/­products/­db2www.microsoft.com/­en-us/­sql-server
Technical documentationcloud.google.com/­spanner/­docswww.h2database.com/­html/­main.htmlwww.ibm.com/­docs/­en/­db2learn.microsoft.com/­en-US/­sql/­sql-server
DeveloperGoogleThomas MuellerIBMMicrosoft
Initial release201720051983 infohost version1989
Current release2.2.220, July 202312.1, October 2016SQL Server 2022, November 2022
License infoCommercial or Open SourcecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree version is availablecommercial inforestricted free version is 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.
Implementation languageJavaC and C++C++
Server operating systemshostedAll OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Windows
Data schemeyesyesyesyes
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.nonoyes
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesyesyes
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
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
JavaC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsyesTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Java
Triggersnoyesyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingnoneSharding infoonly with Windows/Unix/Linux Versiontables can be distributed across several files (horizontal partitioning); sharding through federation
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 databaseyes infowith separate tools (MQ, InfoSphere)yes, but depending on the SQL-Server Edition
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 integrityyesyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes
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.noyesyes
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-standardfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

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 partiesNavicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» more

Navicat for SQL Server gives you a fully graphical approach to 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 SpannerH2IBM Db2 infoformerly named DB2 or IBM Database 2Microsoft SQL Server
DB-Engines blog posts

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

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

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Recent citations in the news

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

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

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

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

IBM and TechD partner to securely share data and power insights with gen AI
16 April 2024, IBM

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks and Files

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

IBM Solution to Optimize Data Management for AI applications
28 November 2023, Yahoo Finance

provided by Google News

Top 12 Data Migration Tools for 2024
18 April 2024, TechRepublic

Data Center Ransomware Attacks on Rise: Microsoft SQL Server is Prime Target
17 April 2024, CybersecurityNews

SQL Server Integration Services (SSIS) Change Data Capture Attunity feature deprecations
28 February 2024, Microsoft

Containerize SQL Server workloads with Amazon EKS and DH2i | Amazon Web Services
28 March 2024, AWS Blog

A tumultuous, titanic Patch Tuesday as Microsoft makes some changes
10 April 2024, Sophos

provided by Google News



Share this page

Featured Products

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.

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

SingleStore logo

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

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