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

DBMS > Couchbase vs. Google Cloud Spanner vs. PostgreSQL

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCouchbase infoOriginally called Membase  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionA distributed document store with integrated cache, a powerful search engine, in-built operational and analytical capabilities, and an embedded mobile databaseA 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 storeRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsKey-value store infooriginating from the former Membase product and supporting the Memcached protocol
Spatial DBMS infousing the Geocouch extension
Search engine
Time Series DBMS
Vector DBMS
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
Score15.82
Rank#36  Overall
#5  Document stores
Score2.70
Rank#100  Overall
#51  Relational DBMS
Score654.34
Rank#4  Overall
#4  Relational DBMS
Websitewww.couchbase.comcloud.google.com/­spannerwww.postgresql.org
Technical documentationdocs.couchbase.comcloud.google.com/­spanner/­docswww.postgresql.org/­docs
DeveloperCouchbase, Inc.GooglePostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201120171989 info1989: Postgres, 1996: PostgreSQL
Current releaseServer: 7.2, June 2023; Mobile: 3.1, March 2022; Couchbase Capella (DBaaS), June 202316.4, August 2024
License infoCommercial or Open SourceOpen Source infoBusiness Source License (BSL 1.1); Commercial licenses also availablecommercialOpen 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++, Go and ErlangC
Server operating systemsLinux
OS X
Windows
hostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeyesyes
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.noyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes
SQL infoSupport of SQLSQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesyes infoQuery statements complying to ANSI 2011yes infostandard with numerous extensions
APIs and other access methodsCLI Client
HTTP REST
Kafka Connector
Native language bindings for CRUD, Query, Search and Analytics APIs
Spark Connector
Spring Data
gRPC (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
Go
Java
JavaScript infoNode.js
Kotlin
PHP
Python
Ruby
Scala
Go
Java
JavaScript (Node.js)
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresFunctions and timers in JavaScript and UDFs in Java, Python, SQL++nouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyes infovia the TAP protocolnoyes
Partitioning methods infoMethods for storing different data on different nodesAutomatic ShardingShardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication infoincluding cross data center replication
Source-replica replication
Multi-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 methodsyesyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infoselectable on a per-operation basis
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes 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.yes infoEphemeral bucketsnono
User concepts infoAccess controlUser and Administrator separation with password-based and LDAP integrated Authentication. Role-base access control.Access 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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more
pgDash: In-Depth PostgreSQL Monitoring.
» more

CYBERTEC is a premier consulting company that provides open-source database PostgreSQL management and data science solutions. By offering PostgreSQL migrations, administration, design, and more, CYBERTEC provides an all-in-one catalog of powerful PostgreSQL support. It's through this exceptional service, equipped with a team of experts, that the company has established a proven reputation. When it comes to Machine Learning, Artificial Intelligence, and Big Data, CYBERTEC offers services customized for you.
» more

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

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

More resources
Couchbase infoOriginally called MembaseGoogle Cloud SpannerPostgreSQL
DB-Engines blog posts

Couchbase climbs up the DB-Engines Ranking, increasing its popularity by 10% every month
2 June 2014, Matthias Gelbmann

show all

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

After Leaping 27% Couchbase, Inc. (NASDAQ:BASE) Shares Are Not Flying Under The Radar
20 October 2024, Simply Wall St

Couchbase’s stock crumbles on anticipation of significant growth slowdown
4 September 2024, SiliconANGLE News

Spotting Winners: Couchbase (NASDAQ:BASE) And Data Storage Stocks In Q2
14 October 2024, Yahoo Finance

Couchbase director Carol Carpenter sells $14,562 in stock
5 November 2024, Investing.com

Vanguard Group Inc's Strategic Acquisition of Couchbase Inc Shar
5 November 2024, GuruFocus.com

provided by Google News

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 Enhances Spanner with Dual-Region Configuration
1 August 2024, InfoQ.com

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

Google Cloud expands its database portfolio with new AI capabilities
1 August 2024, TechCrunch

provided by Google News

Amazon Aurora PostgreSQL Limitless Database is now generally available
31 October 2024, AWS Blog

Failing to connect Commento with PostgreSQL
1 October 2024, SitePoint

Timescale expands open source vector database capabilities for PostgreSQL
29 October 2024, VentureBeat

New Malware PG_MEM Targets PostgreSQL Databases for Crypto Mining
22 August 2024, The Hacker News

PostgreSQL tutorial: Get started with PostgreSQL 16
4 September 2024, InfoWorld

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.

SingleStore logo

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

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

Present your product here