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. IBM Db2 vs. Milvus vs. Oracle Berkeley DB

System Properties Comparison Google Cloud Spanner vs. IBM Db2 vs. Milvus vs. Oracle Berkeley DB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMilvus  Xexclude from comparisonOracle Berkeley DB  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxA DBMS designed for efficient storage of vector data and vector similarity searchesWidely used in-process key-value store
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBVector DBMSKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
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.84
Rank#100  Overall
#51  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Score2.78
Rank#103  Overall
#3  Vector DBMS
Score2.01
Rank#126  Overall
#21  Key-value stores
#3  Native XML DBMS
Websitecloud.google.com/­spannerwww.ibm.com/­products/­db2milvus.iowww.oracle.com/­database/­technologies/­related/­berkeleydb.html
Technical documentationcloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2milvus.io/­docs/­overview.mddocs.oracle.com/­cd/­E17076_05/­html/­index.html
DeveloperGoogleIBMOracle infooriginally developed by Sleepycat, which was acquired by Oracle
Initial release20171983 infohost version20191994
Current release12.1, October 20162.3.4, January 202418.1.40, May 2020
License infoCommercial or Open Sourcecommercialcommercial infofree version is availableOpen Source infoApache Version 2.0Open Source infocommercial license 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.
Zilliz Cloud – Cloud-native service for Milvus
Implementation languageC and C++C++, GoC, Java, C++ (depending on the Berkeley DB edition)
Server operating systemshostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
macOS info10.14 or later
Windows infowith WSL 2 enabled
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Data schemeyesyesschema-free
Typing infopredefined data types such as float or dateyesyesVector, Numeric and Stringno
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 infoonly with the Berkeley DB XML edition
Secondary indexesyesyesnoyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesnoyes infoSQL interfaced based on SQLite is available
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
JSON style queries infoMongoDB compatible
ODBC
XQuery
RESTful HTTP API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C++
Go
Java
JavaScript (Node.js)
Python
.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
Python
Tcl
Server-side scripts infoStored proceduresnoyesnono
Triggersnoyesnoyes infoonly for the SQL API
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoonly with Windows/Unix/Linux VersionShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.yes infowith separate tools (MQ, InfoSphere)Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyBounded Staleness
Eventual Consistency
Immediate Consistency
Session Consistency
Tunable Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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-standardRole based access control and fine grained access rightsno
More information provided by the system vendor
Google Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2MilvusOracle Berkeley DB
Specific characteristicsMilvus is an open-source and cloud-native vector database built for production-ready...
» more
Competitive advantagesHighly available, versatile, and robust with millisecond latency. Supports batch...
» more
Typical application scenariosRAG: retrieval augmented generation Video media : video understanding, video deduplication....
» more
Key customersMilvus is trusted by thousands of enterprises, including PayPal, eBay, IKEA, LINE,...
» more
Market metricsAs of January 2024, 25k+ GitHub stars 10M+ downloads and installations​ ​ 3k+ enterprise...
» more
Licensing and pricing modelsMilvus was released under the open-source Apache License 2.0 in October 2019. Fully-managed...
» 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

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

More resources
Google Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2MilvusOracle Berkeley DB
DB-Engines blog posts

Vector databases
2 June 2023, Matthias Gelbmann

show all

Recent citations in the news

Google's Cloud Spanner Now Spans Continents … Like It's Supposed to Do
31 May 2024, Data Center Knowledge

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

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

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

Google Cloud just fired a major volley at AWS as the cloud wars heat up
12 October 2023, TechRadar

provided by Google News

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

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

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

12 Most Popular Databases in 2024
6 June 2024, MarkTechPost

provided by Google News

How NVIDIA GPU Acceleration Supercharged Milvus Vector Database
26 March 2024, The New Stack

AI-Powered Search Engine With Milvus Vector Database on Vultr
31 January 2024, SitePoint

Milvus 2.4 Unveils Game-Changing Features for Enhanced Vector Search
20 March 2024, GlobeNewswire

Zilliz Unveils Game-Changing Features for Vector Search
22 March 2024, Datanami

IBM watsonx.data’s integrated vector database: unify, prepare, and deliver your data for AI
9 April 2024, ibm.com

provided by Google News

Margo Seltzer Named ACM Athena Lecturer for Technical and Mentoring Contributions
26 April 2023, Datanami

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

Oracle buys Sleepycat Software
14 February 2006, MarketWatch

Database Trends Report: SQL Beats NoSQL, MySQL Most Popular -- ADTmag
5 March 2019, ADT Magazine

Margo I. Seltzer | Berkman Klein Center
18 August 2020, Berkman Klein Center

provided by Google News



Share this page

Featured Products

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

Milvus logo

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

Present your product here