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

System Properties Comparison PostgreSQL vs. Tarantool vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NamePostgreSQL  Xexclude from comparisonTarantool  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLIn-memory computing platform with a flexible data schema for efficiently building high-performance applicationsTiDB 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 modelRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Document store
Key-value store
Relational DBMS
Relational DBMS
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Spatial DBMS infowith Tarantool/GIS extensionDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score620.75
Rank#4  Overall
#4  Relational DBMS
Score1.86
Rank#162  Overall
#26  Document stores
#28  Key-value stores
#76  Relational DBMS
Score3.46
Rank#101  Overall
#50  Relational DBMS
Websitewww.postgresql.orgwww.tarantool.iopingcap.com
Technical documentationwww.postgresql.org/­docswww.tarantool.io/­en/­docdocs.pingcap.com/­tidb/­stable
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerVKPingCAP, Inc.
Initial release1989 info1989: Postgres, 1996: PostgreSQL20082016
Current release16.0, September 20232.10.0, May 20227.3.0, August 2023
License infoCommercial or Open SourceOpen Source infoBSDOpen Source infoBSD-2, source-available extensions (modules), commercial licenses for Tarantool EnterpriseOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageCC and C++Go, Rust
Server operating systemsFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
BSD
Linux
macOS
Linux
Data schemeyesFlexible data schema: relational definition for tables with ability to store json-like documents in columnsyes
Typing infopredefined data types such as float or dateyesstring, double, decimal, uuid, integer, blob, boolean, datetimeyes
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.yes infospecific XML-type available, but no XML query functionality.nono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infostandard with numerous extensionsFull-featured ANSI SQL supportyes
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Open binary protocolGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C#
C++
Erlang
Go
Java
JavaScript
Lua
Perl
PHP
Python
Rust
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 proceduresuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Lua, C and SQL stored proceduresno
Triggersyesyes, before/after data modification events, on replication events, client session eventsno
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashSharding, partitioned with virtual buckets by user defined affinity key. Live resharding for scale up and scale down without maintenance downtime.horizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsAsynchronous replication with multi-master option
Configurable replication topology (full-mesh, chain, star)
Synchronous quorum replication (with Raft)
Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyCasual consistency across sharding partitions
Eventual consistency within replicaset partition infowhen using asyncronous replication
Immediate Consistency within single instance
Sequential consistency including linearizable read within replicaset partition infowhen using Raft
Immediate Consistency
Foreign keys infoReferential integrityyesyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID, with serializable isolation and linearizable read (within partition); Configurable MVCC (within partition); No cross-shard distributed transactionsACID
Concurrency infoSupport for concurrent manipulation of datayesyes, cooperative multitaskingyes
Durability infoSupport for making data persistentyesyes, write ahead loggingyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes, full featured in-memory storage engine with persistenceno
User concepts infoAccess controlfine grained access rights according to SQL-standardAccess Control Lists
Mutual TLS authentication for Tarantol Enterprise
Password based authentication
Role-based access control (RBAC) and LDAP for Tarantol Enterprise
Users and Roles
Fine grained access rights according to SQL-standard
More information provided by the system vendor
PostgreSQLTarantoolTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Capcom, Shopee (E-commerce), JD Cloud & AI (Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB 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 partiespgDash: In-Depth PostgreSQL Monitoring.
» 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

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

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

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

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

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

More resources
PostgreSQLTarantoolTiDB
DB-Engines blog posts

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

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

show all

Data processing speed and reliability: in-memory synchronous replication
9 November 2021,  Vladimir Perepelytsya, Tarantool (sponsor) 

show all

Conferences and events

PostgreSQL 101: An introduction to Multi-Version Concurrency Control and Vacuum
Webinar with Q&A, 11am CT / 5pm BST, 24 October 2023

Recent citations in the news

High Performance Functions in Rust on RDS PostgreSQL
25 September 2023, InfoQ.com

Timescale Strengthens and Accelerates AI Development with ...
29 September 2023, Database Trends and Applications

4 key new features in PostgreSQL 16
14 September 2023, InfoWorld

Understanding the Fundamentals of PostgreSQL® Architecture
25 September 2023, Datanami

PostgreSQL 16 Expands Analytics Capabilities
22 September 2023, The New Stack

provided by Google News

Tarantool: A Lua-based database engine
13 April 2016, opensource.com

Подведены итоги VIII форума "Управление данными — 2023"
25 September 2023, Интерфакс

Как обработать 1 млн операций за одну секунду: история софта ...
27 April 2023, VC.ru

VK повысила производительность и стабильность Tarantool
30 May 2023, ServerNews

«На что я потратил стипендию VK»: саморазвитие, ремонт в ...
15 September 2023, VC.ru

provided by Google News

10 Lesser-Known Databases. Discover Hidden Gems | by Abnoan ...
28 September 2023, DataDrivenInvestor

PingCAP Achieves AWS Data and Analytics Competency Status ...
12 September 2023, GlobeNewswire

PingCAP Unveils TiDB 7.1, the Latest Advancement In Open Source ...
5 June 2023, GlobeNewswire

PingCAP Launches TiDB Serverless, a Cutting-Edge Solution to ...
5 July 2023, GlobeNewswire

PingCAP APAC launches TiDB Serverless, a fully-managed ...
31 July 2023, PR Newswire

provided by Google News

Job opportunities

Junior Backend Developer
Actum Lab, Austin, TX

Software Development Engineer
Adobe, Lehi, UT

Software Development Engineer I (Remote - Within the Wilbur Ellis Geographical Footprint)
Wilbur-Ellis Company LLC, Portland, OR

Software Development Engineer I (Remote - Within the Wilbur Ellis Geographical Footprint)
Wilbur-Ellis Company, Tukwila, WA

Database Analyst- 20 hours/wk.- Remote
Ellumen, Silver Spring, MD

Senior Product Manager
Wallarm, Remote

Technical Support Engineer
Wallarm, Remote

Senior C Developer
Wallarm, Remote

Senior Python Developer
Wallarm, Remote

Senior / Middle Ruby Developer
Wallarm, Remote

Engineering Technician
BAE Systems, Cape Canaveral, FL

Software Engineer Graduate (Database Team) - 2024 Start (BS/MS)
ByteDance, San Jose, CA

Principal Engineer Analytics - Capacity & Workload Management - (REMOTE)
GEICO, Chevy Chase, MD

Principal Software Development Engineer (REMOTE)
GEICO, Chevy Chase, MD

Data Transmission Service Engineer
ByteDance, San Jose, CA

jobs by Indeed



Share this page

Featured Products

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

The world’s most loved real‑time data platform.
Try 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