DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. mSQL vs. PostgreSQL

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonmSQL infoMini SQL  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.mSQL (Mini SQL) is a simple and lightweight RDBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSRelational 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.78
Rank#104  Overall
#50  Relational DBMS
Score1.71
Rank#132  Overall
#65  Relational DBMS
Score542.29
Rank#4  Overall
#4  Relational DBMS
Websitecloud.google.com/­spannerwww.hughes.com.au/­products/­msqlwww.postgresql.org
Technical documentationcloud.google.com/­spanner/­docswww.postgresql.org/­docs/­manuals
DeveloperGoogleHughes TechnologiesPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201719941989 info1989: Postgres, 1996: PostgreSQL
Current release4.2, April 201913.0, September 2020
License infoCommercial or Open Sourcecommercialcommercial infofree licenses can be providedOpen Source infoBSD
Cloud-based only infoOnly available as a cloud serviceyesnono
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 languageCC
Server operating systemshostedAIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
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 infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011A subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersyes 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
JDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C++
Delphi
Java
Perl
PHP
Tcl
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnonouser 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 nodesShardingnonepartitioning 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.noneSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationnoACID
Concurrency infoSupport for concurrent manipulation of datayesnoyes
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.nonono
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)nofine 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 parties2ndQuadrant: Mission Critical Databases.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

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

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» 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

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

More resources
Google Cloud SpannermSQL infoMini SQLPostgreSQL
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

Using DAL For Migration From DynamoDB to Spanner and Bigtable
9 September 2020, hackernoon.com

Google, Gmail & Servers Down: 502 Error & Other Issues Reported
25 September 2020, heavy.com

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

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

Striim Offers New Data Migration Service for Google Cloud
17 September 2020, Database Trends and Applications

provided by Google News

Writing a Web Service in Perl
8 May 2020, PCQuest

TransWare Offers New Translation Tools and Services for ARIS® 7.x, 9.x Full translation to Microsoft Visio® 2010, 2013 and 2016 and Many Other Modeling Tools
12 October 2015, PR Web

PHP at 20: From pet project to powerhouse
11 June 2015, InfoWorld

Higher Education PS rules out ghost students before PAC – Zambia
29 November 2018, diggers.news

provided by Google News

2ndQuadrant Contributes Major Features to PostgreSQL 13
24 September 2020, PRNewswire

How Can PostgreSQL, The Most Advanced Open Source Relational Database, Benefit Your Company?
8 September 2020, DC Velocity

PostgreSQL 13 Released: Performance Gains, Space Savings, Enhanced Security, Developer Experience
24 September 2020, PR Web

Crunchy PostgreSQL for Kubernetes Now Available Through Red Hat Marketplace
8 September 2020, PRNewswire

PostgreSQL 13 Released With Performance Improvements
24 September 2020, Phoronix

provided by Google News

Job opportunities

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

SR. GCP Architect
eTek IT Service | Savvysol, Memphis, TN

SR. GCP Architect
360 Technology LLC, Memphis, TN

Senior GCP Architect | REMOTE JOB
iknowvate technologies, Memphis, TN

Cloud Engineer
CI and T, New York, NY

Journeyman Engineer
KBR, Lexington Park, MD

Senior Engineer
KBR, Lexington Park, MD

Apprentice DBA
XTIVIA, Remote

SR Level SQL DBA (Database Administrator)
XTIVIA, Remote

PostgreSQL Developer (Only W2)
Sage IT, Remote

Service Delivery Manager
Percona, Remote

GIS Technician I
Kaart Group, Seattle, WA

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.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

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

AllegroGraph logo

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

Neo4j logo

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

Present your product here