# Capacity Planning
| Component      | Purpose                 | Disk Space Requirement                                                                                                                                                                                                                                                      | Healthy Disk Usage |
| :------------- | :---------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------- |
| `PD`           | -                       | At least 20 GB for the data disk and for the log disk, respectively.                                                                                                                                                                                                        | Lower than 90%     |
| `TiKV`         | -                       | At least 100 GB for the data disk and for the log disk, respectively.                                                                                                                                                                                                       | Lower than 80%     |
| `TiUP`         | Control machine         | No more than 1 GB space is required for deploying a TiDB cluster of a single version. The space required increases if TiDB clusters of multiple versions are deployed.                                                                                                      | `N/A`              |
| `TiUP`         | Deplpoyement servers    | TiFlash occupies about 700 MB space and other components (such as PD, TiDB, and TiKV) occupy about 200 MB space respectively. During the cluster deployment process, the TiUP cluster requires less than 1 MB of temporary space (/tmp directory) to store temporary files. | `N/A`              |
| `NgMonitoring` | `Conprof`               | `3 x 1 GB x` Number of components (each component occupies about 1 GB per day, 3 days in total) + 20 GB reserved space                                                                                                                                                      | `N/A`              |
| `NgMonitoring` | `Top SQL`               | 30 x 50 MB x Number of components (each component occupies about 50 MB per day, 30 days in total)                                                                                                                                                                           | `N/A`              |
| `NgMonitoring` | `Conprof` and `Top SQL` | Share the reserved space                                                                                                                                                                                                                                                    | `N/A`              |


------------------------------------------------------------

