How to manage and run TiDB using TiUP
TiUP Overview
TiUP Documentation Guide
Deploy a TiDB Cluster Using TiUP
Get a TiDB Cluster Up in Only One Minute
Quick Start Guide for the TiDB Database Platform
TiUP Common Operations
Deploy and Maintain an Online TiDB Cluster Using TiUP
Scale the TiDB Cluster Using TiUP
# Download and Install TiUP
curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
# Start TiDB with TiUP
tiup playground
tiup playground --pd 3 --db 3 --kv 4
tiup playground --pd 3 --db 3 --kv 4 --monitor
tiup playground v3.0.10
tiup --tag example-features playground v4.0.0-rc
tiup client # Connect a TiDB cluster in your local host
tiup client example-features
# Install, update, or uninstall a component
tiup install <component>, tiup update <component>, tiup uninstall <component>)
# Uninstall TiUP and clear all downloaded components and data generated by the component when it runs
tiup uninstall --self
# Display a list of components
tiup list
tiup list tidb
# Display the status of running components
tiup status
# Delete the temporary data that is generated when an application runs
tiup clean
# TPC-C performance benchmarking
tiup bench tpcc
# TPC-H performance benchmarking
tiup bench tpch
# start TiUP Client from Bash
tiup client
# help
help
# import files
\i 'some.sql'