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

DBMS > mSQL vs. PostgreSQL vs. TiDB

System Properties Comparison mSQL vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NamemSQL infoMini SQL  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionmSQL (Mini SQL) is a simple and lightweight RDBMSWidely 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 storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.71
Rank#132  Overall
#65  Relational DBMS
Score542.29
Rank#4  Overall
#4  Relational DBMS
Score2.14
Rank#123  Overall
#60  Relational DBMS
Websitewww.hughes.com.au/­products/­msqlwww.postgresql.orgpingcap.com
Technical documentationwww.postgresql.org/­docs/­manualsdocs.pingcap.com/­tidb/­stable
DeveloperHughes TechnologiesPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release19941989 info1989: Postgres, 1996: PostgreSQL2016
Current release4.2, April 201912.4, August 20204.0, July 2020
License infoCommercial or Open Sourcecommercial infofree licenses can be providedOpen 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.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
Implementation languageCCGo, Rust
Server operating systemsAIX
HP-UX
Linux
OS X
Solaris SPARC/x86
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.noyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes
SQL infoSupport of SQLA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersyes infostandard with numerous extensionsyes
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languagesC
C++
Delphi
Java
Perl
PHP
Tcl
.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 proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnoyesno
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 nodesnoneSource-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 systemnoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID
Concurrency infoSupport for concurrent manipulation of datanoyesyes
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 controlnofine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
mSQL infoMini SQLPostgreSQLTiDB
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

Chaos Mesh 1.0: Chaos Engineering on Kubernetes Made Easier
25 September 2020

TiDB Operator: Your TiDB Operations Expert in Kubernetes
24 September 2020

How We Build an HTAP Database That Simplifies Your Data Platform
15 September 2020

Announcing HTAP support in TiDB Cloud
8 September 2020

How to Migrate Data from Amazon Aurora MySQL to TiDB Cloud
4 September 2020

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 partiesCYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
» more

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

2ndQuadrant: Mission Critical Databases.
» more

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

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

More resources
mSQL infoMini SQLPostgreSQLTiDB
DB-Engines blog posts

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

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Conferences and events

PostgreSQL Online Trainings
Online Training Courses, 4 May 2020 - 11 December 2020

Recent citations in the news

Writing a Web Service in Perl
8 May 2020, PCQuest

TransWare Offers New Translation Tools and Services for ARIS® 7.x, 9.x Full translation to Microsoft Visio® 2010, 2013 and 2016 and Many Other Modeling Tools
12 October 2015, PR Web

PHP at 20: From pet project to powerhouse
11 June 2015, InfoWorld

Higher Education PS rules out ghost students before PAC – Zambia
29 November 2018, diggers.news

provided by Google News

2ndQuadrant Contributes Major Features to PostgreSQL 13
24 September 2020, PRNewswire

PostgreSQL 13 Released: Performance Gains, Space Savings, Enhanced Security, Developer Experience
24 September 2020, PR Web

PostgreSQL 13 Released With Performance Improvements
24 September 2020, Phoronix

How Can PostgreSQL, The Most Advanced Open Source Relational Database, Benefit Your Company?
8 September 2020, DC Velocity

Crunchy PostgreSQL for Kubernetes Now Available Through Red Hat Marketplace
8 September 2020, PRNewswire

provided by Google News

Cloud Native Computing Foundation Announces TiKV Graduation
3 September 2020, EnterpriseTalk

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

TiKV graduates from the CNCF, enabling persistent storage for container applications
2 September 2020, SiliconANGLE

PingCAP launches TiDB Cloud, a fully-managed database as a service offering
25 June 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

Journeyman Engineer
KBR, Lexington Park, MD

Senior Engineer
KBR, Lexington Park, MD

Apprentice DBA
XTIVIA, Remote

PostgreSQL Developer (Only W2)
Sage IT, Remote

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

PowerBuilder Developer
Stellar Technology Solutions, LLC, Stroudsburg, PA

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

Technical Support Manager
PingCAP, San Mateo, CA

Site Reliability Engineer
PingCAP, San Mateo, CA

Senior Software Engineer (Developer Velocity), Cash App
Cash App, New York, NY

SSBN/SSGN Missile Technician
BAE Systems, Washington, DC

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.

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

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

Couchbase logo

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

Present your product here