DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Microsoft SQL Server vs. mSQL vs. PostgreSQL vs. SAP HANA vs. TiDB

System Properties Comparison Microsoft SQL Server vs. mSQL vs. PostgreSQL vs. SAP HANA vs. TiDB

Editorial information provided by DB-Engines
NameMicrosoft SQL Server  Xexclude from comparisonmSQL infoMini SQL  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSAP HANA  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionMicrosofts flagship relational DBMSmSQL (Mini SQL) is a simple and lightweight RDBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLIn-memory, column based data store. Available as appliance or cloud serviceTiDB 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 DBMSRelational DBMSRelational 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
Spatial DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
Graph DBMS infowith SAP Hana, Enterprise Edition
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score845.81
Rank#3  Overall
#3  Relational DBMS
Score1.41
Rank#170  Overall
#78  Relational DBMS
Score634.91
Rank#4  Overall
#4  Relational DBMS
Score45.49
Rank#22  Overall
#16  Relational DBMS
Score5.14
Rank#75  Overall
#41  Relational DBMS
Websitewww.microsoft.com/­en-us/­sql-serverhughestech.com.au/­products/­msqlwww.postgresql.orgwww.sap.com/­products/­hana.htmlpingcap.com
Technical documentationlearn.microsoft.com/­en-US/­sql/­sql-serverwww.postgresql.org/­docshelp.sap.com/­hanadocs.pingcap.com/­tidb/­stable
DeveloperMicrosoftHughes TechnologiesPostgreSQL Global Development Group infowww.postgresql.org/­developerSAPPingCAP, Inc.
Initial release198919941989 info1989: Postgres, 1996: PostgreSQL20102016
Current releaseSQL Server 2022, November 20224.4, October 202116.2, February 20242.0 SPS07 (April 4, 2023), April 20237.6.0, January 2024
License infoCommercial or Open Sourcecommercial inforestricted free version is availablecommercial infofree licenses can be providedOpen Source infoBSDcommercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononono infoalso available as a cloud based serviceno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC++CCGo, Rust
Server operating systemsLinux
Windows
AIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Appliance or cloud-serviceLinux
Data schemeyesyesyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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.yesnoyes infospecific XML-type available, but no XML query functionality.nono
Secondary indexesyesyesyesyesyes
SQL infoSupport of SQLyesA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersyes infostandard with numerous extensionsyesyes
APIs and other access methodsADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
JDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
C
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 proceduresTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Javanouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.SQLScript, Rno
Triggersyesnoyesyesno
Partitioning methods infoMethods for storing different data on different nodestables can be distributed across several files (horizontal partitioning); sharding through federationnonepartitioning by range, list and (since PostgreSQL 11) by hashyeshorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes, but depending on the SQL-Server EditionnoneSource-replica replication infoother methods possible by using 3rd party extensionsyesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesnoyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnonoyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardnofine grained access rights according to SQL-standardyesFine grained access rights according to SQL-standard
More information provided by the system vendor
Microsoft SQL ServermSQL infoMini SQLPostgreSQLSAP HANATiDB
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, Flipkart, Capcom, Shopee (E-commerce), JD 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 partiesNavicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» more

Navicat for SQL Server gives you a fully graphical approach to database management and development.
» 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

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

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

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

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more
CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
Microsoft SQL ServermSQL infoMini SQLPostgreSQLSAP HANATiDB
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

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

show all

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

Recent citations in the news

SQL Server 2014 end of support: Keep your customers secure
28 March 2024, microsoft.com

Fortinet FortiClient EMS SQL injection flaw exploited in the wild
26 March 2024, SC Media

Configure Kerberos authentication in Linux clients for Amazon RDS for SQL Server with AWS Managed Microsoft AD ...
13 March 2024, AWS Blog

Creating and Managing Databases Using Microsoft SQL Server
8 December 2023, New York Institute of Technology

Microsoft confirms memory leak in March Windows Server security update
25 March 2024, The Register

provided by Google News

Make Your MySQL Server More Secure With These 7 Steps - MUO
1 December 2022, MakeUseOf

Writing a Web Service in Perl
9 July 2003, PCQuest

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

provided by Google News

The surprising link between Formula One and enterprise PostgreSQL optimisation
28 March 2024, The Stack

How to Migrate AWS PostgreSQL RDS to Aurora Using Terraform
28 March 2024, Security Boulevard

PostgreSQL pioneer's latest brainchild promises time travel to dodge ransomware
28 March 2024, The Register

Relational Data at the Edge: How Cloudflare Operates Distributed PostgreSQL Clusters
21 March 2024, InfoQ.com

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, azure.microsoft.com

provided by Google News

Protera Deepens SAP Expertise with Managecore Acquisition
27 March 2024, Yahoo Finance

Unleashing the Latest SAP Data and Analytics Innovations
6 March 2024, SAP News

Automating the update process of a clustered SAP HANA DB using nZDT and Ansible | Amazon Web Services
16 November 2023, AWS Blog

SAP: Datasphere More than a Data Cloud
21 March 2024, Acceleration Economy

A path to a Modern SAP Analytics running on HANA Platform
21 March 2024, Deloitte

provided by Google News

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

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

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

PingCAP Showcases Marquee Solution TiDB and Leads Industry Conversations on Open-Source Innovation at FinTech Festival India 2024
15 March 2024, Business Standard

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

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Neo4j logo

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

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

Present your product here