DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > 4D vs. PostgreSQL vs. TiDB

System Properties Comparison 4D vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
Name4D infoformer name: 4th Dimension  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionApplication development environment with integrated database management systemWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.42
Rank#107  Overall
#54  Relational DBMS
Score553.52
Rank#4  Overall
#4  Relational DBMS
Score1.91
Rank#118  Overall
#58  Relational DBMS
Websitewww.4d.comwww.postgresql.orgpingcap.com
Technical documentationlivedoc.4d.comwww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
Developer4D, IncPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release19841989 info1989: Postgres, 1996: PostgreSQL2016
Current releasev18 R5, January 202113.2 , February 20214.0.11 , February 2021
License infoCommercial or Open SourcecommercialOpen Source infoBSDOpen 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 systemsOS X
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
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.yesyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infoclose to SQL 92yes infostandard with numerous extensionsyes
APIs and other access methodsODBC
RESTful HTTP API infoby using 4D Mobile
SOAP webservices
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languages4D proprietary IDE
PHP
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
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 proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationSource-replica replication infoother methods possible by using 3rd party extensionsUsing 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 integrityyesyesno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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.nonono
User concepts infoAccess controlUsers and groupsfine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
4D infoformer name: 4th DimensionPostgreSQLTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

How I Enabled TiKV Coprocessor to Support ENUM and SET Calculations
9 April 2021

Using TiDB in Mission Critical Scenarios of the Financial Industry (Part I)
30 March 2021

TiDB Operator Source Code Reading (I): Overview
23 March 2021

Choosing a MySQL Alternative over Vitess and CRDB to Scale Out Our Databases on K8s
18 March 2021

TiDB Hackathon: Reducing Cross-AZ Data Transfer Costs by 89%
16 March 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 partiesClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» 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

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

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

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

More resources
4D infoformer name: 4th DimensionPostgreSQLTiDB
DB-Engines blog posts

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

show all

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

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

How PostgreSQL has popularized open source enterprise databases [Q&A]
7 April 2021, BetaNews

Crunchy Certified PostgreSQL 12 Achieves Common Criteria Evaluation Assurance Level (EAL) 2+ Certification
29 March 2021, PRNewswire

Swarm64 and EDB Partner to Extend EDB Postgres Advanced With Faster Query Performance
8 April 2021, Business Wire

Catalyst Cloud is wooing Oracle DB users with PostgreSQL offer
25 March 2021, Reseller News

Security best practices for PostgreSQL
22 March 2021, IT PRO

provided by Google News

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

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

PingCAP launches TiDB Cloud, a fully-managed database as a service offering - Help Net Security
25 June 2020, Help Net Security

PingCAP raises $270M to develop core technologies and advance global expansion of its offerings
18 November 2020, Help Net Security

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

provided by Google News

Job opportunities

Customer Relations Specialist
kapwing, San Francisco, CA

Rough Carpenter
4th Dimension Development, Ferndale, MI

Content Director (Organic Growth, SEO)
kapwing, San Francisco, CA

Senior Full-Stack Software Engineer
kapwing, San Francisco, CA

Software Engineer Intern
Vouch Insurance, Remote

Product Analyst
Game Insight, Remote

JUNIOR SOFTWARE ENGINEER
DEPARTMENT OF CITY PLANNING, Manhattan, NY

PostgreSQL DBA
Percona, Remote

Data Analyst
Upwork, Remote

E-learning Specialist
PingCAP, Remote

Platform Product Manager
Cash App, San Francisco, CA

Recruiter
PingCAP, San Mateo, CA

Instructor
PingCAP, Remote

Senior Database Engineer (Resilience)-Remote
PingCAP, Remote

jobs by Indeed




Share this page

Featured Products

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Datastax Astra logo

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

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

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

Present your product here