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 TiDB 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 TiDB Ansible.
- Docker Deployment: This guide describes how to deploy TiDB using Docker.
- Binary Tarball Deployment: This guide describes how to deploy TiDB from a binary tarball in production. Guides for development and testing environments are also available.
The following list collects deployment guides and tutorials from the community. The content is subject to change by the contributors.
- How To Spin Up an HTAP Database in 5 Minutes with TiDB + TiSpark
- Developer install guide (single machine)
- TiDB Best Practices
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.