DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. NCache vs. PostgreSQL vs. RocksDB

System Properties Comparison Cassandra vs. NCache vs. PostgreSQL vs. RocksDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonNCache  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRocksDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessOpen-Source and Enterprise in-memory Key-Value StoreWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLEmbeddable persistent key-value store optimized for fast storage (flash and RAM)
Primary database modelWide column storeKey-value storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Key-value store
Secondary database modelsVector DBMS infostarting with release V5Document store
Search engine infoUsing distributed Lucene
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
Score98.83
Rank#12  Overall
#1  Wide column stores
Score0.96
Rank#195  Overall
#29  Key-value stores
Score636.25
Rank#4  Overall
#4  Relational DBMS
Score3.41
Rank#86  Overall
#11  Key-value stores
Websitecassandra.apache.orgwww.alachisoft.com/­ncachewww.postgresql.orgrocksdb.org
Technical documentationcassandra.apache.org/­doc/­latestwww.alachisoft.com/­resources/­docswww.postgresql.org/­docsgithub.com/­facebook/­rocksdb/­wiki
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookAlachisoftPostgreSQL Global Development Group infowww.postgresql.org/­developerFacebook, Inc.
Initial release200820051989 info1989: Postgres, 1996: PostgreSQL2013
Current release4.1.3, July 20235.3.3, April 202416.3, May 20249.2.1, May 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoEnterprise Edition availableOpen Source infoBSDOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenononono
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.
  • 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.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageJavaC#, .NET, .NET Core, JavaCC++
Server operating systemsBSD
Linux
OS X
Windows
Linux
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyespartial infoSupported data types are Lists, Queues, Hashsets, Dictionary and Counteryesno
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.no
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesno
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)SQL-like query syntax and LINQ for searching the cache. Cache Synchronization with SQL Server using SQL dependency.yes infostandard with numerous extensionsno
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
IDistributedCache
JCache
LINQ
Proprietary native API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
C++ API
Java API
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
.Net
.Net Core
C#
Java
JavaScript (Node.js)
Python
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C++
Go
Java
Perl
Python
Ruby
Server-side scripts infoStored proceduresnono infosupport for stored procedures with SQL-Server CLRuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyes infoNotificationsyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"yespartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleyes, with selectable consistency levelSource-replica replication infoother methods possible by using 3rd party extensionsyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency
Immediate Consistency
Strong Eventual Consistency over WAN with Conflict Resolution using Bridge Topology
Immediate Consistency
Foreign keys infoReferential integritynonoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsoptimistic locking and pessimistic lockingACIDyes
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.noyesnoyes
User concepts infoAccess controlAccess rights for users can be defined per objectAuthentication to access the cache via Active Directory/LDAP (possible roles: user, administrator)fine grained access rights according to SQL-standardno
More information provided by the system vendor
CassandraNCachePostgreSQLRocksDB
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
NCache has been the market leader in .NET Distributed Caching since 2005 . NCache...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
NCache is 100% .NET/ .NET Core based which fully supports ASP.NET Core Sessions ,...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
NCache enables industries like retail, finance, banking IoT, travel, ecommerce, healthcare...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Bank of America, Citi, Natures Way, Charter Spectrum, Barclays, Henry Schein, GBM,...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
Market Leader in .NET Distributed Caching since 2005.
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
NCache Open Source is free on an as-is basis without any support. NCache Enterprise...
» more
News

An Introduction to David Jones-Gilardi, Developer Relations
11 June 2024

Introducing Tejas Kumar, Developer Relations Engineer
7 June 2024

Indexing All of Wikipedia on a Laptop
5 June 2024

An Introduction to Phil Nash, Developer Relations
3 June 2024

Focus on Creativity, Not Clusters: DataStax Mission Control in Action!
30 May 2024

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

Cassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more
Redgate webinars: A series of key topics for new PostgreSQL users.
» more

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

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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» 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

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more
Speedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

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

More resources
CassandraNCachePostgreSQLRocksDB
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

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

Cassandra is the “best f*cking database for gen AI,” says DataStax CEO
13 December 2023, VentureBeat

Here's What to Know About Apache Cassandra 5.0
15 April 2024, hackernoon.com

DataStax Enterprise 4.0 Gives in-Memory Option to Cassandra
31 May 2024, Data Center Knowledge

How Uber Optimized Cassandra Operations At Scale
20 July 2023, Uber

Microsoft extends life support for aging Apache Cassandra 3.11 database
10 October 2023, The Register

provided by Google News

How to use NCache in ASP.Net Core
25 February 2019, InfoWorld

Custom Response Caching Using NCache in ASP.NET Core
22 April 2020, InfoQ.com

provided by Google News

PostgreSQL is Now Faster than Pinecone, 75% Cheaper, with New Open Source Extensions
11 June 2024, PR Newswire

Timescale unveils high-performance AI vector database extensions for PostgreSQL
11 June 2024, SiliconANGLE News

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, Microsoft

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

provided by Google News

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Facebook's MyRocks Truly Rocks!
21 September 2020, Open Source For You

Power your Kafka Streams application with Amazon MSK and AWS Fargate | Amazon Web Services
10 August 2021, AWS Blog

provided by Google News



Share this page

Featured Products

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

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

Present your product here