DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. Hive vs. IBM Db2 vs. MarkLogic

System Properties Comparison Google Cloud Spanner vs. Hive vs. IBM Db2 vs. MarkLogic

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonHive  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMarkLogic  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.data warehouse software for querying and managing large distributed datasets, built on HadoopCommon in IBM host environments, 2 different versions for host and Windows/LinuxOperational and transactional Enterprise NoSQL database
Primary database modelRelational DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Native XML DBMS
RDF store infoas of version 7
Search engine
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score61.17
Rank#18  Overall
#12  Relational DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score5.92
Rank#58  Overall
#10  Document stores
#1  Native XML DBMS
#1  RDF stores
#6  Search engines
Websitecloud.google.com/­spannerhive.apache.orgwww.ibm.com/­products/­db2www.marklogic.com
Technical documentationcloud.google.com/­spanner/­docscwiki.apache.org/­confluence/­display/­Hive/­Homewww.ibm.com/­docs/­en/­db2docs.marklogic.com
DeveloperGoogleApache Software Foundation infoinitially developed by FacebookIBMMarkLogic Corp.
Initial release201720121983 infohost version2001
Current release3.1.3, April 202212.1, October 201611.0, December 2022
License infoCommercial or Open SourcecommercialOpen Source infoApache Version 2commercial 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
OS X
Windows
Data schemeyesyesyesschema-free infoSchema can be enforced
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.noyes
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011SQL-like DML and DDL statementsyesyes infoSQL92
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
Thrift
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Java API
Node.js Client API
ODBC
proprietary Optic API infoProprietary Query API, introduced with version 9
RESTful HTTP API
SPARQL
WebDAV
XDBC
XQuery
XSLT
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C++
Java
PHP
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C
C#
C++
Java
JavaScript (Node.js)
Perl
PHP
Python
Ruby
Server-side scripts infoStored proceduresnoyes infouser defined functions and integration of map-reduceyesyes infovia XQuery or JavaScript
Triggersnonoyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingShardingSharding infoonly with Windows/Unix/Linux VersionSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.selectable replication factoryes infowith separate tools (MQ, InfoSphere)yes
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowyes infoquery execution via MapReducenoyes infovia Hadoop Connector, HDFS Direct Access and in-database MapReduce jobs
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationnoACIDACID infocan act as a resource manager in an XA/JTA transaction
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.noyes, with Range Indexes
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users, groups and rolesfine grained access rights according to SQL-standardRole-based access control at the document and subdocument levels

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
Google Cloud SpannerHiveIBM Db2 infoformerly named DB2 or IBM Database 2MarkLogic
DB-Engines blog posts

Why is Hadoop not listed in the DB-Engines Ranking?
13 May 2013, 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

More AI Added to Google Cloud's Databases
28 February 2024, Datanami

provided by Google News

Apache Software Foundation Announces Apache® Hive 4.0
30 April 2024, GlobeNewswire

ASF Unveils the Next Evolution of Big Data Processing With the Launch of Hive 4.0
2 May 2024, Datanami

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

DataCentral: Uber's Observability and Chargeback Platform
1 February 2024, Uber

provided by Google News

Announcing Amazon RDS for Db2 with license through AWS Marketplace | Amazon Web Services
21 May 2024, AWS Blog

Simplify workload management and cloud provisioning with Amazon RDS for Db2’s consumption-based licensing
21 May 2024, IBM

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

Data migration strategies to Amazon RDS for Db2 | Amazon Web Services
15 May 2024, AWS Blog

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

provided by Google News

Progress (PRGS) Set to Buy MarkLogic, Guides Upbeat Q4 Results
16 May 2024, Yahoo Lifestyle Australia

MarkLogic “The NoSQL Database”. In the MarkLogic Query Console, you can… | by Abhay Srivastava | Apr, 2024
22 April 2024, Medium

Database Platform to Simplify Complex Data | Progress Marklogic
7 February 2023, Progress Software

ABN AMRO Moves Progress-Powered Credit Store App to Azure Cloud; Achieves 40% Faster Data Processing, Lower ...
12 March 2024, GlobeNewswire

AI can make logistics data as valuable as intelligence or operational data for mission success
17 April 2024, Breaking Defense

provided by Google News



Share this page

Featured Products

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

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

Neo4j logo

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

Present your product here