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 > KeyDB vs. PostgreSQL vs. SingleStore vs. TiDB

System Properties Comparison KeyDB vs. PostgreSQL vs. SingleStore vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameKeyDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSingleStore infoformer name was MemSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionAn ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table typeTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelKey-value storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMSRelational DBMS
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
Spatial DBMS
Time Series DBMS
Vector DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.70
Rank#229  Overall
#32  Key-value stores
Score636.25
Rank#4  Overall
#4  Relational DBMS
Score5.38
Rank#62  Overall
#35  Relational DBMS
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitegithub.com/­Snapchat/­KeyDB
keydb.dev
www.postgresql.orgwww.singlestore.compingcap.com
Technical documentationdocs.keydb.devwww.postgresql.org/­docsdocs.singlestore.comdocs.pingcap.com/­tidb/­stable
DeveloperEQ Alpha Technology Ltd.PostgreSQL Global Development Group infowww.postgresql.org/­developerSingleStore Inc.PingCAP, Inc.
Initial release20191989 info1989: Postgres, 1996: PostgreSQL20132016
Current release16.3, May 20248.5, January 20248.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoBSD-3Open Source infoBSDcommercial infofree developer edition availableOpen Source infoApache 2.0
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.
  • 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.
SingleStoreDB Cloud: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilitiesTiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC++CC++, GoGo, Rust
Server operating systemsLinuxFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux info64 bit version requiredLinux
Data schemeschema-freeyesyesyes
Typing infopredefined data types such as float or datepartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyesyesyes
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.nono
Secondary indexesyes infoby using the Redis Search moduleyesyesyes
SQL infoSupport of SQLnoyes infostandard with numerous extensionsyes infobut no triggers and foreign keysyes
APIs and other access methodsProprietary protocol infoRESP - REdis Serialization ProtocoADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Cluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Bash
C
C#
Java
JavaScript (Node.js)
Python
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresLuauser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.yesno
Triggersnoyesnono
Partitioning methods infoMethods for storing different data on different nodesShardingpartitioning by range, list and (since PostgreSQL 11) by hashSharding infohash partitioninghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsSource-replica replication infostores two copies of each physical data partition on two separate nodesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono infocan define user-defined aggregate functions for map-reduce-style calculationsyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Strong eventual consistency with CRDTs
Immediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataOptimistic locking, atomic execution of commands blocks and scriptsACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyesyes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyesno
User concepts infoAccess controlsimple password-based access control and ACLfine grained access rights according to SQL-standardFine grained access control via users, groups and rolesFine grained access rights according to SQL-standard
More information provided by the system vendor
KeyDBPostgreSQLSingleStore infoformer name was MemSQLTiDB
Specific characteristicsSingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesSingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosDriving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersIEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsCustomers in various industries worldwide including US and International Industry...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsF ree Tier and Enterprise Edition
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more

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 partiesAiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» 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

pgDash: In-Depth PostgreSQL Monitoring.
» 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

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

Redgate webinars: A series of key topics for new PostgreSQL users.
» 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
KeyDBPostgreSQLSingleStore infoformer name was MemSQLTiDB
DB-Engines blog posts

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

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Recent citations in the news

Oh, snap! Snap snaps up database developer KeyDB
12 May 2022, TechCrunch

Garnet–open-source faster cache-store speeds up applications, services
18 March 2024, Microsoft

Snap Acquires KeyDB for Open-Source Services
17 May 2022, XR Today

Dragonfly 1.0 Released For What Claims To Be The World's Fastest In-Memory Data Store
20 March 2023, Phoronix

Microsoft open-sources Garnet cache-store -- a Redis rival?
19 March 2024, The Stack

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

Building a Modern Database: Nikita Shamgunov on Postgres and Beyond
18 April 2024, Madrona Venture Group

SingleStore CEO sees little future for purpose-built vector databases
24 January 2024, VentureBeat

SingleStore Announces Real-time Data Platform to Further Accelerate AI, Analytics and Application Development
24 January 2024, businesswire.com

SingleStore adds indexed vector search to Pro Max release for faster AI work – Blocks and Files
29 January 2024, Blocks & Files

SingleStore, Snowflake Help Customers Build Enterprise-Ready Generative AI Apps
3 January 2024, Acceleration Economy

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

Navigating Modern Data Challenges: Ed Huang, CTO of PingCAP on the Future of Distributed SQL Databases
10 June 2024, DATAQUEST

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

Neo4j logo

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

Present your product here