lab_code: demo_013
title_en: Database Scalability Deep Dive - Mastering the Rebalance Speed
title_zh: 深入理解数据库扩容与缩容 - 控制重平衡速率
title_ja: データベーススケーラビリティ徹底解説：リバランス速度を制する技術
title_ko: 데이터베이스 확장성을 깊이 이해하십시오 - 재균형화 속도 제어
description_en: In this practice, participants will learn how to control the scaling rates of the TiKV cluster by adjusting the parameters of the PD component and the TiKV cluster itself. This will help in managing the impact of scaling operations on the load of the TiKV cluster.
description_zh: 在本实验中，参与者将学习通过 PD 组件和 TiKV 集群的参数分别控制扩容和缩容平衡的速率，以此来调整 TiKV 集群的扩容和缩容操作对于负载的影响。
description_ja: 本実験では、受講者が PD コンポーネントおよび TiKV クラスターのパラメータを通じて、スケールアウトおよびスケールインのバランス速度をそれぞれ制御する方法を学び、これにより TiKV クラスターのスケールアウトおよびスケールイン操作が負荷に与える影響を調整します。
description_ko: 이 실습에서는 PD 구성 요소와 TiKV 클러스터 자체의 매개 변수를 조정하여 TiKV 클러스터의 확장 및 축소 속도를 제어하는 방법을 배웁니다. 이를 통해 TiKV 클러스터의 확장 및 축소 작업이 부하에 미치는 영향을 조정할 수 있습니다.
splash_image_en: https://lab-static.pingcap.com/images/2025/7/28/f137128a5ce7041bc13334b05881f6120630b33f.png
splash_image_zh: https://lab-static.pingcap.com/images/2025/7/28/f137128a5ce7041bc13334b05881f6120630b33f.png
splash_image_ja: https://lab-static.pingcap.com/images/2025/7/28/f137128a5ce7041bc13334b05881f6120630b33f.png
splash_image_ko: https://lab-static.pingcap.com/images/2025/7/28/f137128a5ce7041bc13334b05881f6120630b33f.png
lab_level: Advanced
category_en:
  - Scalability
  - Configuration
category_zh:
  - 可扩展性
  - 配置
category_ja:
  - スケーラビリティ
  - 設定
category_ko:
  - 확장성
  - 설정
authors:
  - Dong Fei (CEG)
delivery_type: Self-Paced
tidb_environments:
  - TiDB Self-Managed
tidb_versions:
  - 7.5.4
  - 8.5.1
target_audience:
  - Architect
  - DBA
  - DevOps
regions:
  aws:
    - oregon
    - tokyo
    - singapore
    - frankfurt
credits: 5
credit_redeemable: true
employee_only: false
estimated_duration_minutes: 60

topology:
  - role: monitor
    node_count: 1
    web_ssh: true
    web_ssh_name: "TiUP Control Machine"
    ssh_user: ec2-user
  - role: pd
    node_count: 1
  - role: kv
    node_count: 4
  - role: db
    node_count: 2

requirements:
  - type: "CloudStack"

bootstrap:
  - name: "prepare monitor"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-monitor.sh

  - name: "prepare tidb cluster"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-tidb.sh

features:
  enable_content_explain: false
