DB-EnginesDo you need a hard real time database?English
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. PostgreSQL

System Properties Comparison Cassandra vs. PostgreSQL

Please select another system to include it in the comparison.

Our visitors often compare Cassandra and PostgreSQL with MongoDB, Amazon DynamoDB and Redis.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelWide column 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
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score114.40
Rank#11  Overall
#1  Wide column stores
Score615.87
Rank#4  Overall
#4  Relational DBMS
Websitecassandra.apache.orgwww.postgresql.org
Technical documentationcassandra.apache.org/­doc/­latestwww.postgresql.org/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20081989 info1989: Postgres, 1996: PostgreSQL
Current release4.0.4, May 202214.4, June 2022
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoBSD
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • Astra DB: Multi-cloud DBaaS built on Apache Cassandra.
  • Aiven for Apache Cassandra: Fully managed, open source NoSQL database specifically designed to be highly available, performant, and scalable.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
Implementation languageJavaC
Server operating systemsBSD
Linux
OS X
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeyes
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 indexesrestricted infoonly equality queries, not always the best performing solutionyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes infostandard with numerous extensions
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
.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.
Triggersyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"partitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integritynoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACID
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 can be defined per objectfine grained access rights according to SQL-standard
More information provided by the system vendor
CassandraPostgreSQL
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
News

Real-time Data Just Got a Lot Easier
30 June 2022

Astra Streaming – The Data Infrastructure for Building Real-time Capabilities
29 June 2022

Principles of Cloud Native Architecture
28 June 2022

How to Migrate a JMS Application to Apache Pulsar Using Starlight for JMS API
23 June 2022

5 Reasons Why Serverless is Better with a Serverless DBaaS
22 June 2022

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 partiesDataStax Cassandra: Zero touch operations, configuration and management with true autoscaling
» more

Instaclustr: Hosted & Managed Apache Cassandra as a Service
» more

Aiven for Apache Cassandra: A truly distributed database that can handle large volumes of writes.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
pgDash: In-Depth PostgreSQL Monitoring.
» more

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

The State of PostgreSQL 2022 survey is now open!
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

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

More resources
CassandraPostgreSQL
DB-Engines blog posts

Cassandra keeps climbing the ranks of the DB-Engines Ranking
3 May 2016, Matthias Gelbmann

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

show all

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

show all

Recent citations in the news

Apache Cassandra 4.1: Building the Database Your Kids Will Use
13 June 2022, thenewstack.io

How DataStax Cracked the Code on High-Scale Data Pipelines
29 June 2022, The Stack

How MongoDB's NoSQL database is encroaching on relational database turf
9 June 2022, InfoWorld

DataStax proves it’s still possible to raise nine-figures at higher valuation in 2022
15 June 2022, TechCrunch

DataStax extends Astra Streaming event data platform
29 June 2022, TechTarget

provided by Google News

How to Import and Export CSV Data in PostgreSQL - MUO
2 July 2022, MakeUseOf

How to Connect to a PostgreSQL Database Using Node.js - MUO
21 June 2022, MakeUseOf

Neon previews serverless PostgreSQL database service
17 June 2022, TechTarget

Using the PostgreSQL List Databases Command - MUO
19 June 2022, MakeUseOf

What is Azure Database for PostgreSQL Flexible Server?
24 June 2022, TechRepublic

provided by Google News

Job opportunities

Senior Database Administrator (Cassandra & Mysql)
EasyPost, Lehi, UT

Database Engineer - Cassandra
Rockstar Games New York & New England, Andover, MA

Senior Database Administrator (Cassandra & Mysql)
EasyPost, Remote

Cassandra Database Engineer (Relocation Available)
Visa, Austin, TX

Cassandra Database Administrator
IBM, Austin, TX

PostgreSQL DBA
Integration Developer Network LLC, Remote

Mid-Level Django + Python + PostgreSQL (Sweat Equity Remote Back End Job)
cue, Remote

PostgreSQL DBA
JPG Infotech LLC, Remote

PostgreSQL DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL DBA
BigR.io, Remote

jobs by Indeed



Share this page

Featured Products

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Neo4j logo

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

Redis logo

The world’s most loved real‑time data platform.
Try free

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here