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. Realm vs. TiDB

System Properties Comparison PostgreSQL vs. Realm vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NamePostgreSQL  Xexclude from comparisonRealm  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core DataTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
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 storeRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score608.21
Rank#4  Overall
#4  Relational DBMS
Score9.80
Rank#48  Overall
#7  Document stores
Score3.20
Rank#97  Overall
#51  Relational DBMS
Websitewww.postgresql.orgrealm.iopingcap.com
Technical documentationwww.postgresql.org/­docsrealm.io/­docsdocs.pingcap.com/­tidb/­stable
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerRealm, acquired by MongoDB in May 2019PingCAP, Inc.
Initial release1989 info1989: Postgres, 1996: PostgreSQL20142016
Current release14.1, November 20215.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoBSDOpen SourceOpen 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.
ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageCGo, Rust
Server operating systemsFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Android
Backend: server-less
iOS
Windows
Linux
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
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 extensionsnoyes
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languages.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
.Net
Java infowith Android only
Objective-C
React Native
Swift
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.no inforuns within the applications so server-side scripts are unnecessaryno
Triggersyesyes infoChange Listenersno
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoIn-Memory realmno
User concepts infoAccess controlfine grained access rights according to SQL-standardyesUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
PostgreSQLRealmTiDB
Specific characteristicsNow a part of MongoDB Data Platform , Realm Database is the fast, easy to use, and...
» more
TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesRealm ensures offline-first functionality, meaning apps run smoothly and deliver...
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosMobile Consumer Apps First-Line Worker Apps
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersCathay Pacific Royal Carribbean Cruise Lines Open Source Database powers apps built...
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metricsUsed by 100,000+ developers 2 bn installs Currently used in 40k+ applications in...
» more
25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsRealm database is licensed under the Apache License v2.0.
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

Believe in the Multiplicative Power of Openness
30 November 2021

How to Connect TiDB Cloud to Metabase
24 November 2021

KubeCon 2021 Q&A: PingCAP Recaps the Event and Explores Its HTAP Database
16 November 2021

How to Troubleshoot RocksDB Write Stalls in TiKV
12 November 2021

PingCAP Introduces Its New Developer Tier to Boost Application Innovation with TiDB Cloud
9 November 2021

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

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» 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

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

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

More resources
PostgreSQLRealmTiDB
DB-Engines blog posts

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) 

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

show all

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

How to Build Your Backend with Hasura and PostgreSQL
30 November 2021, SitePoint

Postgres Build 2021 Conference to Feature Leading PostgreSQL Experts
18 November 2021, Business Wire

Flexible Server for Azure Database for PostgreSQL Now Commercially Available
1 December 2021, Redmondmag.com

Move Over To PostgreSQL With Babelfish and MangoDB
16 November 2021, iProgrammer

Meet dotConnect for PostgreSQL 7.22 with Support of the Latest PostgreSQL 14
17 November 2021, PR.com

provided by Google News

Realm Makes PostgreSQL Real-Time with New Connector
21 March 2017, Database Trends and Applications

MongoDB Extends Cloud Lineup With New Database Release, Search And Mobile Tools
12 June 2020, CRN: Technology news for channel partners and solution providers

MongoDB Cloud brings developers and edge together
10 June 2020, TechRadar

MongoDB Cloud Gives Developers An Escape From Data Silos With First-Ever Unified Cloud-To-Mobile Experience
9 June 2020, PRNewswire

provided by Google News

PingCAP Offers New Developer Tier for TiDB Cloud
30 November 2021, Database Trends and Applications

PingCAP Introduces its New Developer Tier to Boost Application Innovation with TiDB Cloud
9 November 2021, PRNewswire

SD Times Open-Source Project of the Week: TiDB
5 November 2021, SDTimes.com

PingCAP announces Public Preview of TiDB Cloud USA - English
10 May 2021, PRNewswire

PingCAP, the open-source developer behind TiDB, closes $270 million Series D
17 November 2020, TechCrunch

provided by Google News

Job opportunities

Linux Systems Administrator
Teramind, Remote

PostgreSQL Database Administrator
Clayton Homes, Greensboro, NC

Data Technician (Full- or Part-Time)
Thasos Group, New York, NY

Data Quality Analyst
Cleveland Cavaliers, Cleveland, OH

Database Administrator (PostgreSQL) | Remote or In-Office
Randall-Reilly, Tuscaloosa, AL

Software Engineer - iOS
Lyft, New York, NY

iOS Architecture Engineer
Lyft, San Francisco, CA

Inside Sales Representative
PingCAP, Remote

Global Customer Success Manager
PingCAP, Remote

Sales Account Executive- Remote
PingCAP, Remote

Technical Curriculum Manager
PingCAP, Remote

Presales Solution Engineering Manager
PingCAP, Remote

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Neo4j logo

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

AllegroGraph logo

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

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.

Present your product here