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

DBMS > Google Cloud Spanner vs. IBM Db2 vs. OrigoDB vs. PostgreSQL vs. RocksDB

System Properties Comparison Google Cloud Spanner vs. IBM Db2 vs. OrigoDB vs. PostgreSQL vs. RocksDB

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonOrigoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRocksDB  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 fully ACID in-memory object graph databaseWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLEmbeddable persistent key-value store optimized for fast storage (flash and RAM)
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Object oriented DBMS
Relational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Key-value store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score123.05
Rank#9  Overall
#6  Relational DBMS
Score0.00
Rank#385  Overall
#54  Document stores
#21  Object oriented DBMS
Score644.36
Rank#4  Overall
#4  Relational DBMS
Score2.84
Rank#97  Overall
#16  Key-value stores
Websitecloud.google.com/­spannerwww.ibm.com/­products/­db2origodb.comwww.postgresql.orgrocksdb.org
Technical documentationcloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2origodb.com/­docswww.postgresql.org/­docsgithub.com/­facebook/­rocksdb/­wiki
DeveloperGoogleIBMRobert Friberg et alPostgreSQL Global Development Group infowww.postgresql.org/­developerFacebook, Inc.
Initial release20171983 infohost version2009 infounder the name LiveDB1989 info1989: Postgres, 1996: PostgreSQL2013
Current release12.1, October 201616.4, August 20249.4.0, June 2024
License infoCommercial or Open Sourcecommercialcommercial infofree version is availableOpen SourceOpen Source infoBSDOpen Source infoBSD
Cloud-based only infoOnly available as a cloud serviceyesnononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
Implementation languageC and C++C#CC++
Server operating systemshostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeyesyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesUser defined using .NET types and collectionsyesno
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.nono infocan be achieved using .NETyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesyesno
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesnoyes infostandard with numerous extensionsno
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
.NET Client API
HTTP API
LINQ
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
C++ API
Java API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.Net.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C++
Go
Java
Perl
Python
Ruby
Server-side scripts infoStored proceduresnoyesyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnoyesyes infoDomain Eventsyes
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning infoclient side managed; servers are not synchronizedpartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning
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 replicationSource-replica replication infoother methods possible by using 3rd party extensionsyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesdepending on modelyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACIDACIDyes
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyes infoWrite ahead logyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesnoyes
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 authorizationfine grained access rights according to SQL-standardno

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 for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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 2OrigoDBPostgreSQLRocksDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

Conferences, events and webinars

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

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

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

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

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, ibm.com

Using Oracle Cloud Infrastructure (OCI) GoldenGate with Db2 for z Database
31 May 2024, Oracle

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

provided by Google News

Migrate SQL Server databases to Babelfish for Aurora PostgreSQL using change tracking with a linked server
24 September 2024, AWS Blog

3 great new features in Postgres 17
26 September 2024, InfoWorld

Top 50+ Most Asked PostgreSQL Interview Questions 2024
18 September 2024, Simplilearn

Supabase raises $80m to expand PostgreSQL platform
25 September 2024, StartupNews.fyi

Intel Demonstrates Up To 48% Improvement For AVX-512 Optimized PostgreSQL
12 September 2024, Phoronix

provided by Google News

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Facebook’s MyRocks Truly Rocks!
21 September 2020, Open Source For You

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Power your Kafka Streams application with Amazon MSK and AWS Fargate
10 August 2021, AWS Blog

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.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

SingleStore logo

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

Present your product here