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

DBMS > CockroachDB vs. Google Cloud Datastore vs. Google Cloud Firestore vs. PostgreSQL

System Properties Comparison CockroachDB vs. Google Cloud Datastore vs. Google Cloud Firestore vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonGoogle Cloud Datastore  Xexclude from comparisonGoogle Cloud Firestore  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Automatically scaling NoSQL Database as a Service (DBaaS) on the Google Cloud PlatformCloud Firestore is an auto-scaling document database for storing, syncing, and querying data for mobile and web apps. It offers seamless integration with other Firebase and Google Cloud Platform products.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSDocument storeDocument storeRelational 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
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score4.13
Rank#71  Overall
#12  Document stores
Score6.63
Rank#54  Overall
#9  Document stores
Score644.36
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comcloud.google.com/­datastorefirebase.google.com/­products/­firestorewww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docscloud.google.com/­datastore/­docsfirebase.google.com/­docs/­firestorewww.postgresql.org/­docs
DeveloperCockroach LabsGoogleGooglePostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2015200820171989 info1989: Postgres, 1996: PostgreSQL
Current release24.1.0, May 202416.4, August 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialcommercialOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenoyesyesno
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 languageGoC
Server operating systemsLinux
macOS
Windows
hostedhostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemedynamic schemaschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyes, details hereyesyes
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.nononoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query language (GQL)noyes infostandard with numerous extensions
APIs and other access methodsJDBCgRPC (using protocol buffers) API
RESTful HTTP/JSON API
Android
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Go
Java
JavaScript
JavaScript (Node.js)
Objective-C
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnousing Google App Engineyes, Firebase Rules & Cloud Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
TriggersnoCallbacks using the Google Apps Engineyes, with Cloud Functionsyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTShardingShardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication using PaxosMulti-source replicationSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud DataflowUsing Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual Consistency depending on type of query and configuration infoStrong Consistency is default for entity lookups and queries within an Entity Group (but can instead be made eventually consistent). Other queries are always eventual consistent.Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infovia ReferenceProperties or Ancestor pathsnoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infoSerializable Isolation within Transactions, Read Committed outside of TransactionsyesACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonono
User concepts infoAccess controlRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users, groups and roles based on Google Cloud Identity and Access Management. Security Rules for 3rd party authentication using Firebase Auth.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 partiesNavicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» 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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

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

More resources
CockroachDBGoogle Cloud DatastoreGoogle Cloud FirestorePostgreSQL
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

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

Conferences, events and webinars

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

Recent citations in the news

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

Cockroach Labs Shifts from Open Core to Single Enterprise Model
19 August 2024, Datanami

provided by Google News

Google Cloud vs AWS: Which Cloud Computing Platform is Better?
11 September 2024, Cloudwards

Google Gets Rid of Fees To Transfer Data Out of Cloud Platform
12 January 2024, Spiceworks News and Insights

Google App Engine
26 April 2024, TechTarget

What Is Google Cloud? Platform, Benefits & More Explained
11 September 2024, Cloudwards

17 Top Cloud Storage Companies to Know
9 April 2024, Built In

provided by Google News

Realtime vs Cloud Firestore: Which Firebase Database to Choose
8 March 2024, Appinventiv

Google's AI-First Strategy Brings Vector Support To Cloud Databases
1 March 2024, Forbes

Google launches Firebase Genkit, a new open source framework for building AI-powered apps
14 May 2024, TechCrunch

NoSQL on the Cloud With Python
7 August 2020, Towards Data Science

Google’s NoSQL database service Cloud Firestore now up for grabs
1 February 2019, Daily Host News

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



Share this page

Featured Products

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

SingleStore logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

RaimaDB logo

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

Present your product here