TiDB (“Ti” stands for Titanium) is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
TiDB can be deployed on-premise or in-cloud. The following deployment options are officially supported by PingCAP:
Ansible Deployment: This guide describes how to deploy TiDB using Ansible. It is strongly recommended for production deployment.
Ansible Offline Deployment: If your environment has no access to the internet, you can follow this guide to see how to deploy a TiDB cluster offline using Ansible.
Docker Deployment: This guide describes how to deploy TiDB using Docker.
You can use TiDB Operator to deploy TiDB on:
Or deploy TiDB locally using:
The following list collects deployment guides and tutorials from the community. The content is subject to change by the contributors.
Your contribution is also welcome! Feel free to open a pull request to add additional links.
Source code for all components of the TiDB platform is available on GitHub.