DB-EngineseXtremeDB reduces memory consumptionEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. PostgreSQL

System Properties Comparison Google Cloud Spanner vs. PostgreSQL

Please select another system to include it in the comparison.

Our visitors often compare Google Cloud Spanner and PostgreSQL with Amazon Aurora, Google BigQuery and Amazon DynamoDB.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonPostgreSQL  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.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational 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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.83
Rank#105  Overall
#52  Relational DBMS
Score542.40
Rank#4  Overall
#4  Relational DBMS
Websitecloud.google.com/­spannerwww.postgresql.org
Technical documentationcloud.google.com/­spanner/­docswww.postgresql.org/­docs/­manuals
DeveloperGooglePostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20171989 info1989: Postgres, 1996: PostgreSQL
Current release13.0, September 2020
License infoCommercial or Open SourcecommercialOpen Source infoBSD
Cloud-based only infoOnly available as a cloud serviceyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageC
Server operating systemshostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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 indexesyesyes
SQL infoSupport of SQLyes 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 languagesGo
Java
JavaScript (Node.js)
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnoyes
Partitioning methods infoMethods for storing different data on different nodesShardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-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 methodsyes infousing Google Cloud Dataflowno
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 integrityyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nono
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-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 partiesGeneral SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

2ndQuadrant: Mission Critical Databases.
» more

CYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
» more

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

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

More resources
Google Cloud SpannerPostgreSQL
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

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

show all

Conferences and events

PostgreSQL Online Trainings
Online Training Courses, 4 May 2020 - 11 December 2020

Recent citations in the news

Google Updates Cloud Spanner with New Features: Backup on Demand, Local Emulator, and More
1 May 2020, InfoQ.com

NewSQL databases: The bridge between SQL and NoSQL
12 October 2020, TechTarget

Google enhances Cloud Spanner and other databases
20 August 2020, TechTarget

Google lays out HarbourBridge to tempt PostgreSQL users onto Cloud Spanner • DEVCLASS
13 February 2020, DevClass

MariaDB adds distributed database capabilities to its SkySQL cloud service
20 October 2020, ZDNet

provided by Google News

The year of PostgreSQL is every year
5 October 2020, Reseller News

RDBMS Software Market SWOT Analysis, by Key Players: Microsoft, Oracle, PostgreSQL Global Development Group, SQLite, IBM, SolarWinds IT Operations Management, Cubrid, TmaxSoft, CA Technologies, ThinkSQL, FrontBase, MonetDB, VoltDB
26 October 2020, TechnoWeekly

PostgreSQL 13 advances popular open source database
1 October 2020, TechTarget

EDB Completes Acquisition of 2ndQuadrant; Becomes Largest Dedicated Provider of PostgreSQL Products and Solutions Worldwide
30 September 2020, Business Wire

Postgres Professional Makes Postgres Pro Enterprise Database 12
26 October 2020, AiThority

provided by Google News

Job opportunities

Product Marketing Manager, Databases, Google Cloud
Google, Sunnyvale, CA

Google Cloud Architect (Remote)/Google Cloud Engineer
CitiusTech, Remote

Architect - Public Cloud
Marriott International, Inc, Bethesda, MD

Software Development Engineer in Test (SDET) Strictly No C2C
HitoSystems, Alpharetta, GA

Big Data Engineer, GCP, Python, £600 per day, 3+ Month Contract, 100%
Norton Blake, Caledonia, WI

Data Technician (Full- or Part-Time)
Thasos Group, New York, NY

Product Analyst
Game Insight, Remote

PostgreSQL Developer
Cognizant Technology Solutions, Franklin, TN

PostgreSQL DBA II - Americas (remote)
Percona, Remote

Web Developer
The Nine, Tuscaloosa, AL

jobs by Indeed




Share this page

Featured Products

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

AllegroGraph logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Present your product here