TiDB is a next-generation, distributed relational database. TiDB can independently scale both computing and storage capacity simply by adding new nodes. This makes infrastructure capacity scaling easier and more flexible compared to traditional relational databases that only scale vertically.
TiDB’s advantages over MySQL:
- TiDB has a distributed architecture with flexible and elastic scalability
- TiDB automatically takes care of dynamic distribution, allowing you to easily scale your TiDB cluster horizontally with just a few clicks
- TiDB supports high availability with automatic failover, ensuring business continuity with auto-backups regardless of disk or machine failures
- TiDB is a Hybrid Transactional Analytical Processing (HTAP) database that handles both Online Transaction Processing (OLTP) and Online Analytical Processing (OLAP) workloads within one database
TiDB supports the MySQL protocol and dialect. You can replace MySQL with TiDB to power your applications without changing any code in most cases.