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

DBMS > FoundationDB vs. Google Cloud Spanner vs. PostgreSQL

System Properties Comparison FoundationDB vs. Google Cloud Spanner vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFoundationDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonPostgreSQL  Xexclude from comparison
Created as commercial project in 2013, FoundationDB has been acquired by Apple in March 2015 and was withdrawn from the market. As a consequence, the product was removed from the DB-Engines ranking. In April 2018, Apple open-sourced FoundationDB and it therefore reappears in the ranking.
DescriptionOrdered key-value store. Core features are complimented by layers.A 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.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelDocument store infosupported via specific layer
Key-value store
Relational DBMS infosupported via specific SQL-layer
Relational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsDocument 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
Score0.96
Rank#189  Overall
#32  Document stores
#29  Key-value stores
#86  Relational DBMS
Score2.71
Rank#93  Overall
#50  Relational DBMS
Score663.42
Rank#4  Overall
#4  Relational DBMS
Websitegithub.com/­apple/­foundationdbcloud.google.com/­spannerwww.postgresql.org
Technical documentationapple.github.io/­foundationdbcloud.google.com/­spanner/­docswww.postgresql.org/­docs
DeveloperFoundationDBGooglePostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201320171989 info1989: Postgres, 1996: PostgreSQL
Current release6.2.28, November 202016.4, August 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0commercialOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenoyesno
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++C
Server operating systemsLinux
OS X
Windows
hostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-free infosome layers support schemasyesyes
Typing infopredefined data types such as float or dateno infosome layers support typingyesyes
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 infospecific XML-type available, but no XML query functionality.
Secondary indexesnoyesyes
SQL infoSupport of SQLsupported in specific SQL layer onlyyes infoQuery statements complying to ANSI 2011yes infostandard with numerous extensions
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
native C library
ODBC
streaming API for large objects
Supported programming languages.Net
C
C++
Go
Java
JavaScript infoNode.js
PHP
Python
Ruby
Swift
Go
Java
JavaScript (Node.js)
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresin SQL-layer onlynouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnonoyes
Partitioning methods infoMethods for storing different data on different nodesShardingShardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesyesMulti-source replication with 3 replicas for regional instances.Source-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemLinearizable consistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityin SQL-layer onlyyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infoStrict serializable isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nono
User concepts infoAccess controlnoAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)fine 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 parties
» more

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

More resources
FoundationDBGoogle Cloud SpannerPostgreSQL
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

Recent citations in the news

Apple Acquires Durable Database Company FoundationDB
24 March 2015, TechCrunch

FoundationDB Record Layer: A Multi-Tenant Structured Datastore
25 July 2020, Apple Machine Learning Research

FoundationDB team’s new venture, Antithesis, raises $47M to enhance software testing
13 February 2024, SiliconANGLE News

A Cautionary Open Source Tale, Apple Buys And Shutters FoundationDB
25 March 2015, Forbes

Apple Acquires FoundationDB
24 March 2015, blogs.wsj.com

provided by Google News

Google Cloud Introduces HDD Tier for Spanner Database, Cutting Cold Storage Costs by 80%
22 March 2025, InfoQ.com

Google Cloud Spanner gets dual-region configuration option
23 July 2024, InfoWorld

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

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

provided by Google News

Upgrade strategies for Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL 12
26 February 2025, AWS Blog

7 Reasons PostgreSQL is a Great Choice for AI Projects
19 March 2025, RTInsights

Critical PostgreSQL bug tied to zero-day attack on US Treasury
14 February 2025, The Register

PostgreSQL Vulnerability Exploited Alongside BeyondTrust Zero-Day in Targeted Attacks
14 February 2025, The Hacker News

Empowering AI Innovation With Data
19 March 2025, WIRED

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it 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.

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