Software Alternatives & Reviews

TiDB VS PostgreSQL

Compare TiDB VS PostgreSQL and see what are their differences

TiDB logo TiDB

A distributed NewSQL database compatible with MySQL protocol

PostgreSQL logo PostgreSQL

PostgreSQL is a powerful, open source object-relational database system.
  • TiDB Landing page
    Landing page //
    2023-09-26
  • PostgreSQL Landing page
    Landing page //
    2023-10-21

TiDB videos

Hands-On TiDB - Episode 1: A Brief Introduction to TiDB

More videos:

  • Review - TiDB Contributor 学习之路
  • Tutorial - TiDB Binlog Tutorial

PostgreSQL videos

Comparison of PostgreSQL and MongoDB

More videos:

  • Review - PostgreSQL Review
  • Review - MySQL vs PostgreSQL - Why you shouldn't use MySQL

Category Popularity

0-100% (relative to TiDB and PostgreSQL)
Databases
4 4%
96% 96
NoSQL Databases
5 5%
95% 95
Relational Databases
3 3%
97% 97
Key-Value Database
100 100%
0% 0

User comments

Share your experience with using TiDB and PostgreSQL. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare TiDB and PostgreSQL

TiDB Reviews

20+ MongoDB Alternatives You Should Know About
TiDB is another take on MySQL compatible sharding. This NewSQL engine is MySQL wire protocol compatible but underneath is a distributed database designed from the ground up.
Source: www.percona.com

PostgreSQL Reviews

Top 5 BigQuery Alternatives: A Challenge of Complexity
For over three decades, the open-source object-relational database system PostgreSQL has maintained its reputation as a top SQL server due to its features, performance, and reliability. (Heck, Redshift is even based on Postgres!) It's the go-to database solution for large corporations and organizations across a variety of industries from ecommerce to gaming to...
Source: blog.panoply.io
10 Best Database Management Software Of 2022 [+ Examples]
Applications Manager offers out-of-the-box health and performance monitoring for 20 popular databases including RDBMS, NoSQL, in-memory, distributed, and big data stores. It supports both commercial databases such as Oracle, Microsoft SQL, IBM DB2, and MongoDB as well as open source ones like MySQL and PostgreSQL.
Source: theqalead.com
ClickHouse vs TimescaleDB
Recently, TimescaleDB published a blog comparing ClickHouse & TimescaleDB using timescale/tsbs, a timeseries benchmarking framework. I have some experience with PostgreSQL and ClickHouse but never got the chance to play with TimescaleDB. Some of the claims about TimescaleDB made in their post are very bold, that made me even more curious. I thought it’d be a great...
9 Best MongoDB alternatives in 2019
PostgreSQL is a widely popular open source database management system. It provides support for both SQL for relational and JSON for non-relational queries.
Source: www.guru99.com
20+ MongoDB Alternatives You Should Know About
PostgreSQL is the darling of the open source database community. Especially if your concern is the license, PostgreSQL’s permissive licence is hard to beat. PostgreSQL has powerful JSON Support, and there are many successful stories of migrating from MongoDB to PostgreSQL
Source: www.percona.com

Social recommendations and mentions

PostgreSQL might be a bit more popular than TiDB. We know about 15 links to it since March 2021 and only 15 links to TiDB. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

TiDB mentions (15)

  • A MySQL compatible database engine written in pure Go
    Tidb has been around for a while, it is distributed, written in Go and Rust, and MySQL compatible. https://github.com/pingcap/tidb. - Source: Hacker News / 16 days ago
  • Ask HN: Who is hiring? (January 2023)
    PingCAP | https://www.pingcap.com | Database Engineer, Product Manager, Developer Advocate and more | Remote in California | Full-time We work on a MySQL compatible distributed database called TiDB https://github.com/pingcap/tidb/. - Source: Hacker News / over 1 year ago
  • Apache Pegasus – A a distributed key-value storage system
    Isn't TiDB built on top of TiKV?[0] [0]: https://github.com/pingcap/tidb. - Source: Hacker News / over 1 year ago
  • What is your experience with mixed workload (OLTP and OLAP) databases?
    OLTP usually comes with high throughput of transactions, which means usually write(e.g., IUD - insert, update, delete) to read (e.g., select) ratio is above 4 or 5 or even higher. There are some good benchmarks to test OLTP workload like TPC-C (https://www.tpc.org/tpcc/), and some benchmarks to test OLAP workload like TPC-H (https://www.tpc.org/tpch/). For mixed or hybrid OLTP and OLAP (it's called HTAP, see this... - Source: Hacker News / almost 2 years ago
  • NewDB: Fate of an Open Source Database
    I am very agree with some options of this blog. As the maintainer of the open source distributed database TiDB https://github.com/pingcap/tidb, we also face the same problem of choice. We have a community version, an enterprise version(of course, we must sell it to our customers to earn money) and also a cloud service named TiDB cloud. Seven years before, we started to build TiDB to solve MySQL sharding problem,... - Source: Hacker News / almost 2 years ago
View more

PostgreSQL mentions (15)

  • Perfect Elixir: Environment Setup
    I’m on MacOS and erlang.org, elixir-lang.org, and postgresql.org all suggest installation via Homebrew, which is a very popular package manager for MacOS. - Source: dev.to / about 1 month ago
  • Rust & MySQL: connect, execute SQL statements and stored procs using crate sqlx.
    According to the documentation, crate sqlx is implemented in Rust, and it's database agnostic: it supports PostgreSQL, MySQL, SQLite, and MSSQL. - Source: dev.to / 8 months ago
  • Really tired. Is PostgreSQL even runnable in Windows 10? pgAdmin4 stucks at Loading whatever I try.
    Solution is just downloading and installilng pgAdmin from official pgAdmin homepage version, not the one that is included in the postgresql.org package. Source: 10 months ago
  • Why SQL is right for Infrastructure Management
    SQL immediately stands out here because it was designed for making relational algebra, the other side of the Entity-Relationship model, accessible. There are likely more people who know SQL than any programming language (for IaC) or data format you could choose to represent your cloud infrastructure. Many non-programmers know it, as well, such as data scientists, business analysts, accountants, etc, and there is... - Source: dev.to / about 1 year ago
  • Ask HN: Hunting for a Framework
    Vapor[0] based on Swift. Advantage of this is that you don't have to evaluate multiple frameworks for Swift and suffer paralysis by analysis. All the Swift community is behind one framework. The next is Actix[1] based on Rust. There are many frameworks in Rust and most of them have not reached 1.0 And which framework will survive becomes a question. Other not so well-known is Wt[2] based on C++. This actually is... - Source: Hacker News / over 1 year ago
View more

What are some alternatives?

When comparing TiDB and PostgreSQL, you can also consider the following products

MongoDB - MongoDB (from "humongous") is a scalable, high-performance NoSQL database.

MySQL - The world's most popular open source database

Redis - Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.

Microsoft SQL - Microsoft SQL is a best in class relational database management software that facilitates the database server to provide you a primary function to store and retrieve data.

ClickHouse - ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real time.

SQLite - SQLite Home Page